Skip to content

## Pull Request Overview #26

Description

@silentius-satoshi

Pull Request Overview

This PR implements full Lightning wallet integration—including connection, state management, and transaction dashboard—and completely redesigns the Settings page with a multi-column layout, network management, and wallet connection sections.

  • Redesigned Settings.tsx with sidebar navigation, section routing, and relay/caching UI
  • Enhanced WalletContext.tsx with wallet info, transactions, and loading state; added WalletDashboard and SendReceivePanel
  • Updated wallet connection cards (BitcoinConnectCard, NostrWalletConnectCard, CashuWalletCard) and LightningWalletModal for improved UX

Reviewed Changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
src/pages/Settings.tsx New 3-column Settings layout with routing logic
src/contexts/WalletContext.tsx Added walletInfo, transactions, history, getInfo
src/components/lightning/wallet-connections/* Updated connection cards styling and props
src/components/lightning/LightningWalletModal.tsx Expanded modal to include dashboard and panel
src/components/WalletDashboard.tsx New dashboard showing balance, info, and history
src/components/SendReceivePanel.tsx New send/receive panel with invoice generation
src/components/ZapButton.tsx Minor param rename in internal function
src/components/WalletConnect.tsx Removed unused error destructure
src/components/VideoActionButtons.tsx Removed Zap handler, cleaned up imports
src/components/Navigation.tsx Added routing path for nav items
Comments suppressed due to low confidence (1)

src/components/ZapButton.tsx:121

  • The function parameter was renamed to _pubkey, but the comment above still refers to pubkey. Update the comment to match the unused parameter naming convention.
  const getZapEndpoint = async (_pubkey: string): Promise<string | null> => {

Originally posted by @Copilot in #25 (review)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions