feat: add back control to "expand sidebar" and improve a11y

Aperta
#1,147 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à
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
nuxt, typescript

Direzione di ricerca

Start by locating the docked devtool icon and sidebar controls in the Nuxt devtools UI, then read their accessibility tests or component tests if present. The issue asks for a larger docked click area, an option to expand the sidebar, and consistent readable visual metrics across tools. Done means these requested controls and accessibility improvements are implemented and verified in the UI; the issue names no files or tests.

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

Descrizione

enhancement
🆒 Your use case

The previous versions of nuxt-devtool had the "Expand sidebar"
I've upgraded to v4, and can't seem to find this option.
Was this removed intentionally?

v3
Image

v4
https://github.com/user-attachments/assets/cd9f703e-ce47-4320-af99-2d827e67a663

For a11y reason, I noticed the click area for the devtool icon, when docked, has become smaller.

🆕 The solution you'd like
  • Increase the click area when the devtool is docked (for a11y)
Image Image
  • Have the option to "Expand Sidebar", at least for the Nuxt devtool. It has tooltips, yes, but with an expanded sidebar option, one can easily find what they're looking for, without guessing and hovering what each icon does
  • Don't know how possible this will be, but can we have an accessible metrics for what the foreground and background colors, font sizes, should be? Compare these: Nuxt devtools and Unhead:
Image Image I didn't change any settings in between, but notice how small the fonts got when I switched from Nuxt to Unhead.
🔍 Alternatives you've considered

No response

ℹ️ Additional info

No response

Lingua principale
TypeScript
Stelle
3.3k
Fork
224
Merge medio
1g 9h
PR unite (30g)
25

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 nuxt/devtools

Tutte le issue di nuxt/devtools

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.