Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show projected balance when there is pending transactions #118

Merged
merged 3 commits into from
Dec 19, 2024

Conversation

brusherru
Copy link
Member

No issue.

Screen.Recording.2024-12-16.at.13.27.44.mov

Copy link

You can preview the changes at : https://f124c9d3.smapp-lite-prod.pages.dev

Copy link
Collaborator

@monikasmolarek monikasmolarek left a comment

Choose a reason for hiding this comment

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

I had some issues updating/reflecting the state - both to start showing this cool pending state and then ending it and showing tx as applied and balance confirmed. I recorded it, but didn’t process the rec so it's a bit long and boring.

Screen.Recording.2024-12-16.at.21.56.30.mov

pendingBalance
? `Available balance: ${balance.projected} Smidge\n`
: ''
}Actual balance: ${balance.current} Smidge`}
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't know, maybe it's only me, but it's a bit misleading. Actual balance makes me think that I actually have this amount while I might no longer have it.
How about naming it pending or locked balance?

Copy link

You can preview the changes at : https://f38ac0df.smapp-lite-prod.pages.dev

@brusherru brusherru merged commit 5ad6fef into main Dec 19, 2024
1 check passed
@brusherru brusherru deleted the tweak-show-projected-balance branch December 19, 2024 14:12
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