feat: menu-bar tray app + compact UI refresh#6
Draft
Cmochance wants to merge 1 commit into
Draft
Conversation
Rust / Tauri: - Run as a macOS menu-bar (Accessory) app: no Dock icon, tray icon with Show Window / Quit, left-click to reveal. - Closing the window hides instead of quitting so the background CDP monitor keeps running; Quit is only via the tray item. - Window: 560x640 compact, transparent + "sidebar" vibrancy, hidden title bar (macos-private-api + tray-icon features). Frontend: - Replace AgentSelector + StatusBar header with a single TopBar. - New Icon.svelte (inline SVG set); drop the Google Fonts CDN link. - Move ad-hoc Tailwind colours to CSS variable tokens (--ink, --accent, --fill-hover, ...) in app.css so the UI follows the window material. - ThemeGrid: fixed 3-column layout with pagination (9 per page); UploadCard removed, upload now lives in TopBar. Docs: - docs/research/: competitive research + Antigravity improvement notes. - docs/linear/changli.jpg: Linear theme reference shot. Frontend build verified (vite build, web/ assets regenerated); cargo fmt --check clean, clippy left to CI.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
本地积累的一批改动先提交存档,待后续处理(未经真机逐维视觉细调,先开 draft)。
Rust / Tauri
ActivationPolicy::Accessory隐藏 Dock 图标,托盘图标提供 Show Window / Quit,左键点击唤出窗口。CloseRequested改为hide(),后台 CDP monitor 继续跑;真正退出只走托盘 Quit。transparent+sidebarvibrancy + hidden title bar(Cargo features 加macos-private-api、tray-icon)。Frontend
AgentSelector+StatusBar合并成单个TopBar。Icon.svelte(内联 SVG 图标集),去掉 Google Fonts CDN 外链。app.css的 CSS 变量令牌(--ink/--accent/--fill-hover…),UI 跟随窗口材质。ThemeGrid固定 3 列 + 分页(每页 9 个);UploadCard删除,上传入口移到 TopBar。Docs
docs/research/:竞品调研 roadmap + Antigravity 改进方案。docs/linear/changli.jpg:Linear 主题参考图。验证
npm run build通过,web/产物 hash 与提交内容一致。cargo fmt --check通过;cargo clippy未在本地跑(本机已清src-tauri/target腾空间),交给 CI。由 Claude 协助整理提交。
🤖 Generated with Claude Code