Referrals: simplify claim-cost display + Kumbaya buy CL8Y link with USD hint #206
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:open_issues
agents
agent:security_audit
agent:verify
area
timecurve
arena
arena-v2
audit
block:feature_review
block:security
bug
contracts
design
devops
docs
documentation
enhancement
epic
feature
frontend
indexer
low priority
megaeth
operations
ops
performance
QA
qa checklist
referrals
removal
security
smart-contracts
tech-debt
testing
time-arena
timecurve
visual-qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
code/yieldomega#206
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
On
/referrals, the Claim your guide code card (ReferralRegisterSection) shows registration burn cost usingAmountDisplay, which renders anAmountTripleStackwith "decimal" and "abbr" rows. For this small cost panel that reads as noisy and unclear—participants mainly need one readable CL8Y figure.Also add a clear outbound link to Kumbaya to acquire CL8Y for the burn, and show an approximate CL8Y price in USD next to or near that affordance.
UX / copy
Replace or narrow the claim-cost presentation so it does not show the internal
abbr/decimalrow labels (either use a single formatted line viaformatAmountTriple/ compact string, or a dedicated compact variant—seefrontend/src/components/AmountDisplay.tsxpolicy vs. this call site infrontend/src/pages/referrals/ReferralRegisterSection.tsxinside.referrals-register-cost).Add a link (opens new tab,
rel="noreferrer noopener") to Kumbaya swap with CL8Y as output token, for example:https://www.kumbaya.xyz/#/swap?outputCurrency=0xfBAa45A537cF07dC768c469FfaC4e88208B0098D&confirmed=1Prefer centralizing the URL (env constant or small helper) if production CL8Y address can differ by chain—align with
docs/integrations/kumbaya.md/ integrator-kit token list where applicable (GitLab #46).USD: Show USD for the burn amount (not just generic token price) or show price per 1 CL8Y with copy that matches repo disclosure patterns (live quoter vs static placeholder—see
frontend/src/lib/cl8yUsdEquivalentDisplay.ts, ArenaCL8Y_USD_PRICE_PLACEHOLDERinarenaPageHelpers.ts, and GitLab #192 for staleness/illustrative USD language).Acceptance criteria
decimal/abbrlabels in this card.Tests / QA
frontend/e2e/referrals-surface.spec.ts).Related
/cc @PlasticDigits/yieldomega
While verifying #206 on prod with a connected wallet — the same noisy
decimal/abbrtriple-stack pattern shows up on the YOUR REFERRAL CHARM earnings card (the empty-state breakdown rows under "As guide" and "As traveler"). out of scope for #206's.referrals-register-costtarget as filed, just flagging in case you want to roll it into the same fix or split off.mentioned in commit
a06634077fmentioned in merge request !389
mentioned in commit
a0fbe57718