01a09247 - Offer CHF, EUR, USD, and PHP next to Bitcoin stats - #164
Merged
Merged
Conversation
TaprootFreakAI
force-pushed
the
01a09247-stats-fiat-currencies
branch
from
September 12, 2026 11:24
ee9c315 to
4012eb4
Compare
Collaborator
Author
|
EN: DE: DetailsHead Review passes:
Comment-gate at post time: no issue comments, reviews, or inline threads. |
TaprootFreakAI
marked this pull request as ready for review
September 12, 2026 11:50
TaprootFreakAI
force-pushed
the
01a09247-stats-fiat-currencies
branch
2 times, most recently
from
September 12, 2026 12:12
ecd8dac to
92c09b2
Compare
TaprootFreakAI
marked this pull request as draft
September 14, 2026 05:07
TaprootFreakAI
force-pushed
the
01a09247-stats-fiat-currencies
branch
from
September 14, 2026 05:13
92c09b2 to
db51fed
Compare
TaprootFreakAI
marked this pull request as ready for review
September 14, 2026 06:19
TaprootFreakAI
marked this pull request as draft
September 14, 2026 07:00
The /stats dashboard and /stats/{day} table keep ₿ as the primary amount
and add a four-way fiat picker. Charts switch ₿ | selected fiat. Profile
activity stays ₿ | USD.
Linux Chromium baselines now include FiatPicker. The formatUsdTick e2e title targets the profile chart; stats over-time stays on formatFiatTick.
…tats routes. FiatPicker has no state or browser APIs; both callers are already client. giftStatsFxSchema TSDoc now names BTC-USD plus CHF/EUR/PHP quotes on GET /gifts/stats and GET /gifts?day=.
TaprootFreakAI
force-pushed
the
01a09247-stats-fiat-currencies
branch
from
September 14, 2026 07:00
db51fed to
5a5bc5d
Compare
TaprootFreakAI
marked this pull request as ready for review
September 14, 2026 07:04
TaprootFreak
approved these changes
Sep 14, 2026
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.
EN:
Public /stats and /stats/{day} keep ₿ as the primary amount and offer a CHF, EUR, USD, or PHP equivalent.
Charts switch ₿ | selected fiat. The signed-in profile chart stays ₿ | USD.
Needs 21gifts/api#117 for the new stats fields in production.
DE:
Öffentliche /stats und /stats/{day} behalten ₿ als Hauptbetrag und bieten ein CHF-, EUR-, USD- oder PHP-Äquivalent.
Diagramme schalten ₿ | gewähltes Fiat. Das Profil-Chart bleibt ₿ | USD.
Braucht 21gifts/api#117 für die neuen Stats-Felder in Produktion.
Details
Fiat picker is a four-way SegmentedControl (no ₿ in that control). Locale defaults: de→CHF, fil→PHP, es→EUR, en→USD.
Null fiat amounts render as an em dash. Linux Chromium goldens for the stats shots that now include FiatPicker are in this PR.