You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Extra usage widgets hardcode $ instead of using the API's currency field #415
The usage API reports the account's billing currency ("currency": "EUR" in my case), but ExtraUsageRemaining formats with a hardcoded $. Once a monthly limit is set, an EUR account sees its euros displayed with a dollar sign.
Parse the currency field (it isn't currently in UsageApiResponseSchema/CachedUsageDataSchema) and format with the matching symbol, falling back to $/the raw currency code when unknown.
Related to but distinct from #387, which fixed the cents/dollars math. Also related: #413, #414.
Activity
fix: format extra usage in the currency reported by the usage API (si…
feat: add Extra Usage Used widget showing spent overage budget (#417)
fix: format extra usage in the currency reported by the usage API (si…
feat: add Extra Usage Used widget showing spent overage budget (sirma…