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

Cardano UI simplification for flows initiated by Suite #4256

Closed

Conversation

obrusvit
Copy link
Contributor

DRAFT

matejcik and others added 30 commits October 9, 2024 12:30
It is being moved into a custom handler for the debug app.
otherwise if _handle_single_message raises an exception (which is
fortunately not something that should generally happen), the
finally-block would fail on "referenced before assignment"
* RequestPaint message is sent at construction time to force calculation
  of number of pages
* given that Attach corresponds to "start the layout" message, Child now
  responds to Attach the same way it responds to RequestPaint, by
  force-repainting everything.
This doesn't actually advance the progress while device erase is ongoing, but at least the user sees a loader.
to prevent "unexpected response to Initialize" errors
The global layout related changes were wrong for T1 where debuglink
behavior is significantly different; in particular, it is not always
possible to communicate over debuglink.

This change reverts to the old behavior for T1B1 and keeps the new one
only for core-based models.
This was necessary for hooking display.refresh() with the old UI toolkit.
With the new one, we explicitly refresh the display after every paint, so
implicit after-step refresh seems no longer necessary.
same behavior as on Trezor One
* improve sync_responses to work on uninitialized instance
* sync responses at construction time
Otherwise a test can hang if the result is not returned. This is not
even covered by pytest-timeout because if a test fails, the call to
task.kill() happens during teardown, and pytest-timeout doesn't cover
that.
matejcik and others added 21 commits October 9, 2024 12:34
instead, download it to a temp location, as the Prophecy (and authors of
urlretrieve) foretold
- remove the choise of detail level ("Show simple" vs "Show all") when
signing simple transactions - these are the transactions typically
enabled by TrezorSuite.
This prompt was unintuitive as the menu button served as the "show more"
button. This commit implements a small SwipeFlow which hides the option
to the context menu.
@obrusvit obrusvit added core Trezor Core firmware. Runs on Trezor Model T and T2B1. altcoin Any non-Bitcoin coins labels Oct 11, 2024
@obrusvit obrusvit self-assigned this Oct 11, 2024
Copy link

legacy UI changes device test(screens) main(screens)

Copy link

github-actions bot commented Oct 11, 2024

core UI changes device test click test persistence test
T2T1 Model T test(screens) main(screens) test(screens) main(screens) test(screens) main(screens)
T3B1 Safe 3 test(screens) main(screens) test(screens) main(screens) test(screens) main(screens)
T3T1 test(screens) main(screens) test(screens) main(screens) test(screens) main(screens)
All main(screens)

@mmilata mmilata force-pushed the matejcik/global-layout-only3 branch from 27e4659 to 333c5ec Compare October 24, 2024 13:21
@obrusvit obrusvit closed this Oct 25, 2024
@obrusvit
Copy link
Contributor Author

followed here: #4284

@obrusvit obrusvit deleted the obrusvit/cardano-flows-gfl branch November 1, 2024 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
altcoin Any non-Bitcoin coins core Trezor Core firmware. Runs on Trezor Model T and T2B1.
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

3 participants