Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Settings: section highlight stays on General after switching sections

已關閉 適合新手
#459 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

已經有一個關聯 PR 被合併了。

  • #519 來自 @iamnbutler —— 已合併

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
67/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
react, typescript

研究方向

從 apps/app/src/settings.tsx 開始,issue 指出 aria-current 會隨著區段狀態變化;檢查區段導覽的焦點、滑鼠懸停和選取樣式。重現回報中按下無障礙功能控制項的步驟,並與實際滑鼠點擊進行比較。切換區段後目前的區段會反白顯示,直接開啟 Updates 時 Updates 仍會反白顯示,即為完成。

由索引模型根據 Issue 內容生成。

描述

Seen while dogfooding Ace Canary 0.0.46.60.

Steps

  1. Open Settings (Ace Canary → Settings…). It opens on General, with General highlighted.
  2. Click Providers, then This Mac.

Expected: the highlight moves to the section you're on.
Actual: the content switches, but General stays highlighted and Providers/This Mac never are.

If Settings opens straight to a section (Check for Updates… opens Updates), that section is highlighted correctly.

Notes

  • The clicks were made with accessibility presses from the desktop tools, which don't move the pointer. A real mouse click may behave differently.
  • apps/app/src/settings.tsx sets aria-current from section, which is the same state that switches the content. So the stuck highlight may be a focus or hover style rather than aria-current.

Part of #5.

主要語言
TypeScript
星號
1
分支
0
PR 合併指標
30 天內沒有已合併 PR

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 有 Pull Request 範本
  • 沒有貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

githubnext/ace2 的其他 Issue

查看 githubnext/ace2 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。