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

[redesign] Trezor views #3570

Merged
merged 19 commits into from
Nov 21, 2022
Merged

[redesign] Trezor views #3570

merged 19 commits into from
Nov 21, 2022

Conversation

bgptr
Copy link
Collaborator

@bgptr bgptr commented Oct 13, 2021

Toward issue #3297
Requires decred/pi-ui#410 (merged)

This diff implements the updated Trezor views in #3297.
On Wallet Selection view - as an only change - a Create a Trezor-backed Wallet button has been added.
Tested on a physical Trezor One device and Trezor Modal T simulator.
Also added automated tests for the trezor views.

Screenshots:

create-trezor-view

create-trezor-view-closed-device-setup

create-trezor-view-opened-device-setup

no-device-view

trezor-settings-1

pin-modal

@bgptr bgptr marked this pull request as draft October 13, 2021 18:10
@bgptr bgptr marked this pull request as ready for review October 19, 2021 18:33
@bgptr bgptr force-pushed the trezor-redesign branch 2 times, most recently from 160b657 to e880215 Compare November 19, 2021 18:20
@bgptr bgptr mentioned this pull request Feb 2, 2022
@bgptr bgptr force-pushed the trezor-redesign branch 2 times, most recently from b04ed61 to 15b1adb Compare February 8, 2022 17:17
@bgptr bgptr force-pushed the trezor-redesign branch from 15b1adb to f764d93 Compare March 23, 2022 16:02
@bgptr bgptr force-pushed the trezor-redesign branch from f764d93 to af97cc3 Compare April 4, 2022 17:02
@alexlyp alexlyp requested a review from matheusd April 4, 2022 17:20
@bgptr bgptr force-pushed the trezor-redesign branch from c9e6503 to 6c68364 Compare May 2, 2022 09:51
@bgptr bgptr force-pushed the trezor-redesign branch from 6c68364 to 90ab7fb Compare May 13, 2022 16:04
@alexlyp
Copy link
Member

alexlyp commented Nov 18, 2022

@matheusd When you have some time it would be great if you could take a look at this diff. Changes and code looks solid but I don't currently have the ability to fully test all of the Trezor bits.

Copy link
Member

@matheusd matheusd left a comment

Choose a reason for hiding this comment

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

(removed comment sent in duplication)

Copy link
Member

@matheusd matheusd left a comment

Choose a reason for hiding this comment

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

LGTM (tested on model one and model T emulators)

Small nits, that are not show stoppers:

  • Sending a tx doesn't seem to be triggering notifications anymore (not sure it's related to this PR)
  • When restoring a model one and typing the seed words, the input focus is lost between words, so you need to click again in the input box after every word

@alexlyp alexlyp merged commit 441b4ae into decred:master Nov 21, 2022
@alexlyp
Copy link
Member

alexlyp commented Nov 21, 2022

Opened a new issue for these nits in #3835

@bgptr bgptr deleted the trezor-redesign branch November 21, 2022 19:56
alexlyp pushed a commit that referenced this pull request Apr 6, 2023
- introduce TrezorPageSection. Use accordion in the getstarted section and simple title and container inside the app
- update trezorPageAccordation's style 
- toggle pin protection
- toggle passphrase and on device
- rename ConfigButtons to SecuritySection
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.

3 participants