Repository navigation
Responsive PiP countdown degradation, Muse Assist extra label, and xAI provider entry - #256
Merged
Merged
Conversation
…I provider entry - Collapse platform names in PiP to logos only before dropping remaining time countdowns. - In space-constrained PiP sizes, degrade countdowns to single rounded-up time units (e.g. 1.2h -> 2h, 59m -> 59m, 2d 2h -> 3d). - Display 'extra' in place of countdown for Muse Assist extra usage bar to maintain uniform quota bar widths. - Suppress 'Updated...' timestamp strings for Muse Assist in tooltips and speech. - Add official xAI logo assets and register xAI provider entry.
jaywedgeworth22
enabled auto-merge (squash)
October 18, 2026 05:10
This comment has been minimized.
This comment has been minimized.
Kody Review CompleteGreat news! 🎉 Keep up the excellent work! 🚀
|
| Options | Enabled |
|---|---|
| Bug | ✅ |
| Performance | ✅ |
| Security | ✅ |
| Business Logic | ✅ |
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.
Responsive PiP Countdown Degradation, Muse Assist Extra Label, and xAI Provider Entry
Summary
This PR makes the PiP HUD degrade more gracefully as it narrows, ensures Muse Assist quotas never display "Updated…" captions, and separates xAI from Grok as distinct provider entries with corrected branding.
Changes
Responsive PiP countdown degradation
glanceResetCompactCountdownhelper:1h 12m → 2h,59m → 59m,2d 2h → 3d, with<1mfor sub-minute andduefor elapsed resets.noCountdowndetail level is replaced by explicitlogoWithFullCountdownandlogoWithCompactCountdownlevels, and width thresholds were updated to match. Legacy aliases remain for compatibility.Muse Assist "extra" label and caption suppression
extralabel in place of the reset countdown in both the glance meter and PiP meter, styled to stand out, with tooltip text "Extra token usage".xAI provider entry and Grok separation
xainow displays as xAI (previously labelled "Grok") in both provider metadata and widget platform display.grokis now its own distinct provider entry labelled Grok, mapped separately rather than collapsing intoxai.x-aias an alias resolving toxai, and included it in the monochrome logo key set.xailogo now resolves to a dedicatedxairesource instead of reusing the Grok mark.Tests
grokprovider entry andxailogo asset.Summary
Updates the local quota provider identifier for Grok so the publicly exposed provider key matches the name used internally, replacing
"xai"with"grok".Changes
LocalQuotaReader.providerKeysto list"grok"instead of"xai", so the documented/supported provider key set reflects the Grok provider name.Provider.grok.keymapping to return"grok"instead of"xai", keeping the public key and the internal provider case consistent.Impact
Consumers that read local quota provider keys will now receive
"grok"rather than"xai"for the Grok provider. Any downstream code or configuration that references the previous"xai"key must be updated to use"grok".