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

Abierto
#1,147 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
nuxt, typescript

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
TypeScript
Estrellas
3.3k
Forks
224
Merge medio
1 d 9 h
PR fusionados (30 d)
25

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de nuxt/devtools

Todos los issues de nuxt/devtools

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.