Add a shared search field, combobox and file input closes #625 #628
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
high priority
invalid
L
low priority
M
medium priority
needs refinement
optional
question
S
security
technical improvement
UX Improvement
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
local-it/mitgliederverwaltung!628
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue/mitgliederverwaltung-625"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
closes #625
Description of the implemented changes
The changes were:
Search field, combobox and file input: the members overview searches through a shared search field that clears with one button or Escape, the group member picker, the user's member link and the filter field picker use one keyboard-driven combobox that sends no server round trip per key, the join form's Add field menu becomes a keyboard menu button, and the CSV import uses a shared file input that names the chosen file in its errors.
What has been changed?
Definition of Done
Code Quality
Accessibility
Testing
Additional Notes
Part of #188 (U7).
Larger commits: the search field, the combobox component, the group member picker, the user member link (both commits), the filter field picker, the Add field menu and the file input with the CSV import touch more than 5 files or 150 lines each.
Linking a member on an existing user now takes effect at once through "Link" and "Unlink" beside the field, without saving the form; a new user is linked when it is created. The server accepts a picked member only if it was listed for the sent query.
The combobox and the Add field menu follow the WAI-ARIA APG combobox and menu button patterns; their keyboard behavior runs in colocated hooks and was checked in Firefox and Chromium, as LiveViewTest runs no JavaScript.
The filter field picker no longer listens for keys on the whole page; the old ComboBox hook, the search bar component and the member dropdown navigation are removed.