Skip to content

Improve REP pricing labels, overflow display, and market auto-loading#227

Merged
KillariDev merged 4 commits into
mainfrom
t3code/9d6d1b97
May 19, 2026
Merged

Improve REP pricing labels, overflow display, and market auto-loading#227
KillariDev merged 4 commits into
mainfrom
t3code/9d6d1b97

Conversation

@KillariDev
Copy link
Copy Markdown
Collaborator

Summary

  • Refined REP price source labeling across the UI with shared helpers for Uniswap and simulation sources.
  • Added compact currency rendering when values overflow available space, including new formatter coverage and UI tests.
  • Improved market question auto-loading and loading-state handling so questions load more reliably per universe.
  • Updated liquidation messaging and simulation seeding to support distinct seeded vault balances and clearer failure reasons.

Testing

  • Not run (PR description only).
  • Existing and new tests were added for currency values, liquidation modal behavior, market section loading, overview panels, and active environment handling.
  • Type-check, test, format, Biome, and knip checks should be run separately before merge per repository instructions.

- Centralize REP price source rendering and tooltip text
- Update liquidation copy and failure reason handling
- Add scenario-specific seeded vault and mock price defaults
- Centralize REP price source copy for tooltips and quoted labels
- Distinguish Uniswap v3 and v4 pricing in modal and overview text
- Add liquidation modal coverage for version-specific labels
- Use a shared default REP/ETH mock price across simulation scenarios
- Update active environment tests to expect the shared reset value
@KillariDev KillariDev merged commit 9a42623 into main May 19, 2026
0 of 6 checks passed
@KillariDev KillariDev deleted the t3code/9d6d1b97 branch May 19, 2026 14:48
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