INL / corpus-frontend

BlackLab Frontend, a feature-rich corpus search interface for BlackLab.
16 stars 7 forks source link

Grouping interface: error indicator when clicking apply #503

Open jan-niestadt opened 2 months ago

jan-niestadt commented 2 months ago

In the new grouping interface, if you click "apply" but you haven't e.g. selected an annotation, nothing happens, and it's not immediately clear why. Users might think the feature is broken and give up.

Instead, it would be nice if an error message appeared that describes the problem ("Please select an annotation.") and the focus is set to the applicable field.