Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
12b8f13
refactor: align UI with shadcn and clear audit findings
Aug 21, 2026
9ad52f4
style: finish shadcn semantic color cleanup
Aug 21, 2026
dfbaa15
fix: address CodeRabbit review findings
Aug 21, 2026
8cca95a
fix: close second-round review findings
Aug 21, 2026
603f0bd
fix: use semantic card background token
Aug 21, 2026
a36e99f
fix: resolve final CodeRabbit findings
Aug 21, 2026
879a607
fix: address remaining review findings
Aug 21, 2026
c4460ef
fix: close remaining accessibility findings
Aug 21, 2026
e2711be
fix: resolve latest CodeRabbit findings
Aug 21, 2026
5b88c1b
fix: address latest UI review findings
Aug 21, 2026
1a78030
fix: polish remaining component findings
Aug 21, 2026
1cfc512
fix: resolve latest accessibility review findings
Aug 21, 2026
7770c6d
fix: close latest UI review findings
Aug 21, 2026
3a42fc6
fix: close latest review findings
Aug 21, 2026
8f9a544
fix: close final CodeRabbit findings
Aug 21, 2026
1a04720
fix: close latest UI review findings
Aug 21, 2026
2de4162
fix: close latest accessibility findings
Aug 21, 2026
3544acf
fix: close latest component review findings
Aug 21, 2026
ff639df
fix: close latest shared control findings
Aug 22, 2026
1a91b5d
fix: close latest review findings
Aug 22, 2026
57ee771
fix: close latest MCP and discovery findings
Aug 22, 2026
a5175b9
fix: close latest accessibility and layout findings
Aug 22, 2026
debbaa4
fix: close latest review findings
Aug 22, 2026
4e23650
fix: close latest accessibility and state findings
Aug 22, 2026
cd5f693
fix: close coderabbit accessibility findings
Aug 22, 2026
4926cde
fix: close latest functional accessibility findings
Aug 22, 2026
b2c21c9
fix: close latest interaction and theme findings
Aug 22, 2026
38302c1
fix: finish final coderabbit findings
Aug 22, 2026
8520fc1
fix: close final accessibility and interaction findings
Aug 22, 2026
f98f47f
fix: close latest review findings
Aug 22, 2026
7c6d537
fix: address follow-up review findings
Aug 22, 2026
8bfc616
fix: polish follow-up review findings
Aug 22, 2026
e7f7a4e
fix: announce categorization failures
Aug 22, 2026
7ddbeb5
fix: close review accessibility findings
Aug 22, 2026
9de6d1e
fix: tighten final review controls
Aug 22, 2026
4ff8079
fix: harden bundle and navigation checks
Aug 22, 2026
b00f5f8
fix: compact repository list controls
Aug 22, 2026
2207a44
fix: align UI with official shadcn visual baseline
Aug 22, 2026
9abec18
fix: address follow-up review findings
Aug 22, 2026
03ef497
fix: close follow-up review findings
Aug 22, 2026
c483b4e
fix: address round 32 review findings
Aug 22, 2026
d5782bd
fix: stop stepper repeat at bounds
Aug 22, 2026
a00503a
fix: address round 34 review findings
Aug 22, 2026
c475f85
fix: address round 35 review findings
Aug 22, 2026
aeeb3aa
fix: address round 36 review findings
Aug 22, 2026
b3630d5
fix: refine shadcn visual consistency
Aug 22, 2026
3aa76c7
fix: refine shadcn visual interactions
Aug 22, 2026
c085fe5
fix: polish remaining shadcn UI feedback
Aug 22, 2026
f2ff824
fix: align scroll containers and hide idle scrollbar
Aug 22, 2026
f8a3520
fix: expose release source toggle state
Aug 22, 2026
bb0ca3d
fix: finalize populated UI layout verification
Aug 22, 2026
4c6dc44
fix: address final coderabbit findings
Aug 22, 2026
154e011
fix: close remaining audit findings
Aug 22, 2026
3ce5437
fix: polish remaining accessible controls
Aug 22, 2026
b3878d2
fix: resolve final audit accessibility findings
Aug 22, 2026
3f0ddff
docs: reconcile final test count
Aug 22, 2026
82553cd
fix: close final audit findings
Aug 22, 2026
b4d7f85
fix: finish remaining review findings
Aug 22, 2026
6a02187
fix: close remaining audit comments
Aug 22, 2026
825b906
fix: close remaining review findings
Aug 22, 2026
206f8f8
fix: resolve remaining review findings
Aug 22, 2026
5fd466c
fix: resolve remaining review findings
Aug 22, 2026
9634d38
fix: resolve remaining review findings
Aug 22, 2026
f5c0201
fix: polish final review findings
Aug 22, 2026
a42ec53
fix: close remaining audit findings
Aug 22, 2026
9ed3594
fix: close remaining audit findings
Aug 22, 2026
81cbdf6
fix: close remaining review findings
Aug 22, 2026
cb49bbf
fix: resolve final audit findings
Aug 22, 2026
62345f4
fix: resolve final review findings
Aug 22, 2026
66a95a0
fix: preserve gist content cache
Aug 22, 2026
85c891f
fix: close final review findings
Aug 22, 2026
cb6c1ae
fix: finish final review polish
Aug 22, 2026
8fe9524
fix: resolve round-30 audit findings and unify visual specs
AmintaCCCP Aug 23, 2026
adb6326
fix: resolve round-31 audit findings, unread snapshot and expanded-ca…
AmintaCCCP Aug 23, 2026
468f56c
fix: close round-31 follow-up review findings
AmintaCCCP Aug 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions audit-summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# 审计与质量门禁摘要

