Feature request: add separators and key shortcuts to dropdown menu

Aperta
#582 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
22/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript
Ambito
desktop

Direzione di ricerca

The payload names no files or entry points. Start by locating where the extension builds its template dropdown menu and where template names and shortcuts are stored. The issue asks for two things: visual separators for templates whose names begin with special characters, and showing each item's keyboard shortcut in the menu. Settle the separator naming rule with a maintainer before coding. Done means both behaviours appear in the menu and existing templates still work.

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

Descrizione

With lots of dropdown menus I've recently implemented a few upgrades to my templates, first being the group separators within a group:

Image

This leads to a suggestion that some templates could be treated as separators for visual clarity: eg. the ones starting with double hyphen or some other special character/combination - looking cleaner, not enabled for click.

Also, I've added keyboard shortcuts to a few items but then I realized I do not even remember previously added ones. To remember those, I've had to look them up in settings.

It would be a huge upgrade to have the keyboard shortcut added to menu items that have keyboard shortcuts.

Thing with templates is some are used everyday, some are used depending on the situational context for a while and then they are left just sitting there for a long time. Keyboard shortcuts would be easier to memorize with just being there in the menu for when you don't remember them.
I'd add them in a template name but, besides the risk of making a mistake, forgetting to edit the name while editing the shortcut, I'd rather not use [] chars in templates' names, as [[]] are special chars for QuickText.

Lingua principale
JavaScript
Stelle
283
Fork
62
Merge medio
1m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 jobisoft/quicktext

Tutte le issue di jobisoft/quicktext

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.