trezor-firmware icon indicating copy to clipboard operation
trezor-firmware copied to clipboard

Auto-paginate on v1 UI

Open matejcik opened this issue 3 years ago • 1 comments

When debuglink.press_yes() is sent, the UI will quickly scroll through all screens of the pagination before closing the current screen. This simplifies certain parts of UI tests.

It also causes a small difference in paginated tests where the scrollbar overflows the title, which did not seem worth fixing.

This also brings a small refactor of the debuglink feature that makes it simpler to register for debuglink events.

517cb6f9a9b01a3bc4e2724d86d1a19a379a76eb adds a private implementation of RIPEMD160 to trezorlib so that it works fine even with recent openssl that removes the RIPEMD160 algorithm

9cf81d4da9cd5057c8f7d3d0d8a8bce5471fb09b fixes a problem with make test_emu_ui_multicore, which is a sibling problem to #2493

matejcik avatar Sep 09 '22 10:09 matejcik

UI difference: image image

full diff: https://satoshilabs.gitlab.io/-/trezor/trezor-firmware/-/jobs/3004946409/artifacts/master_diff/index.html

matejcik avatar Sep 09 '22 12:09 matejcik

this will not be relevant anymore.

we might want to implement the same thing for UI2 though

matejcik avatar Oct 31 '22 15:10 matejcik