1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-15 20:19:23 +00:00
Commit Graph

470 Commits

Author SHA1 Message Date
Martin Milata
de383f2a8e refactor(core/ui): fix bootloader build failure 2024-04-24 02:31:43 +02:00
obrusvit
4957ddefc7 fix(core/ui): remove border from T3T1 buttons
According to Figma designs, there will be no rounded buttons in T3T1, so
the ButtonStyle does not need these fields.

[no changelog]
2024-04-24 02:31:43 +02:00
obrusvit
3903acf8dd feat(core/ui): T3T1 confirm backup flow 2024-04-24 02:31:43 +02:00
obrusvit
30a95b09ae feat(core/ui/): introduce SwipeUpScreen
A simple wrapper of a component which supports returning
PageMsg::Confirmed if swipe up action was detected.
2024-04-24 02:31:41 +02:00
obrusvit
ef0942bacf feat(core/ui): add T3T1 Status/PromptScreen
StatusScreen serves to show a result of operation, typically a checkmark
with a circle around dismissed by swipe up gesture.

PromptScreen serves to confirm action, typically by holding a button.

Designs based on Figma.
So far without animation.
2024-04-24 02:31:10 +02:00
obrusvit
59bde49018 feat(core/ui): T3T1 Frame additions
This commit allows all combinations of Frame designs from Figma. This
includes adding icon_color to ButtonStyle and a small cleanup of
ButtonStyleSheets.
2024-04-24 01:59:07 +02:00
obrusvit
526a5a3460 feat(core/ui): add two more T3T1 icons
Icon named sign used in hold to confirm prompt screens.
2024-04-24 01:59:07 +02:00
obrusvit
18a9c9cb1c feat(core/ui): T3T1 reset wallet screen
The first screen in wallet reset (onboarding or recovery) implemented as
a simple SwipeFlow to handle moving between Menu and back.
2024-04-24 01:59:03 +02:00
obrusvit
e358b2c97a feat(core/ui): add Footer to T3T1 Frame 2024-04-24 01:58:48 +02:00
obrusvit
43377c1c1d fix(core): rebase on drawlib
mercury theme.rs needs some cleanup after this action
2024-04-16 23:32:38 +02:00
Martin Milata
e9c420f1a2 feat(core/ui): GetAddress flow demo 2024-04-16 23:32:38 +02:00
Martin Milata
90f4492cec feat(core/ui): rust-based UI flows
[no changelog]
2024-04-16 23:32:38 +02:00
obrusvit
2c89fc469e fix(core): rebase on drawlib and TStringificaton
[no changelog]
2024-04-16 23:32:38 +02:00
obrusvit
a801b00dc2 feat(core): T3T1 ShareWords component 2024-04-16 23:32:38 +02:00
Martin Milata
37b17e4c4e style(core): fix formatting
[no changelog]
2024-04-16 23:31:42 +02:00
obrusvit
1894fcd080 fix(core): port changes from drawlib to mercury
Again rebase on current drawlib
Move of canvas/Canvas to shape/Canvas.
Get rid of ui/shape/model.
A few other minor changes.

[no changelog]
2024-04-16 23:31:42 +02:00
obrusvit
04857e486a feat(core): T3T1 corner highlight shape
Adds a new shape which serves to highlight information within a
rectangle.
2024-04-16 23:31:42 +02:00
obrusvit
b2f30389bf feat(core): T3T1 Footer component 2024-04-16 23:31:42 +02:00
obrusvit
a31021bf22 feat(core): T3T1 vertical menu 2024-04-16 23:30:08 +02:00
obrusvit
fe1ce7a914 fix(core): rebase on current drawlib
Port new render function signature to model_mercury.
Fix some rebase errors.
Also port recent changes from mp <-> rust iface.

