Skip to content

Conversation

@dolcalmi
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings December 19, 2025 21:22
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds functionality to automatically reload account balances when transaction updates are received via a GraphQL subscription. The implementation follows the existing pattern used for Lightning Network updates in the codebase.

Key Changes:

  • Created a new subscription component that listens for account updates (IntraLedger, Lightning, and OnChain transactions)
  • Wrapped the HomeScreen with a higher-order component to enable real-time balance updates
  • Generated corresponding GraphQL types and subscription hooks

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated 3 comments.

File Description
app/screens/home-screen/my-account-updates-sub.tsx New subscription component that refetches HomeAuthed query when relevant transaction updates occur
app/screens/home-screen/home-screen.tsx Wrapped HomeScreen component with the new subscription HOC to enable real-time updates
app/graphql/generated.ts Auto-generated TypeScript types and hooks for the new accountUpdates subscription
app/graphql/generated.gql Auto-generated GraphQL document for the accountUpdates subscription

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dolcalmi dolcalmi marked this pull request as ready for review December 19, 2025 22:02
Copilot AI review requested due to automatic review settings December 19, 2025 22:02
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 5 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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