Skip to content

Refine rewards tier upgrade and top-up flows - #2564

Merged
MusabShakeel576 merged 4 commits into
qafrom
codex/rewards-upgrade-top-up-20260923
Sep 24, 2026
Merged

MusabShakeel576 merged 4 commits into
qafrom
codex/rewards-upgrade-top-up-20260923

Conversation

@creatix

@creatix creatix commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Refine rewards tier cards, benefits, and upgrade screen presentation.
  • Route tier upgrade top-ups through the deposit chooser and support Buy FUSE for lock upgrades, including the purchase review flow on iOS.
  • Add focused coverage for upgrade CTA, top-up, Buy FUSE, and iOS modal behavior.

Validation

  • Focused Jest: 5 suites, 28 tests passed.
  • Prettier check passed for changed TypeScript files.
  • Targeted ESLint: no errors; one existing no-console warning in store/swapStore.ts.
  • git diff --check passed.
  • tsc --noEmit reports 10 errors in files outside this change.

Integration note

This branch started at qa commit 16d0fb29. Since then, qa advanced and reverted the tier-upgrade feature on which these changes depend. The branch is intentionally left at its original base; merging it into current qa has conflicts in rewards components and the deposit store. Review the feature's return before resolving those conflicts. This PR is a draft until that decision and integration are complete.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@vercel

vercel Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated
solid-app Ignored Ignored Preview Sep 24, 2026 11:50am UTC
solid-app-staging Ignored Ignored Preview Sep 24, 2026 11:50am UTC

Request Review

creatix and others added 3 commits September 23, 2026 20:14
qa reverted the tier-upgrade feature in the 18 reverts merged with #2561.
This branch builds on that feature, so a plain merge would delete the code
it changes and leave it importing modules that no longer exist.

This merge brings in everything else qa has gained since the branch point
(the deposit rework, the 0.03% fee notice, issuer-based deposit routing)
and keeps the feature: every path the reverts removed is back in its
pre-revert state, with this branch's refinements on top.

Built as qa, plus the exact inverse of the reverts (a1e3912..03c17c2),
plus this branch. qa's post-revert changes apply unchanged over the
restored feature. The only file both touch is constants/modals.ts, where
TIER_UPGRADE_MODAL returns beside qa's removal of OPEN_DEPOSIT_CHAIN.
store/useDepositStore.ts takes qa's changes and this branch's
upgradeTopUp slice together.

Merging this PR therefore brings the tier-upgrade feature back to qa.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E6iamcwoqjwq77x9kDCPzR
qa now opens "Select token" first from Crypto and has deleted the
"Select chain" step (a1e3912, 6ee35e0), so DEPOSIT_MODAL.OPEN_DEPOSIT_CHAIN
no longer exists. The chooser test asserted that an ordinary Crypto press
opens it, which failed once qa was merged. The soFUSE top-up test's
negative check against it passed vacuously, since it compared against
undefined. Both now name the step Crypto opens on a phone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E6iamcwoqjwq77x9kDCPzR
@MusabShakeel576
MusabShakeel576 marked this pull request as ready for review September 24, 2026 11:52
@MusabShakeel576
MusabShakeel576 merged commit 185eacb into qa Sep 24, 2026
7 of 8 checks passed
@MusabShakeel576
MusabShakeel576 deleted the codex/rewards-upgrade-top-up-20260923 branch September 24, 2026 11:53
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.

3 participants