Skip to content

Conversation

@ben-kaufman
Copy link
Contributor

This PR detects when a tx spends funds of a closed channel to identify the tx as a transfer from spendings to savings.

It also fixes the time estimate for the pending transfer activity.

Testing:

Enter Savings -> Transfer to spendings. Wait for the channel to open.
Enter Spendings -> Transfer to savings. Check activities and see 2 transfer activities, one into spendings and one back to spendings.

Screen.Recording.2025-11-14.at.11.58.18.AM.mov

Base automatically changed from feat/receive-tags to master November 14, 2025 17:31
@jvsena42
Copy link
Member

The transfer from spending icon is purple, could you fix it?

https://www.figma.com/design/ltqvnKiejWj0JQiqtDf2JJ/Bitkit-Wallet?node-id=36310-192403&t=JtYJ6n0qyoAUZhZe-4

Copy link
Collaborator

@ovitrif ovitrif left a comment

Choose a reason for hiding this comment

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

ACK

Awsm work ❤️

Tests

  1. Existing former transfer to savings:
    • It was previously shown as "Received",
    • Now shows as Transfer from Spending 🟢
  2. New Transfer to Savings:
    • Shows briefly as "Received"
    • Then quickly becomes Transfer from Spending

Next Polishing tasks about this feature (roadmap: Activity…)

(now, the work on it is unlocked, was not relevant to tackle before this PR)

  • Detail screen of Transfer From Spending Activity (FIGMA SLIDE):
    • add cells: TO SAVINGS + FEES (PREPAID) under DATE + TIME
    • Add link to Connection (Lightning Connections > Connection Detail screen)
    • use purple accent

@ovitrif ovitrif merged commit a81f34f into master Nov 14, 2025
6 checks passed
@ovitrif ovitrif deleted the feat/closed-channels-activity branch November 14, 2025 18:55
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.

4 participants