feat(desktop): add tray preview and menu bar icon#209
Merged
Conversation
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.
变更摘要
改动范围
主要文件
apps/src/app/tray-preview/page.tsxapps/src/components/layout/app-frame.tsxapps/src/hooks/useDashboardStats.tsapps/src/lib/dashboard/format.tsapps/src-tauri/src/app_shell/tray.rsapps/src-tauri/src/app_shell/window.rsapps/src-tauri/src/app_shell/lifecycle.rsapps/src-tauri/src/commands/system.rsapps/src-tauri/icons/tray-template.svgapps/src-tauri/icons/tray-template.pngapps/src-tauri/tauri.conf.json验证
pnpm -C apps run testpnpm -C apps run buildpnpm -C apps run test:uicargo test --workspace已执行的实际验证:
未执行的验证与原因:
pnpm -C apps run test 未执行:本项目当前前端验证主要使用 runtime 测试与 build,本次已执行 pnpm run test:runtime。
pnpm -C apps run test:ui 未执行:本次改动没有新增现有 UI 自动化用例覆盖,已通过本地菜单栏开发版手动验证。
cargo test --workspace 未执行:本次改动集中在 apps/src-tauri,已按项目约束将 Tauri crate 测试输出放到 /Volumes/disk 并通
过。
风险与影响面
备注