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

Offen
#1,147 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
nuxt, typescript

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
TypeScript
Sterne
3.3k
Forks
224
Ø Merge
1 T. 9 Std.
Gemergte PRs (30 T.)
25

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus nuxt/devtools

Alle Issues in nuxt/devtools

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.