Skip to content

01a09247 - Show fiat next to forum ₿ amounts and on the pay sheet - #188

Merged
TaprootFreak merged 58 commits into
developfrom
01a09247-forum-pay-fiat
Sep 16, 2026
Merged

TaprootFreak merged 58 commits into
developfrom
01a09247-forum-pay-fiat

Conversation

@TaprootFreakAI

@TaprootFreakAI TaprootFreakAI commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator

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 /stats und 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). Cookie fiat (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 server initial after refresh.

@TaprootFreakAI
TaprootFreakAI force-pushed the 01a09247-forum-pay-fiat branch 2 times, most recently from 7c35d78 to d6d3542 Compare September 14, 2026 12:17
@TaprootFreakAI
TaprootFreakAI marked this pull request as ready for review September 14, 2026 13:42
@TaprootFreakAI
TaprootFreakAI marked this pull request as draft September 14, 2026 14:08
@TaprootFreakAI
TaprootFreakAI marked this pull request as ready for review September 14, 2026 16:52
@TaprootFreakAI
TaprootFreakAI marked this pull request as draft September 14, 2026 17:02
@TaprootFreakAI
TaprootFreakAI force-pushed the 01a09247-forum-pay-fiat branch 12 times, most recently from 0bde8f2 to f7d1fd8 Compare September 14, 2026 23:32
@TaprootFreakAI
TaprootFreakAI marked this pull request as ready for review September 15, 2026 01:13
@TaprootFreakAI
TaprootFreakAI marked this pull request as draft September 15, 2026 09:17
@TaprootFreakAI
TaprootFreakAI marked this pull request as ready for review September 15, 2026 09:39
@TaprootFreakAI
TaprootFreakAI marked this pull request as draft September 15, 2026 09:56
@TaprootFreakAI
TaprootFreakAI marked this pull request as ready for review September 15, 2026 12:15
@TaprootFreakAI
TaprootFreakAI marked this pull request as draft September 15, 2026 12:17
@TaprootFreakAI
TaprootFreakAI force-pushed the 01a09247-forum-pay-fiat branch 4 times, most recently from e1ee801 to 1b774c1 Compare September 15, 2026 15:07
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.
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.
@TaprootFreakAI

Copy link
Copy Markdown
Collaborator Author

EN:
Ready after 8 review passes.
Forum ₿ amounts show the preferred CHF, EUR, USD, or PHP equivalent; the switcher stays on Profile, the activity chart, stats, and the day view.

DE:
Bereit nach 8 Review-Durchläufen.
Foren-₿-Beträge zeigen das bevorzugte CHF-, EUR-, USD- oder PHP-Äquivalent; der Umschalter bleibt im Profil, auf dem Aktivitätschart, auf Stats und auf der Tagesansicht.

Details

Head f5a68117. Quality and logic both complete with 0 findings. Conversion uses the latest gift day; a "0.00" gift-day total is ₿-only. Cookie fiat wins over a stale server initial. After mint, the smartphone amount line uses the invoice sats. Linux goldens follow About me on the profile, member, and view cards.

@TaprootFreakAI
TaprootFreakAI marked this pull request as ready for review September 16, 2026 13:32
@TaprootFreak
TaprootFreak merged commit 62be986 into develop Sep 16, 2026
12 checks passed
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.

2 participants