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

feat: add channel alerts in send and receive pages #286

Merged
merged 8 commits into from
Jul 19, 2024
Merged

Conversation

im-adithya
Copy link
Member

@im-adithya im-adithya commented Jul 17, 2024

Fixes #241

What if the user doesn't have any channels? Should we hide the Send/Receive buttons from the Wallet screen

Screenshot 2024-07-19 at 12 43 33 PM

Send

Screenshot 2024-07-19 at 12 44 14 PM

Receive

Screenshot 2024-07-19 at 12 43 59 PM

frontend/src/screens/wallet/Send.tsx Outdated Show resolved Hide resolved
frontend/src/screens/wallet/Receive.tsx Outdated Show resolved Hide resolved
@rolznz
Copy link
Contributor

rolznz commented Jul 18, 2024

@im-adithya

What if the user doesn't have any channels? Should we hide the Send/Receive buttons from the Wallet screen

Good question, I think we should have a specific alert for this on the main wallet page, and not allow the user to enter the send or receive pages (If the LNClient has channel management and the user has no channels)

@rolznz rolznz changed the title chore: add channel alerts in send and receive pages feat: add channel alerts in send and receive pages Jul 19, 2024
Copy link
Contributor

@rolznz rolznz left a comment

Choose a reason for hiding this comment

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

tACK

@rolznz rolznz merged commit e4f595b into master Jul 19, 2024
8 checks passed
@rolznz rolznz deleted the task-add-alerts branch July 19, 2024 16:50
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.

Add alerts on wallet send/receive pages if receiving/sending capacity is insufficient
3 participants