Skip to content

Compact oversized currency metrics and improve question auto-load#225

Merged
KillariDev merged 1 commit into
mainfrom
t3code/97b3ff4d
May 19, 2026
Merged

Compact oversized currency metrics and improve question auto-load#225
KillariDev merged 1 commit into
mainfrom
t3code/97b3ff4d

Conversation

@KillariDev
Copy link
Copy Markdown
Collaborator

Summary

  • Add overflow-aware currency formatting that switches large balances to compact SI or scientific notation when needed.
  • Update CurrencyValue and overview balance panels to measure available width and prevent adjacent metrics from affecting each other.
  • Improve Zoltar question auto-loading to wait for resolved counts, key retries by universe id, and surface load errors consistently.
  • Expand UI tests to cover compact currency rendering, formatter edge cases, and the revised market auto-load behavior.

Testing

  • Not run (PR content only).
  • Added/updated tests in ui/ts/tests/currencyValue.test.tsx, ui/ts/tests/formatters.test.ts, ui/ts/tests/marketSection.test.tsx, and ui/ts/tests/overviewPanels.test.tsx.
  • Expected validation per repo guidelines: bun run tsc, bun run test, bun run format, bun run check, bun run knip.

- Add overflow-aware compact currency formatting
- Preserve exact titles and copy behavior
- Update overview metrics and tests
@KillariDev KillariDev merged commit 84bce3c into main May 19, 2026
0 of 6 checks passed
@KillariDev KillariDev deleted the t3code/97b3ff4d branch May 19, 2026 13:22
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