Skip to content

fix(latte): 有待推送时连接徽章不再显示已同步 - #14

Merged
hillsburg merged 1 commit into
mainfrom
fix/connection-pending-push-status
Jul 21, 2026
Merged

hillsburg merged 1 commit into
mainfrom
fix/connection-pending-push-status

Conversation

@hillsburg

Copy link
Copy Markdown
Owner

Summary

  • 连接徽章在已连通但仍有 PendingChanges 时显示 有未推送 (N),不再误标为「已同步」。
  • 本地变更记录后立即刷新徽章;同步设置页连接状态一并反映待推送数量。
  • 补充使用指南中的徽章含义说明。

Test plan

  • dotnet test … --filter ConnectionDisplayResolverTests(4 通过)
  • 配置同步后编辑笔记:徽章应变为「有未推送」,Push 成功后回到「已同步」
  • 离线/冲突/同步中优先级仍正确(冲突与同步中优先于有未推送)

Made with Cursor

Connected 且 PendingChanges>0 时展示「有未推送」及条数;本地变更与设置页同步刷新。

Co-authored-by: Cursor <cursoragent@cursor.com>
@hillsburg
hillsburg merged commit 7dd5036 into main Jul 21, 2026
1 check passed
@hillsburg
hillsburg deleted the fix/connection-pending-push-status branch July 21, 2026 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant