-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Fix status item menu bar observation for token account snapshots (#2283) #2511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 3 commits
a895280
ce475ec
0b7e280
1abe620
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -56,6 +56,8 @@ extension UsageStore { | |
| _ = self.statuses | ||
| _ = self.tokenSnapshotPublications | ||
| _ = self.historicalPaceRevision | ||
| _ = self.accountSnapshots | ||
| _ = self.codexAccountSnapshots | ||
|
Comment on lines
+59
to
+60
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Once the initial icon signature is stored, a refresh that changes only either per-account collection triggers this observation but still does no icon work: AGENTS.md reference: AGENTS.md:L4-L5 Useful? React with 👍 / 👎. |
||
| return 0 | ||
| } | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new signature projection is fresh evidence that the previously reported gate remains incomplete: an ordinary refresh replaces an existing
TokenAccountUsageSnapshotwith updatedsnapshot,error, orsourceLabelvalues while preserving its ID and label, so Observation fires but this string remains unchanged andobserveStoreIconChanges()returns without updating the status item. The Codex projection has the same problem because it retains only ID, email, and active state; include the mutable fields that are intended to trigger icon work and cover a same-account refresh rather than only insertion into an empty collection.Useful? React with 👍 / 👎.