Skip to content

fix: badge XLM inflation, OG hardcode, embed 404 layout, notif toggle race#732

Merged
OlaGreat merged 1 commit into
OlaGreat:mainfrom
daniella-techie:feat/714-715-716-717-badge-og-embed-notif
Jun 29, 2026
Merged

fix: badge XLM inflation, OG hardcode, embed 404 layout, notif toggle race#732
OlaGreat merged 1 commit into
OlaGreat:mainfrom
daniella-techie:feat/714-715-716-717-badge-og-embed-notif

Conversation

@daniella-techie

Copy link
Copy Markdown
Contributor

Summary

This PR addresses four related quality and correctness issues:

Test plan

  • Send a profile 99 native XLM + 1 XLM-coded custom token → total_100_xlm badge should not be awarded
  • Send a profile 100 native XLM (issuer=null) → badge is awarded
  • Check og:url on a preview deployment of /supporters/[address] — should reflect preview domain, not novasupport.xyz
  • Visit /embed/[username] for a deleted profile — should show the minimal embed error view, not the full site layout
  • Rapidly toggle two notification preferences before either PATCH resolves — UI should not revert a preference to the wrong value

Closes #717
Closes #714
Closes #715
Closes #716

…tom tokens (OlaGreat#717)

Grouping by assetCode alone let any Stellar token that reuses the code
'XLM' (with a non-null issuer) inflate the native XLM total, causing
the total_100_xlm badge to be awarded incorrectly.

Fix: group by both assetCode and assetIssuer, then filter for native
XLM (assetCode === 'XLM' && assetIssuer === null) before summing.
Same issuer-blind pattern fixed in OlaGreat#636 for milestone progress.

Closes OlaGreat#717
@drips-wave

drips-wave Bot commented Jun 28, 2026

Copy link
Copy Markdown

@daniella-techie Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@OlaGreat OlaGreat merged commit 93866d7 into OlaGreat:main Jun 29, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment