status-desktop/ui/imports
Sale Djenic a2f48eef49 refactor(@desktop/keycard): buttons' responibility in the keycard popup improved
A new rule introduced which should provide easier tracking/maintainig
later. The rule says:
- popup contains up to 3 action buttons and one back button (optional)
- if 3 buttons are displayed in the popup then the most left button, but
not back button, always triggers tertiary action, middle button always
triggers secondary action and the most right button always triggers primary
action
- if 2 buttons are displayed, then:
  - if one of them is "Cancel" (left button) it should trigger tertiary action
and the other one (right button) should trigger primary action
  - if non of them is "Cancel" then the left button triggers secondary action
and the right button triggers primary action
- if single button is displayed, then:
  - if it's "Cancel" it triggers tertiary action
  - if it is not "Cancel" it triggers primary action
- tertiary action always reffers to the cancel action until otherwise set
- tertiary action will be always triggered by closing popup via keybord
(esc key) or clicking on top right `x` button on the popup
2022-09-15 11:01:32 +02:00
..
Themes style: remove trailing whitespaces 2022-02-09 11:16:23 +01:00
assets feat(@desktop/keycard): new assets for authentication flow added 2022-09-14 16:05:52 +02:00
shared refactor(@desktop/keycard): buttons' responibility in the keycard popup improved 2022-09-15 11:01:32 +02:00
utils feat(@desktop/keycard): authenticate flow added 2022-09-14 16:05:52 +02:00