nextcloud / nextcloud/calendar

Attendees: focus search field after adding autocomplete item

Open
#3,165 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. to triage enhancement Feature: Editor
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.