[no changelog]
2024-04-16 23:30:08 +02:00
obrusvit
c1adf7aba1 feat(core): add rough TextStyles for T3T1 2024-04-16 23:30:08 +02:00
Martin Milata
6bc4f185b7 feat(core/ui): T3T1 frame 2024-04-16 23:30:08 +02:00
Martin Milata
c7101adcdc feat(core): add icons for T3T1 2024-04-16 23:30:08 +02:00
obrusvit
1776ff4a64 feat(core): add colors for T3T1 2024-04-16 23:30:08 +02:00
Martin Milata
6da7832104 feat(core): init T3T1 UI layouts
Start with copy of components and layouts from T2T1.
2024-04-16 23:30:08 +02:00
Martin Milata
d5f5aeeb77 feat(core): init T3T1 UI layouts: meta 2024-04-16 23:30:07 +02:00
Martin Milata
f3697f9aae feat(core): add fonts for T3T1 2024-04-16 23:30:07 +02:00
cepetr
59fc8853ec WIP - replace painter by jpeg and bar components 2024-04-16 15:56:55 +02:00
cepetr
752b740d8a feat(core): integrate new drawing library
[no changelog]
2024-04-16 15:56:55 +02:00
cepetr
7bcf2a4fed feat(core): introduce new drawing library
[no changelog]
2024-04-16 15:56:45 +02:00
cepetr
e18c52bbc8 refactor(core): improve tjpg interface 2024-04-16 15:56:45 +02:00
Martin Milata
4baa4d95a4 fix(core): fix display fatal error screen (T3T1)
[no changelog]
2024-04-12 12:25:46 +00:00
Martin Milata
5c5433ada2 refactor(core/rust): use more Self
[no changelog]
2024-04-12 12:25:46 +00:00
Martin Milata
906c00e4e5 refactor(core): rename screen_boot_{empty,full} to screen_boot_stage_{1,2}
[no changelog]
2024-04-12 12:25:46 +00:00
Martin Milata
804d97c9d8 feat(core): bootloader: T3T1 startup UI
[no changelog]
2024-04-12 12:25:46 +00:00
tychovrahe
c277dbcfcb feat(core): T3T1 loader
[no changelog]
2024-04-12 12:25:46 +00:00
Martin Milata
cf00726152 feat(core): copy T2T1 bootloader UI for T3T1 2024-04-12 12:25:46 +00:00
tychovrahe
72146c2ae2 fix(core): fix display fatal error screen
[no changelog]
2024-04-11 19:16:23 +02:00
cepetr
b1fb876709 fix(core): fix ts3 fonts
[no changelog]
2024-04-08 15:38:39 +02:00
Martin Milata
c7832c39ab refactor(core/rust/ui): use TString instead of StrBuffer when constructing layouts
[no changelog]
2024-04-06 20:31:36 +00:00
tychovrahe
256adc3567 refactor(core/rust) use TString in Label and Button
[no changelog]
2024-04-06 20:31:36 +00:00
tychovrahe
535a052df4 refactor(core/rust): introduce UIFeaturesXXX trait as an abstraction over different UI implementation
[no changelog]
2024-04-05 18:16:59 +02:00
cepetr
285b22e53e refactor(core): add ufmt, bump heapless from 0.7.6 - 0.8.0
[no changelog]
2024-04-04 15:02:28 +02:00
matejcik
39b7b22777 refactor(core/rust): Paragraph is now based on TString 2024-04-04 10:04:00 +02:00
matejcik
9c287adf64 feat(core/rust): some useful traits for TString
string equality comparison and SkipPrefix
2024-04-04 10:04:00 +02:00
matejcik
f3b884bf93 refactor(core): improve safety of translation blobs
* the public interface to Translations is now completely safe
* it is more obvious that `map_translated` needs to work the way it does
* documentation is improved
2024-04-04 09:53:45 +02:00
matejcik
45a4a1da99 fix(core/translations): correctly rename previous symbol
[no changelog]
2024-04-02 11:10:24 +02:00
matejcik
1c36c0927c style(core): fix (hopefully) the weird clippy warning about HOMESCREEN_TOIF_X_OFFSET
[no changelog]
2024-03-30 12:10:59 +01:00
matejcik
de2fe3d6d6 feat(core/ui): unify progress.py code between models, implement storage translations
fixes #3520
2024-03-30 12:10:59 +01:00
matejcik
ed89215a79 feat(core): expose StorageMessage to micropython
[no changelog]
2024-03-30 12:10:59 +01:00