Skip to content
Open
Show file tree
Hide file tree
Changes from 67 commits
Commits
Show all changes
72 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
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
9 changes: 4 additions & 5 deletions .github/workflows/build-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: npm run build
# env:
# VITE_BASE_PATH: './'

- name: Verify and fix web build
shell: bash
run: |
Expand Down Expand Up @@ -226,9 +226,8 @@ jobs:
packageJson.scripts = packageJson.scripts || {};

// 确保构建脚本使用正确的基础路径
packageJson.scripts.build = 'vite build --base=./';
packageJson.scripts['build:electron'] = 'vite build --base=./ && electron-builder';
packageJson.scripts.dist = 'electron-builder --publish=never';
packageJson.scripts.build = 'vite build --base=./ && npm run check:bundle-size';
packageJson.scripts['build:electron'] = 'vite build --base=./ && npm run check:bundle-size && electron-builder';
Comment thread
coderabbitai[bot] marked this conversation as resolved.

// Ensure proper base path for Electron
if (!packageJson.build) packageJson.build = {};
Expand All @@ -237,7 +236,7 @@ jobs:
};
packageJson.scripts.electron = 'electron .';
packageJson.scripts['electron-dev'] = 'NODE_ENV=development electron .';
packageJson.scripts.dist = 'electron-builder';
packageJson.scripts.dist = 'npm run check:bundle-size && electron-builder --publish=never';

packageJson.build = {
appId: 'com.github-stars-manager.app',
Expand Down
188 changes: 188 additions & 0 deletions audit-summary.md

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions final-browser-verification.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# 最终浏览器验证

验证时间:2026-08-22 UTC(用户时区为 2026-08-23);构建预览地址:`http://127.0.0.1:4174/`;视口:`1440 × 1000`;浏览器使用隔离 profile 与本地 visual-review fixture,不使用真实凭据,也不写入真实业务数据。此次 fixture 至少包含 1 个仓库、1 个 Release(6 个资产行)、1 个 Gist、1 个 Fork 以及 20 个自定义分类,走查通过应用现有同步、订阅、刷新和卡片点击流程加载数据。

## 关键几何与交互证据

| 验证项 | 实测结果 | 截图/报告 |
|---|---|---|
| README 弹窗 | dialog `x=150, y=75, width=1130, height=850, right=1280, bottom=925`;相对于 client width 1430 和 viewport height 1000 居中,未超出 viewport 安全边界 | `readme-dialog.png`; `metrics.json` 的 `readmeDialog` |
| Release 资产面板 | 展开成功;面板 `x=65, y=511, width=1300, right=1365`,在深色主题中相对页面背景使用明显更浅的语义 surface,6 行资产完整可见 | `release-assets.png`; `metrics.json` 的 `releaseAfterAsset` |
| Fork 每页控件 | 搜索 frame、ForkCard 与 page-size trigger 的右边界均为 `1382`;page-size trigger `x=1302, width=80, right=1382` | `fork-layout.png`; `metrics.json` 的 `forkLayout` |
| Gist 左右容器 | 侧栏 `y=85, right=288`,右侧搜索 toolbar `y=85, right=1398`;顶部基线相同 | `gist-layout.png`; `metrics.json` 的 `gistLayout` |
| Gist hover 可读性 | 真实指针 hover 后条目和计数均为 `rgb(248, 250, 252)`,hover 背景为 `rgba(30, 41, 59, 0.5)` | `round42_dropdown_hover_check.py` 输出 |
| Select 横向稳定 | Release、Gist、Fork 三个下拉在 closed/open/closed 三态中 body 与 root 均保持 `x=0, width=1430, right=1430`,`margin-right=0px`;打开时仅出现 `data-scroll-locked=1` | `round42_dropdown_hover_check.py` 输出 |
| 分类滚动条 | 滚动条元素右边界保持 `x=287`,侧栏卡片右边界 `x=288`;idle/停止后 thumb 透明,滚动态 thumb 为 `rgba(75, 85, 99, 0.8)`,宽度不变化 | `category-idle.png`, `category-scrolling.png`, `category-after-stop.png`; `metrics.json` |

README、Release、Gist 与 Fork 截图均为 populated state,而不是空状态占位图。Fork 截图包含 `magpie-fork` 卡片;Release 截图包含 `magpie` 的 `Visual Release` 和 6 个资产行;Gist 截图包含真实 fixture 卡片及侧栏计数。分类截图包含 populated repository card;分类滚动 fixture 的 CSS 状态则由同一页面的 idle、scrolling、after-stop 三次截图和 computed style 结果共同验证。

## 产物

本轮截图和几何报告保存在 `ui-screenshots-round42/`,包括 `readme-dialog.png`、`release-assets.png`、`gist-layout.png`、`gist-dialog.png`、`fork-layout.png`、`category-idle.png`、`category-scrolling.png`、`category-after-stop.png` 与 `metrics.json`。这些文件仅作为本地验证证据,不纳入提交;本记录文件本身为 tracked verification record。

## 代码门禁状态

本轮最终完整门禁已通过:`npm run lint`、`npx tsc -b`、`npm run test:run`、`npm run build`、`git diff --check` 与 `npm audit --omit=dev --audit-level=high` 全部成功。测试结果为 31 个测试文件、332 个测试全部通过;legacy entry 为 `2713.22 KiB`,低于 `3000 KiB` 限制;生产依赖审计结果为 `0 vulnerabilities`。
6 changes: 1 addition & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>GitHub Stars Manager - AI-Powered Repository Management</title>
<meta name="description" content="Intelligent management of your GitHub starred repositories with AI-powered analysis and release tracking" />
<link rel="stylesheet" href="/fonts/inter.css" />
<style>
* { font-feature-settings: "cv01", "ss03"; }
</style>
</head>
<body class="bg-light-bg text-gray-900 dark:bg-marketing-black dark:text-text-primary">
<body class="bg-background text-foreground">
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
Expand Down
Loading