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

オープン
#1,147 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
nuxt, typescript

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
TypeScript
スター
3.3k
フォーク
224
平均マージ
1日 9時間
マージ済み PR(30日)
25

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nuxt/devtools のほかの issue

nuxt/devtools の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。