## 代码与类型审计

本轮改造将前端呈现层统一到 **shadcn/ui 风格组件与 Radix Primitives**,并清理共享原语的 Fast Refresh 非组件导出、未使用 Hook 依赖、测试文件隐式依赖和 GraphQL 响应隐式类型。`src/services/githubListsApi.ts` 的改动仅限于 GraphQL wire 类型、nullable `nodes`/`description` 的安全归一化和内部请求签名清理;网络请求语义、store、同步流程、AI 分析、仓库动作和权限逻辑均保持不变。

CodeRabbit 首轮报告中的共享 Button 变体、粘连 Tailwind token、重复 dark-mode 类、nullable GraphQL nodes、`tailwindcss-animate` 注册、语义色 alpha placeholder、border token、Slider thumb accessible name、Tooltip Portal、Dialog 标题、Select accessible labeling、ConfirmDialog 双触发、RadioGroup accessible name、DropdownMenu 语义 role 以及冗余 outside-click 逻辑均已核对并修复。ReleaseTimeline、RepositoryEditModal、CategoryPanel、WebDAVPanel、DiscoveryView、SearchBar 和全局 legacy CSS 的剩余 findings 也已完成收尾。

## 设计系统与无障碍审计

全局主题使用 shadcn 默认语义变量:`background`、`foreground`、`card`、`popover`、`primary`、`secondary`、`muted`、`accent`、`destructive`、`border`、`input`、`ring` 和 `radius`。主操作使用 `primary/primary-foreground`,中性工具栏和 icon-only 控件使用 `ghost`,次级预设使用 `outline`;空状态刷新按钮、缓存状态和深色模式文本均已检查实际背景下的对比度。

Radix Dialog、AlertDialog、Select、DropdownMenu、Tooltip、Slider、RadioGroup、Checkbox、Switch、Tabs 和 Popover 均使用共享封装。ReadmeModal 与 ForkTimeline 的 native select 仅作为既有 DOM/change 兼容层并从辅助技术树隐藏,用户可见控件由 Radix 渲染;测试已改为验证真实的 combobox/option 用户路径。RepositoryCard 的菜单测试已改用 `menuitem` 语义,并以 userEvent 验证 pointer、keyboard、card whitespace、outside pointer 和 Escape 行为。
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Outdated

## 安全审计

`npm audit --omit=dev --audit-level=high` 报告 `found 0 vulnerabilities`。仓库没有使用 `react-router-dom`,未使用依赖及其传递漏洞来源已移除,没有执行破坏性路由升级。

## UI 与交互走查

生产预览已走查仓库页、设置页、AI 配置页、新增 AI 表单、WebDAV 空状态、备份恢复面板、主题共享控件、导航 active 状态和 AI 搜索空查询 disabled 状态。Radix Select 打开与切换、Checkbox 展开默认提示词、Textarea、Switch checked 状态、取消表单、空状态恢复、仓库操作菜单和 README 语言切换均已回归验证。测试专用的 jsdom Pointer Capture 与 `scrollIntoView` no-op polyfill 只位于 `src/test/setup.ts`,不进入生产代码路径。

## 最终质量门禁

| 检查项 | 结果 |
|---|---|
| `npm run lint` | 通过,0 errors、0 warnings |
| `npx tsc -b` | 通过,无 TypeScript 诊断 |
| `npm run test:run` | 通过,29 个测试文件、326 个测试全部通过;无 React/Radix act、Unhandled 或 Warning 输出 |
| `npm run build` | 通过;legacy 入口 2,779.63 kB,低于 3,000 kB 预算阈值,无 chunk warning |
| `git diff --check` | 通过 |
| `npm audit --omit=dev --audit-level=high` | `found 0 vulnerabilities` |
| ReadmeModal + RepositoryCard 定向回归 | 通过,13/13;无测试 warning |

## 交付与审查状态

首轮 CodeRabbit findings 已全部修复并通过上述质量门禁。当前工作树位于 `refactor/shadcn-audit-zero-warnings`,下一步将仅提交跟踪中的源代码、测试和审计摘要,排除本地生成的 patch、截图和临时回归文件;随后推送 PR #284 并触发第二次 `@coderabbitai full review`。
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Outdated
11 changes: 11 additions & 0 deletions final-browser-verification.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# 最终浏览器验证

验证时间:2026-08-21。

生产预览地址:`http://127.0.0.1:4173/`。

页面标题正确:`GitHub Stars Manager - AI-Powered Repository Management`。

登录壳层正常渲染,包含中文/英文切换、主题切换、GitHub Personal Access Token 输入框、连接按钮和创建 token 外链。

控制台检查结果:入口模块加载、React root 创建、应用渲染、store hydration 均成功;后端不可用时正确进入 local-only 模式;未发现 React、Radix 或资源加载错误。
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Outdated
Loading