1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-05-23 01:08:46 +00:00
Commit Graph

15053 Commits

Author SHA1 Message Date
Martin Milata
fc33f8dbc2 refactor(core/ui): parametrize show_pairing_code 2025-05-16 00:18:04 +02:00
Martin Milata
5b2e660f14 refactor(core): ignore BLE exceptions on boot
[no changelog]
2025-05-16 00:15:34 +02:00
Martin Milata
927ad3944b refactor(core): add maybe_get_context
[no changelog]

(cherry picked from commit 3bb3b774c1)
2025-05-16 00:15:34 +02:00
Martin Milata
fb36b8d19d refactor(core): drain the BLE event queue whenever layout is running
[no changelog]
2025-05-16 00:15:34 +02:00
Martin Milata
11b390c700 feat(core): BLE pairing flow 2025-05-16 00:15:34 +02:00
Martin Milata
e9d7c1ed6d feat(core/ui): eckhart: BLE event handling
[no changelog]
2025-05-16 00:14:20 +02:00
obrusvit
926c08f8c6 chore: fix pyright 2025-05-15 13:39:51 +02:00
obrusvit
b4ba7bca28 chore: regenerate signatures 2025-05-15 13:39:51 +02:00
Lukas Bielesch
8240276af5 feat(eckhart): implement missing eckhart tests and flows 2025-05-15 13:39:51 +02:00
obrusvit
4e34d98794 fix(eckhart): a few alignment and style issues 2025-05-15 13:39:51 +02:00
Lukas Bielesch
273ef23005 fix(eckhart): fix unstable click tests 2025-05-15 13:39:51 +02:00
Lukas Bielesch
0d324b879b chore(eckhart): paginate, where possible 2025-05-15 13:39:51 +02:00
Lukas Bielesch
5d882dc0b8 chore(eckart): Differentiate input vectors for Eckhart due to different screen size 2025-05-15 13:39:51 +02:00
Lukas Bielesch
deff47531a feat(eckhart): confirm_signverify, confirm_blob, ethereum, solana and nostr support 2025-05-15 13:39:51 +02:00
Lukas Bielesch
48ae2bad26 chore(eckhart): use dedicated function for menu buttons creation 2025-05-15 13:39:51 +02:00
Lukas Bielesch
11fb6f3e90 chore(eckhart): update show_mismatch, confirm_output and confirm_value and progress_screen functions 2025-05-15 13:39:51 +02:00
Lukas Bielesch
ae199b98a8 feat(eckhart): implement trait functions: confirm_value_intro,
confirm_modify_output, confirm_modify_fee, confirm_with_menu,
show_info_with_cancel and confirm_props
2025-05-15 13:39:51 +02:00
Lukas Bielesch
963a42b902 feat(eckhart): update request number trait function
add request number flow instead of screen only
add updatable info screen to show extra information
2025-05-15 13:39:51 +02:00
Lukas Bielesch
162e6e2a9e chore(eckhart) update get_address flow to use xpubs
update test to scroll throiugh an entire page
2025-05-15 13:39:51 +02:00
Lukas Bielesch
401289d6ee chore(eckhart): remove line ending hyphens from mono fonts 2025-05-15 13:39:51 +02:00
Lukas Bielesch
79558b5305 chore(eckhart): TextScreen improvements
update page count for the content,
add page limit,
enable subtitle to have two lines
2025-05-15 13:39:51 +02:00
obrusvit
6c6070704d chore(eckhart): remove animation code from Header 2025-05-15 13:39:51 +02:00
obrusvit
e81c97bdda feat(eckhart): progress screen
- implement `show_progress` and `show_progress_coinjoin` FirmwareUI
functions
2025-05-15 13:39:51 +02:00
obrusvit
86abe5e0f9 feat(eckhart): implement render_loader
- `render_loader` shows classic circular loader going around the
display, implemented by rendering `ScreenBorder` and hiding it by 5
black rectangles which progressively diminish
- `render_loader_indeterminate` shows progress loader without known
duration, implemented by rendering `ScreenBorder` in clip which travels
around the SCREEN in an octagonal shape. This achieves an effect of a
constant length line going around the screen shape
2025-05-15 13:39:51 +02:00
obrusvit
b2d334272e feat(eckhart): extract tile pattern constants 2025-05-15 13:39:51 +02:00
obrusvit
08c9ece0e0 fix(core): prevent overflow in storage UI callback
- this PR makes sure that the reported `wait` argument (in seconds) does
not underflows to "4294967 seconds"
- this can ocassionaly happen in animated loader

