Repository navigation
fix: use global Left/Used mode in usage notifications - #10
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: da0e5a87f6
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@poweruserz Could you review this PR when you have a chance? It makes usage notifications follow the existing Left/Used preference, with a shared formatter and regression tests. I also addressed both automated review findings in |
|
Thanks, this is a real bug and a clean fix! Our AI review skips pull requests from forks, so I pushed your two commits unchanged to a branch here and opened #11 for the review. Once #11 merges, GitHub will mark this PR as merged too. If you push more changes, push them here and I'll sync the branch. |
fix: use global Left/Used mode in usage notifications (#10)
What changed
displayModesetting into the usage-alert path, so Windows notifications show the selected remaining/consumed percentage.getDisplayedUsagecalculation between cards, tray/taskbar percentages and notifications, instead of duplicating the Left/Used conversion.Thresholds and pace/reset logic still operate on raw used quota (e.g. 80% used triggers a toast showing 20% left in Left mode).
Closes #8
CI:
bun run build+bun run teston pull request.