Skip to content

feat(frontend): add wallet on-chain balance mode#2217

Open
stackingsaunter wants to merge 2 commits intomasterfrom
feat/wallet-onchain-tx-list
Open

feat(frontend): add wallet on-chain balance mode#2217
stackingsaunter wants to merge 2 commits intomasterfrom
feat/wallet-onchain-tx-list

Conversation

@stackingsaunter
Copy link
Copy Markdown
Member

Summary

  • add an on-chain mode to the Wallet hero, reusing shared on-chain balance and pending channel UI from the channels screen
  • default wallet receive and send flows to the active balance context so on-chain actions land on the on-chain receive/send experiences
  • restyle the on-chain transaction list to match the Spending Balance transaction rows

Test plan

  • cd frontend && yarn tsc:compile
  • Manually verify the Wallet balance toggle and CTA routing in both balance modes
  • Manually verify the receive/send defaults from Wallet and from the invoice receive screen
  • Manually verify the on-chain transaction list styling and mempool links

Made with Cursor

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 8, 2026

Warning

Rate limit exceeded

@reneaaron has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 18 minutes and 31 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 18 minutes and 31 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 4d237662-e11e-4e55-8f7e-865136c579a8

📥 Commits

Reviewing files that changed from the base of the PR and between 46d3a89 and 496582d.

📒 Files selected for processing (7)
  • frontend/src/components/channels/OnchainTransactionsTable.tsx
  • frontend/src/components/wallet/OnchainBalanceSummary.tsx
  • frontend/src/components/wallet/PendingClosedChannelsAlert.tsx
  • frontend/src/screens/channels/Channels.tsx
  • frontend/src/screens/wallet/index.tsx
  • frontend/src/screens/wallet/receive/ReceiveOnchain.tsx
  • frontend/src/screens/wallet/send/Onchain.tsx
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/wallet-onchain-tx-list

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@reneaaron reneaaron changed the base branch from feat/wallet-layout-mobile-actions to master April 15, 2026 14:37
stackingsaunter and others added 2 commits April 15, 2026 16:40
Show on-chain balances and transactions in Wallet.
Keep receive and send flows aligned with the active balance mode.

Made-with: Cursor
…ast naming

Hide the balance mode toggle for backends without on-chain support
(PHOENIX, CASHU). Rename misleading `isLast` prop to `showSeparator`
in PendingClosedChannelsAlert.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@reneaaron reneaaron force-pushed the feat/wallet-onchain-tx-list branch from c671952 to 496582d Compare April 15, 2026 14:40
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