matejcik
adaf0b7871
refactor(core/ui): reusable timers
2024-10-16 16:23:46 +02:00
matejcik
c6bd058db3
style: fix complaining lints & formatters
2024-10-16 16:23:46 +02:00
matejcik
fe7ceeec4b
fix(core): correctly repaint ShowMore component when requested
2024-10-16 16:23:46 +02:00
matejcik
ad96676f18
refactor(core): improve recovery_enter_share
2024-10-16 16:23:45 +02:00
matejcik
f86bdca4b7
fix(core/ui): repaint the title of Progress layout when requested
2024-10-16 16:23:45 +02:00
matejcik
df6483c269
feat(core): unify RustLayout, implement single global layout
2024-10-16 16:23:45 +02:00
matejcik
532d461a02
refactor(core/rust): introduce layout lifecycle states on Rust side
2024-10-16 16:23:45 +02:00
matejcik
e7bc73bebc
refactor(core/ui): improve LayoutObj initialization
...
* 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.
2024-10-16 16:23:45 +02:00
matejcik
e9bb598d2f
refactor(core/rust): create a single code path allowed to modify SwipeFlow state
2024-10-16 16:23:45 +02:00
obrusvit
08845d410d
fix(core/ui): add 2nd version of continue anyway
...
To distinguish between prompt and a question.
2024-10-10 19:14:16 +02:00
obrusvit
faa209b5d9
fix(core/ui): use correct labels at a few places
...
[no changelog]
2024-10-10 19:14:16 +02:00
obrusvit
3475354a1a
fix(core/ui): fix title of XPUB success screen
2024-10-10 19:14:16 +02:00
Ioan Bizău
9b8f18577f
chore(core/ui): crash on button text too long
...
[no changelog]
2024-10-02 10:55:45 +03:00
Ioan Bizău
69100c0755
feat(core/ui): allow two lines of text in menu items
2024-10-02 10:55:45 +03:00
matejcik
6cbba09d1d
refactor(core): return FlowMsg::Choice and FlowMsg::Text as plain values
...
instead of tuples
2024-09-26 10:00:48 +02:00
matejcik
2661dbb3d1
fix(core): change incorrect usage of "deadline" in Rust timer code
2024-09-26 10:00:48 +02:00
matejcik
9431f2a77d
refactor(core/rust): simplify TryFrom<FlowMsg>
2024-09-26 10:00:48 +02:00
matejcik
a159ea133a
refactor(core/rust): add comments in frame.rs
2024-09-26 10:00:48 +02:00
matejcik
85d699a42d
refactor(core/rust): simplify match statement in footer.rs
2024-09-26 10:00:48 +02:00
matejcik
f7ce99e7d7
refactor(core/rust): EventPropagation enum
...
to indicate in a better way that some event should be propagated further
there are probably more places where this would be appropriate
2024-09-26 10:00:48 +02:00
matejcik
c0bb55258b
refactor(core/rust): use SwipeEvent in place of SwipeDetectMsg
2024-09-26 10:00:48 +02:00
matejcik
9f083c1865
refactor(core/rust): replace TouchAbort event with explicit abort via a detected swipe
...
worth considering:
pub enum Phase {
Start,
Move,
End,
}
pub enum TouchEvent {
Touch(Phase, Point),
Swipe(Phase, Point),
}
(Swipe needs its own Phase because it needs a progress on the Move, but
otherwise...)
2024-09-26 10:00:48 +02:00
matejcik
943d6d9b30
refactor(core/rust): use separate files for button and touch events
...
this makes it easier to feature-gate them
2024-09-26 10:00:48 +02:00
matejcik
e049efd171
refactor(core/rust): move ui::component::SwipeDirection to ui::geometry::Direction
...
it's a rather general thing, no reason to tie its existence to Swipe
2024-09-26 10:00:48 +02:00
matejcik
48edb483a0
refactor(core/rust): streamline FlowState handling
...
* use the freed-up FlowState name for an alias to &'static dyn
FlowController
* replace StateChange with raw Decision
* move FlowState into Decision::Transition (the other Decisions should
not have the ability to change state
* also rename `transit` to `goto` which is a much better name
2024-09-26 10:00:48 +02:00
matejcik
9cc03c91d1
refactor(core/rust): rename the FlowState trait to FlowController
...
so that we can use the FlowState name for a type alias
2024-09-26 10:00:48 +02:00
matejcik
30c08b6442
refactor(core/rust): simplify code for internal paging events
...
[no changelog]
2024-09-26 10:00:48 +02:00
cepetr
35c6f52133
refactor(core/embed): introduce system, tasks, applets and emergency mode
...
[no changelog]
2024-09-24 12:21:53 +02:00
Ioan Bizău
6da38f4cf3
feat(core): show account info in ETH send/stake flow
2024-09-24 11:57:34 +03:00
tychovrahe
6658c42a95
fix(core): use new rendering in changing_text
...
[no changelog]
2024-09-17 17:46:11 +02:00
tychovrahe
23d68eb0bb
fix(core): fix model T new-rendering loader
...
[no changelog]
2024-09-17 17:46:11 +02:00
tychovrahe
c6a1eba4b6
fix(core): fix fading on model T bootloader
...
[no changelog]
2024-09-17 17:46:11 +02:00
tychovrahe
1dc5c4c03f
fix(core): fix model_tr icons for new rendering
...
[no changelog]
2024-09-17 17:46:11 +02:00
obrusvit
8d1a9bc17f
chore(core): remove duplicated FlowMsg conversion
...
[no changelog]
2024-09-13 12:08:42 +02:00
obrusvit
9b4b1203b6
refactor(core/mercury): remove some unused code
...
[no changelog]
2024-09-12 21:26:45 +02:00
obrusvit
aab68b9dfa
feat(core/mercury): impl footer in RemainingShares
2024-09-12 21:26:45 +02:00
obrusvit
d15ecfb859
refactor(core/mercury): self-updating footer
...
This commit enables registering function for updating footer and header
based on the content. This eliminates the need to create wrappers around
Frame to update them.
[no changelog]
2024-09-12 21:26:45 +02:00
Ioan Bizău
f6aa7cbb08
fix(core): tweak swipes in ETH staking flow
2024-09-12 11:45:30 +03:00
Ioan Bizău
ba8f0ea4bc
feat(core): use new ETH send flow also for staking
2024-09-03 18:59:53 +03:00
obrusvit
c5f9fadbd1
fix(core/mercury): show remaining shares
...
This commit enables showing "Remaining shares" from the context menu
during recovery process. This is only shown during super-shamir.
2024-09-03 14:20:34 +02:00
tychovrahe
d334b92073
feat(core): add bootloader unlocking functionality to U5 optiga models
2024-09-03 13:07:34 +02:00
tychovrahe
b8c27d5fd6
feat(core/bootloader): only allow confirm-less firmware installation for full-trust images
2024-09-03 08:39:42 +02:00
Martin Milata
7db1529533
refactor(core/ui): alternative multipage footer
2024-09-02 19:36:25 +02:00
Martin Milata
2572705d1f
refactor(core/ui/mercury): delete CancelInfoConfirm
...
[no changelog]
2024-09-02 19:36:25 +02:00
Martin Milata
7c8be6f0ea
fix(core/ui/mercury): FIDO2 layouts
2024-09-02 19:36:25 +02:00
tychovrahe
6caafd6642
fix(core/bootloader): fix T3B1 bootloader UI - unsafe screen, boot image
2024-09-02 15:50:51 +02:00
obrusvit
9e18e72a2c
feat(core): ask for 20/33 words to unlock backup
...
Unlocking repeated backup is only possible with SLIP-39 extendable
backup which contains shares of 20 or 33 words. It is UI bug to have the
user choose from all options (12, 18, 20, 24, 33). This commit reduces
the choices when unlocking repeated backup to (20, 33) for all models.
2024-08-29 16:01:13 +02:00
tychovrahe
384615c047
fix(core): fix button alignment in T3T1 bootloader
...
[no changelog]
2024-08-29 10:49:32 +02:00
obrusvit
f0989e20b8
fix(core/ui): fix persistent word during recovery
...
Remove the current word from recovery progress if a user goes to
previous word.
[no changelog]
2024-08-28 14:33:02 +02:00
obrusvit
65d3fd00f1
fix(core/ui): fix mnemonic keys availability
...
This commit disables keys of mnemonic keyboard if their press cannot
lead to a valid word if the keyboard is initialized with a pre-filled
word. This is useful to get valid keyboard state when going to a
previous word during recovery.
[no changelog]
2024-08-28 14:33:02 +02:00