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

Grey out harware wallets when unrelated or do not support method #848

Merged

Conversation

edouardparis
Copy link
Member

@edouardparis edouardparis commented Dec 5, 2023

close #830

@edouardparis edouardparis force-pushed the filter-unsupported-wallets branch from 78dc7ee to 2c9a862 Compare December 6, 2023 15:44
@edouardparis edouardparis requested a review from jp1ac4 December 6, 2023 15:56
@edouardparis edouardparis marked this pull request as ready for review December 6, 2023 15:56
Copy link
Collaborator

@jp1ac4 jp1ac4 left a comment

Choose a reason for hiding this comment

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

I've tested 2c9a862 using Specter.

When it's not part of the wallet, it is greyed out and I cannot click it when verifying the receive address. When it's part of the wallet, it's again greyed out, but I'm still able to click it and an error message appears. Not sure if that's expected.

@edouardparis
Copy link
Member Author

what is the error message please ?

Copy link
Member

@darosior darosior left a comment

Choose a reason for hiding this comment

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

Tested quickly with my test Ledger on my main wallet and correctly got the error. Left a wording suggestion, if someone else better at english have a better suggestion i'd be happy to let mine go.

gui/ui/src/component/hw.rs Outdated Show resolved Hide resolved
gui/src/app/view/hw.rs Outdated Show resolved Hide resolved
@edouardparis edouardparis force-pushed the filter-unsupported-wallets branch from d40679a to eb57d9b Compare December 7, 2023 11:41
@edouardparis
Copy link
Member Author

Fixed the bug that let select grey out specter, fixed wording, rebased

Copy link
Collaborator

@jp1ac4 jp1ac4 left a comment

Choose a reason for hiding this comment

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

ACK eb57d9b.

I tested again with Specter and it is now greyed out and not clickable in both cases (part of the wallet or not).

what is the error message please ?

The error message before was the same as the tooltip saying to check manually on the device.

gui/src/app/view/hw.rs Outdated Show resolved Hide resolved
@edouardparis edouardparis force-pushed the filter-unsupported-wallets branch from eb57d9b to 3372e2f Compare December 7, 2023 13:39
@jp1ac4
Copy link
Collaborator

jp1ac4 commented Dec 7, 2023

ACK 3372e2f.

@darosior darosior merged commit 6151c57 into wizardsardine:master Dec 7, 2023
18 checks passed
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.

GUI: list but grey out devices incompatible with address verification
3 participants