nextcloud / nextcloud/calendar
Attendees: focus search field after adding autocomplete item
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 332
- Avg merge
- 16h 13m
- Merged PRs (30d)
- 137
Description
Is your feature request related to a problem? Please describe.
The attendees tab in the event sidebar has a field to "Search for e-mails, users, contacts, resources or rooms". When typing a search term, it shows an autocomplete list with items that can be selected using arrow keys and confirmed using return.
After confirming/adding an item (e.g. a user), the search field loses it focus. This requires me to manually refocus the search field again with the mouse. This is tedious, especially for events with several attendees.
Describe the solution you'd like
After an attendee is selected from the autocomplete list, the search field should be focussed again.
Describe alternatives you've considered
(None.)
Additional context
(None.)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the event sidebar's attendees tab and trace the search field and autocomplete selection flow. Reproduce selecting an item with the arrow keys and Return, then verify that the search field remains focused after the attendee is added and that repeated selections work without mouse refocusing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100