Skip to content

feat(PrizePool): add currency toggle for multi-currency tables#7715

Open
Eetwalt wants to merge 11 commits into
pp-redesignfrom
pp-currency-toggle
Open

feat(PrizePool): add currency toggle for multi-currency tables#7715
Eetwalt wants to merge 11 commits into
pp-redesignfrom
pp-currency-toggle

Conversation

@Eetwalt

@Eetwalt Eetwalt commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

Based on #7688

  • Replace the prize pool's side-by-side currency columns with a pill toggle that shows one currency's money columns at a time
  • Extract a reusable Widget/ContentSwitch/Pill widget from ContentSwitch (output byte-identical for existing consumers)
  • Tag each money header/cell with data-toggle-area-content and reuse the global togglearea JS + .toggle-area CSS — no new JS or mechanism CSS
  • Default to the first local currency; single-currency and award tables render no toggle; multiple prize pools on one page toggle independently

How did you test this change?

dev + devtools

ss
image

@Eetwalt Eetwalt requested a review from a team as a code owner July 1, 2026 07:44
@Eetwalt Eetwalt added c: prize_pool stylesheets Changes to stylesheets labels Jul 1, 2026
@Eetwalt Eetwalt requested a review from a team as a code owner July 1, 2026 07:44
Comment thread lua/wikis/commons/PrizePool/Base.lua Outdated
Comment thread lua/wikis/commons/PrizePool/Base.lua Outdated
Comment thread lua/wikis/commons/PrizePool/Base.lua
Comment thread lua/wikis/commons/Widget/ContentSwitch/Pill.lua Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c: prize_pool stylesheets Changes to stylesheets

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants