Command Palette
Tavolozza dei comandi
Una command palette è un pannello di ricerca facile da usare con la tastiera. Apre azioni, pagine e elementi recenti.
Una command palette è un pannello di ricerca facile da usare con la tastiera. Apre azioni, pagine e elementi recenti.
Un esempio vero
Premi Command-K, digita “Invita collega” ed esegui quell’azione dall’elenco.
Parti principali
- 01Current location
- 02Destination labels
- 03Focus order
- 04Responsive behavior
Usalo quando
Usalo in un prodotto con molti comandi e persone che vi tornano spesso.
Non usarlo quando
Non renderlo l'unico modo per raggiungere un'azione essenziale.
Nome usato nel codice
Command-K / role="dialog" Prima di spedire
Before release, check the page structure, keyboard access, visible focus, contrast, and zoom. Also check loading, empty, error, success, cancel, and reduced-motion states.
Outcome: Complete the task with Tavolozza dei comandi (Command Palette). User context: Premi Command-K, digita “Invita collega” ed esegui quell’azione dall’elenco. Recommended pattern: Tavolozza dei comandi (Command Palette). Why it fits: Usalo in un prodotto con molti comandi e persone che vi tornano spesso. Do not use it when: Non renderlo l'unico modo per raggiungere un'azione essenziale. Product requirements: Define the default, loading, empty, error, success, and recovery states. Keep user input. Give clear feedback after every action. Accessibility and resilience: Use semantic HTML, full keyboard access, and visible focus. Make the layout work when zoomed and support reduced motion. Follow the project’s current rules. Do not add a new UI library unless the project already uses it. Acceptance criteria: The main task works with keyboard only and at 320px width. Focus and status changes are announced. Check loading, failure, retry, cancel, and reduced-motion paths. Evidence and limits (evidence boundary): Nessun singolo standard ufficiale controlla l'intero termine. Il suo significato può cambiare tra team, piattaforme o framework. Unknowns to confirm: Product wording, data source, analytics events, supported devices and languages, and platform limits.
Controlla questa richiesta
Review how Tavolozza dei comandi (Command Palette) is used now. Definition: Una command palette è un pannello di ricerca facile da usare con la tastiera. Apre azioni, pagine e elementi recenti. Release checks: Before release, check the page structure, keyboard access, visible focus, contrast, and zoom. Also check loading, empty, error, success, cancel, and reduced-motion states. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.