[no changelog]
2025-05-15 13:39:51 +02:00
obrusvit
f5e8f14065 feat(core): animate ProgressLayout in Python
- the commit allows for smoother animation of the `ProgressLayout` by
stepping through the reported progress
2025-05-15 13:39:51 +02:00
obrusvit
d02c11ff3c chore(eckhart): re-export new Close icon 2025-05-15 13:39:51 +02:00
Lukas Bielesch
00f58bd199 chore(eckhart): provide short and long vertical menu 2025-05-15 13:39:51 +02:00
Lukas Bielesch
1e653a33cc feat(eckhart): implement fido tests 2025-05-15 13:39:51 +02:00
Lukas Bielesch
ebf1ee9a62 chore(eckhart): Update components
Fix show_error action bar and header colors
Implement AllowedTextContent for FidoCredential
Add new return type for VerticalMenuScreen
2025-05-15 13:39:51 +02:00
Lukas Bielesch
81e523885a feat(eckhart): add FIDO2 support
FidoCredential component, confirm_fido flow and icons
2025-05-15 13:39:51 +02:00
Lukas Bielesch
3785e851d5 chore(eckhart): enable vertical menu swipe without animations 2025-05-15 13:39:51 +02:00
Lukas Bielesch
005191525b chore(eckhart): Implement new struct for word-selection menu
This simplifies the implementation of the verical menu
2025-05-15 13:39:51 +02:00
Lukas Bielesch
941875c254 core(eckhart): Update Vertical Menu
Leave event processing to the Vertical Menu
Disable scrolling when the menu fits the screen
2025-05-15 13:39:51 +02:00
obrusvit
3ff6b55520 test: fix T3W1 rust tests 2025-05-15 13:39:51 +02:00
obrusvit
8a97dcaf5c feat(eckhart): use gradients in ActionBar 2025-05-15 13:39:51 +02:00
obrusvit
f75d45081d feat(eckhart): fix hint padding 2025-05-15 13:39:51 +02:00
Lukas Bielesch
6b6bef485c fix(eckhart): fix failing gen_check 2025-05-15 13:39:51 +02:00
Martin Milata
d14e5b725a NO MAIN: build and upload arm64 emulator 2025-05-15 13:39:51 +02:00
Martin Milata
2e5513eb9c refactor(core): device menu modules
[no changelog]
2025-05-15 13:39:51 +02:00
Ioan Bizău
07424f1625 fix(eckhart): optimize device menu 2025-05-15 13:39:50 +02:00
Ioan Bizău
1029fe684c feat(eckhart): send device name and version to the device menu 2025-05-15 13:39:50 +02:00
Ioan Bizău
e2dda46c4b feat(eckhart): layouts for device pairing 2025-05-15 13:39:50 +02:00
Ioan Bizău
bc8a90a25e feat(eckhart): introduce the device menu 2025-05-15 13:39:50 +02:00
obrusvit
5fc535b0b7 feat(eckhart): gradient buttons 2025-05-15 13:39:50 +02:00
obrusvit
ddd11e1b8f chore(eckhart): remove Hint animation code 2025-05-15 13:39:50 +02:00
Lukas Bielesch
b335e92730 fix(eckhart): Fix behavior of set brightness screen:
Do not confirm brightness by releasing finger, but by pressing the cross button.
2025-05-15 13:39:50 +02:00
obrusvit
435be1cc15 feat(eckhart): improve confirmations 2025-05-15 13:39:50 +02:00
obrusvit
301776728f feat(eckhart): auto PaginateOnly for TextScreen
- make sure that TextScreen has at least PaginateOnly ActionBar if the
content doesn't fit
2025-05-15 13:39:50 +02:00