Roman Zeyde
a6f99a65b4
perf(core): don't use Option<Insets>
to save memory
...
Otherwise, the compiler adds 2 bytes per `Button` struct.
[no changelog]
2025-06-09 20:21:28 +03:00
Roman Zeyde
5dbf726160
perf(core): change TextAndSubtext::subtext_style
to a reference
...
It should significantly reduce the size of `heapless::Vec<ui::layout_eckhart::component::button::Button, 100>`.
[no changelog]
2025-06-09 20:21:28 +03:00
obrusvit
018330f3c2
chore(eckhart): remove hold to lock animation
...
- hold to lock animation will not be used on the Homescreen
- the locking functionality is kept for debug purposes and is increased
to 3 seconds
[no changelog]
2025-06-09 17:59:47 +02:00
tychovrahe
3324af7b50
refactor(core): unify CommonUI screen definition
...
[no changelog]
2025-06-09 17:48:56 +02:00
Roman Zeyde
14909e37ed
style(core): prefix unused parameters with _
...
[no changelog]
2025-06-09 17:20:05 +02:00
tychovrahe
01465aac7c
feat(core): update NRF application from firmware
...
[no changelog]
2025-06-09 17:12:31 +02:00
tychovrahe
ccb28f4aab
refactor(core): move c string conversion out of UI code
...
[no changelog]
2025-06-09 17:12:31 +02:00
tychovrahe
4e31a9e20a
fix(core/rust): make rust crate compilable without UI
...
[no changelog]
2025-06-09 17:12:31 +02:00
tychovrahe
dda281e78a
chore(core): fix clippy errors
...
[no changelog]
2025-06-09 17:12:31 +02:00
tychovrahe
6aa981da45
chore(core): update rust
...
[no changelog]
2025-06-09 17:12:31 +02:00
obrusvit
2dfae34b39
fix(eckhart): aligned screen border top arc
...
[no changelog]
2025-06-09 17:09:19 +02:00
Lukas Bielesch
8cfa6a3693
chore(eckhart): update shamir wallet creation
...
[no changelog]
2025-06-09 08:52:32 +02:00
Lukas Bielesch
468ddaab9d
chore(eckhart): simplify updatable info screen
...
[no changelog]
2025-06-09 08:52:32 +02:00
Lukas Bielesch
13a020202e
chore(eckhart): update pin flows for Eckhart UI
...
[no changelog]
2025-06-08 18:19:32 +02:00
tychovrahe
e3639fe195
fix(core/bootloader): eckhart - fix menu button not showing on some screens
...
[no changelog]
2025-06-06 17:47:49 +02:00
Ioan Bizău
334079e453
feat(eckhart): allow buttons without multiline text
...
[no changelog]
2025-06-06 15:34:22 +02:00
Ioan Bizău
9d91c7a69c
chore(eckhart): check button subtitle overflow
...
[no changelog]
2025-06-06 15:34:22 +02:00
Ioan Bizău
3f3fd4a021
feat(eckhart): allow multiline text in buttons
...
[no changelog]
2025-06-06 15:34:22 +02:00
Lukas Bielesch
0bff79e0e9
chore(tests): check the correct keyboard category
...
[no changelog]
2025-06-05 23:59:19 +02:00
Lukas Bielesch
9494ba8896
fix(core/eckhart): fix passphrase keyboard bug
...
- when multi tab key timer expires, the buttons are resetted only if the passphrase reached the max length
- when the passphrase keyboard layout is swapped, the buttons are resetted
[no changelog]
2025-06-05 23:59:19 +02:00
Lukas Bielesch
26a52a5ed4
chore(core/eckhart): change button content vertical aligment implementation
...
- previous impl. using allcase_height wasn't properly centering the text
[no changelog]
2025-06-05 23:59:19 +02:00
Roman Zeyde
f6f1471774
refactor(core): convert translation strings to str
once
...
Instead of doing it on every `TranslationStringsChunk::get()` call.
[no changelog]
2025-06-05 21:08:14 +03:00
Roman Zeyde
d6b1cff024
feat(core): support new translation blob format
...
It supports multiple translations strings chunks and allows total
container size to be above 64kB.
Previous format is also supported by firmware.
2025-06-05 20:55:56 +03:00
Roman Zeyde
96fd484c2f
chore(core): use .into()
to convert from u16
to usize
...
It would fail to compile in case there is a possible truncation,
since using `as` will result in silent truncation.
[no changelog]
2025-06-05 20:55:56 +03:00
Roman Zeyde
880ee5af7a
chore(core): remove unused MAGIC
constant
...
[no changelog]
2025-06-05 20:55:56 +03:00
Martin Milata
99f56a09d0
refactor(core/ui): parametrize show_pairing_code
...
[no changelog]
2025-06-05 15:53:23 +02:00
Martin Milata
c3afe4c67b
feat(core): BLE pairing flow
...
[no changelog]
2025-06-05 15:53:23 +02:00
Martin Milata
f077f2d1c1
feat(core/ui): eckhart: BLE event handling
...
[no changelog]
2025-06-05 15:53:23 +02:00
Roman Zeyde
5c49084a16
perf(core): wrap AddressDetails
in a GcBox
...
[no changelog]
2025-06-04 21:01:25 +03:00
Roman Zeyde
bdc75e295d
chore(core): improve ImageBuffer
locking error message
...
Usually `AllocationFailed` is due to GC OOM errors,
while here it's more "deadlock-like" scenario.
[no changelog]
2025-06-04 20:52:55 +03:00
cepetr
bbb74c03a4
feat(core): introduce secure monitor
...
[no changelog]
2025-06-04 16:58:15 +02:00
Lukas Bielesch
cafed0d02b
chore(core/eckhart): Unify usage of ParagraphVecShort
...
[no changelog]
2025-06-04 12:47:50 +02:00
Lukas Bielesch
3f14cd1d27
chore(eckhart): replace-by-fee update
...
[no changelog]
2025-06-04 12:47:50 +02:00
Lukas Bielesch
17f2d05baa
fix(core): clippy warning
...
[no changelog]
2025-06-04 12:47:50 +02:00
tychovrahe
ec4e6de040
fix(core/prodtest): fix bolt welcome screen without power manager
...
[no changelog]
2025-06-04 08:12:48 +02:00
tychovrahe
7294cc62fb
feat(core/prodtest): separate prodtest UI implementation for Eckhart
...
[no changelog]
2025-06-04 08:12:48 +02:00
Lukas Bielesch
d91923b999
chore(core/eckhart): Update passphrase-related flows
...
[no changelog]
2025-06-03 18:59:37 +02:00
Lukas Bielesch
41a852c675
chore(core/eckhart): Update ConfirmAction button styling logic
2025-06-03 18:59:37 +02:00
Lukas Bielesch
1f69975ba9
chore(core/eckhart): Allow TextScreen to be used without a header
...
[no changelog]
2025-06-03 18:59:37 +02:00
Roman Zeyde
c01b56a5a0
fix(core): Eckhart doesn't have a separate confirm page
...
[no changelog]
2025-06-03 18:10:35 +03:00
Lukas Bielesch
9643253630
feat(eckhart): implement FW update UI trait function
...
[no changelog]
2025-06-03 17:02:20 +02:00
Ioan Bizău
98aa195443
fix(core/ui): confirm_output subtitle
...
[no changelog]
2025-06-03 15:06:29 +02:00
Ioan Bizău
d65b4f0e86
fix(core): warnings in device build
...
[no changelog]
2025-06-03 14:18:47 +02:00
Roman Zeyde
cec282993a
refactor(core): simplify per-model imports using cfg-if
macro
...
[no changelog]
2025-06-01 14:31:43 +03:00
Roman Zeyde
64241033cb
chore(core): move coverage-related Rust code into a separate module
...
Also, exclude it from non-debug builds.
[no changelog]
2025-05-30 19:26:51 +03:00
Roman Zeyde
1b8116129a
chore(core): add a missing Map
import for obj_module
macro
...
[no changelog]
2025-05-30 19:26:51 +03:00
obrusvit
341cc54071
chore: regenerate langs/signatures/qstr/fixtures
2025-05-30 17:38:16 +02:00
obrusvit
1efdad0aab
feat(eckhart): port recent functionaliy
...
- ETH approve, #4958
- success screens after BR, #4882 and #5068
- do not confirm known SOL token, #5086
- fail on text overflow, #4767
2025-05-30 17:38:16 +02:00
obrusvit
0f695b55a9
refactor(core): fn plural_form will never panic
...
- also minor adjustment where the function is used in Eckahrt
2025-05-30 17:38:16 +02:00
obrusvit
d73f0dc79d
perf(core/eckhart): constructing MenuItems
...
- self-referential builder pattern is easier on the stack memory usage
than consuming builder pattern
- store ButtonStyleSheet as a static ref
2025-05-30 17:38:16 +02:00