fix #10 : 移除测试用的dock徽章数字,修复未读信息显示#12
Open
lingfengchencn wants to merge 4 commits intoPrivoce:mainfrom
Open
Conversation
移除代码中用于测试的dock徽章数字设置,避免对用户造成误导
- 将 newMsgMap 从 boolean 改为 number 类型以支持计数 - 添加窗口焦点状态监听,仅在非活跃窗口或窗口失去焦点时标记未读 - 在服务器列表和托盘图标中显示未读消息数量 - 优化不同平台的通知样式(Windows 徽章、macOS dock 角标等)
添加AGENTS.md文件包含项目结构、构建命令、编码风格和提交指南等内容 更新package-lock.json中的版本号至0.9.0
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.
移除代码中用于测试的dock徽章数字设置,避免对用户造成误导
FIX #10