Repository navigation
feat(desktop): 任务栏与 Dock 显示待处理通知 - #327
Merged
Merged
Conversation
Contributor
|
在 macOS 27.0.1 arm64 上测了:main( Dock 计数本身符合预期:
但在现在的 main 上只有提问会计数:DSH 0.2.2-rc.3(#309)删掉了 |
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.
Closes #318
Windows 在后台收到新的待处理通知时闪烁任务栏按钮,保留当前窗口焦点。Windows 任务栏和 macOS Dock 都显示待处理数。同一会话合计一项,插件按待处理通知计数。当前会话已读、处理完成或关闭通知时同步更新。Windows 图标最多显示 9+,辅助说明保留完整数字。
复用桌面通知队列及现有通知偏好。隐藏到托盘后使用原有托盘入口,重新显示窗口时恢复数字角标。
本地使用 Electron 44.0.0 验证了 Windows 原生调用、提醒期间前台焦点不变,以及通知点开和清除。桌面测试 413 项通过、70 项跳过,源码回执审计通过。macOS 原生调用纳入现有 Electron CI,Dock 角标的可见性取决于系统通知设置。