[Feature request] Disable capture of Ctrl+F keyboard shortcut

Aperta Adatta ai principianti
#3,240 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
70/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Tranquilla
Stack tecnologico
javascript
Ambito
frontend

Direzione di ricerca

Inizia individuando il gestore della scorciatoia da tastiera per Ctrl-F nella Tasks view e il codice che apre Nextcloud Search. Riproduci la scorciatoia nella Tasks view, quindi verifica che Ctrl-F richiami invece la funzione Find in page del browser; se viene mantenuta una scorciatoia di ricerca alternativa, verifica che continui ad aprire Nextcloud Search. Il lavoro è completato quando Ctrl-F non viene più intercettato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement
Is your feature request related to a problem? Please describe.

In Tasks view, I often want to search for a term in the task titles.

Normally, I would press Ctrl-F, which is the Find in page keyboard shortcut in most browsers. Then I would enter the search term and press Enter. This is a familiar, efficient workflow that accords with habit and muscle memory.

Nextcloud Tasks breaks that workflow, because it intercepts the Ctrl-F keyboard shortcut, so that instead of launching the browser's Find in page feature, it instead launches Nextcloud's Search dialogue.

This violates the UX/UI principle of least surprise.

Nextcloud's Search dialogue doesn't just search the contents of the page (which is what the user would expect after hitting Ctrl+F in a web browser). It instead searches the user's entire Nextcloud account, and can be quite slow about it!

This means that a Nextcloud Tasks user has to choose between two slow, unpalatable, friction-inducing options:

  1. Switch to the mouse (a problem in itself for some disabled users) and labouriously access the browser's Find in page function by manually clicking through the relevant browser toolbar menus.
  2. Wait for the Nextcloud Search to load, and then wait again for it to perform its search (which typically gives more results than the user wants, e.g. calendar events, documents, etc), and then wait yet again for it to navigate to the task of interest once selected.
Describe the solution you'd like

Ctrl-F should not be intercepted by Nextcloud Tasks.

Describe alternatives you've considered

If it is still desired to have a keyboard shortcut for Nextcloud Search from Nextcloud Tasks, then it should be something other than Ctrl-F.

For instance, it could be Ctrl-Shift-F.

Additional context

No response

Lingua principale
JavaScript
Stelle
710
Fork
125
Merge medio
19h 37m
PR unite (30g)
12

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nextcloud/tasks

Tutte le issue di nextcloud/tasks

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.