01a09247 - Show fiat next to forum ₿ amounts and on the pay sheet - #188
Merged
Merged
Conversation
TaprootFreakAI
force-pushed
the
01a09247-forum-pay-fiat
branch
2 times, most recently
from
September 14, 2026 12:17
7c35d78 to
d6d3542
Compare
TaprootFreakAI
marked this pull request as ready for review
September 14, 2026 13:42
TaprootFreakAI
marked this pull request as draft
September 14, 2026 14:08
TaprootFreakAI
force-pushed
the
01a09247-forum-pay-fiat
branch
from
September 14, 2026 16:02
a6c5ef2 to
026b936
Compare
TaprootFreakAI
marked this pull request as ready for review
September 14, 2026 16:52
TaprootFreakAI
marked this pull request as draft
September 14, 2026 17:02
TaprootFreakAI
force-pushed
the
01a09247-forum-pay-fiat
branch
12 times, most recently
from
September 14, 2026 23:32
0bde8f2 to
f7d1fd8
Compare
TaprootFreakAI
marked this pull request as ready for review
September 15, 2026 01:13
TaprootFreakAI
marked this pull request as draft
September 15, 2026 09:17
TaprootFreakAI
force-pushed
the
01a09247-forum-pay-fiat
branch
from
September 15, 2026 09:35
19e4b95 to
1ddcd06
Compare
TaprootFreakAI
marked this pull request as ready for review
September 15, 2026 09:39
TaprootFreakAI
marked this pull request as draft
September 15, 2026 09:56
TaprootFreakAI
marked this pull request as ready for review
September 15, 2026 12:15
TaprootFreakAI
marked this pull request as draft
September 15, 2026 12:17
TaprootFreakAI
force-pushed
the
01a09247-forum-pay-fiat
branch
4 times, most recently
from
September 15, 2026 15:07
e1ee801 to
1b774c1
Compare
GET /gifts/stats is used on welcome, public notes, and member profiles. Gift-only and text-plus-gift replies use the same ₿-only-when-null rule.
The default profile golden crops at Theme because the identity card scrolls inside the 720px shell. Scroll Fiat currency into view and capture the CHF | EUR | USD | PHP control.
Forum notes and the pay sheet still only display the chosen code.
A valid fiat cookie now wins over a stale server initial after refresh.
parseFiatCode is used by FiatPreferenceProvider; public-note tests assert there is no fiat switcher.
Invoice-step goldens stay ₿-only because they use the empty stats mock; the preferred-fiat line is on the pay-amount variant that stubs rates.
Keep PublicMessageChrome and the preferred-fiat display on the public thread.
A day with sats but USD 0.00 is not a usable rate; forum amounts stay ₿-only.
Keep About me on the profile card next to the fiat settings row.
About me replaced the pinned profile note; gift pay lives in the posts list.
TaprootFreakAI
force-pushed
the
01a09247-forum-pay-fiat
branch
from
September 16, 2026 12:20
56f62f9 to
fe417f8
Compare
The introduce overlay blocked All and Send Bitcoin; Linux actuals follow the About me card.
Member and public-view activity charts write the same fiat cookie as Profile.
Collaborator
Author
|
EN: DE: DetailsHead |
TaprootFreakAI
marked this pull request as ready for review
September 16, 2026 13:32
TaprootFreak
approved these changes
Sep 16, 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:
Forum notes, nested replies, and the pay sheet show a CHF, EUR, USD, or PHP equivalent next to the ₿ amount.
The switcher stays on Profile (settings and the activity chart),
/stats, and/stats/[day].Forum, public notes, and the pay sheet display that code only.
Missing rates stay ₿-only.
DE:
Foren-Notizen, verschachtelte Antworten und das Pay-Sheet zeigen neben dem ₿-Betrag ein CHF-, EUR-, USD- oder PHP-Äquivalent.
Der Umschalter bleibt im Profil (Einstellungen und Aktivitätschart), auf
/statsund auf/stats/[day].Forum, öffentliche Notizen und das Pay-Sheet zeigen den Code nur an.
Fehlende Kurse bleiben ₿-only.
Details
Conversion uses the latest gift day from
GET /gifts/stats(latestRateDay/satsToFiatAmount). Cookiefiat(Path=/, Max-Age=1y, SameSite=Lax, Secure on https). Empty member-profile pay amount invoices 21 sats. After mint, the smartphone amount-form fiat line uses the invoice amount. A valid cookie wins over a stale serverinitialafter refresh.