Commit Graph

37 Commits

Author SHA1 Message Date
Dain Nilsson
45e068e2e5
Fix keyboard focus issue in OATH dialog. 2022-07-07 11:30:34 +02:00
Dain Nilsson
68a776f23b
Update snackbars and options dialogs.
* Re-implement snackbar to always be floating, always on top.
* Use a dialog for Options instead of bottom sheet.
2022-07-05 12:13:22 +02:00
Dain Nilsson
5742763e1f
Add blur effect. 2022-07-04 12:56:31 +02:00
Dain Nilsson
7f093d97a2
Handle Non-YubiKey NFC devices-
This changes the currentDeviceDataNotifier to use an AsyncValue instead
of a nullable YubiKeyData to allow for error states, and handles such a
state for NFC readers when a non-YubiKey is present.
2022-06-28 19:51:58 +02:00
Dain Nilsson
c091bb5c18
Listen for cahnges to data instead of node to handle NFC correctly. 2022-06-10 16:24:33 +02:00
Dain Nilsson
e34dbece2d
Fix red screen of death for OATH code dialog when device removed. 2022-06-10 16:02:29 +02:00
Dain Nilsson
6e3c3d2e4c
Use Shortcuts/Intent/Action. 2022-06-10 13:49:02 +02:00
Dain Nilsson
d5c2bbebfa
Re-calculate expired code before copy in dialog. 2022-06-10 11:35:56 +02:00
Dain Nilsson
5a52083f57
Use CMD as modifier on MacOS instead of CTRL. 2022-06-10 11:35:54 +02:00
Dain Nilsson
25dc138132
Add Keyboard shortcuts.
CTRL+C to (calculate and) copy an OATH code.
CTRL+F to focus and select the search field.
2022-06-10 11:35:53 +02:00
Dain Nilsson
4a4580cd6a
Color tweaks to OATH code dialog. 2022-06-02 17:02:15 +02:00
Dain Nilsson
a8dec0aa30
Icon/chip styling. 2022-05-20 15:11:01 +02:00
Dain Nilsson
b34f38796c
OATH dialog: Use better theme colors. 2022-05-20 15:11:01 +02:00
Dain Nilsson
92d2d422ad
Remove some hardcoded colors and fix light theme. 2022-05-20 15:10:56 +02:00
Dain Nilsson
0fde22f52a
Style OATH code views. 2022-05-20 15:10:56 +02:00
Dain Nilsson
9b589bc1e6
Style OATH account dialog action buttons. 2022-05-20 15:10:54 +02:00
Dain Nilsson
af92068a75
Enable use_super_parameters lint rule. 2022-05-12 12:05:18 +02:00
Dain Nilsson
0641418e34
Fix lint warnings. 2022-05-12 08:34:51 +02:00
Adam Velebil
8734793e5e
Merge branch 'main' into fix/android-a2-2 2022-04-07 13:29:48 +02:00
Adam Velebil
1c80e9ceac
YADESK-632 never calculate in build() on Android 2022-04-07 10:48:59 +02:00
Dain Nilsson
83824b4609
Fix OATH code dialog for narrow screens. 2022-04-07 10:25:28 +02:00
Dain Nilsson
8af8f4c995
Remove unused imports. 2022-04-05 17:22:09 +02:00
Dain Nilsson
c4a0ae3bf7
De-duplicate code. 2022-04-05 17:12:11 +02:00
Dain Nilsson
58043545da
OATH code view tweaks. 2022-04-05 16:57:16 +02:00
Dain Nilsson
daba41bbfd
Animate OATH code view resizes. 2022-04-05 15:23:51 +02:00
Dain Nilsson
ba2e5be021
OATH code view updates.
- Don't show "refresh" for HOTP when code is available.
- Trigger "calculate" on open of account dialog if needed.
2022-04-05 14:53:18 +02:00
Dain Nilsson
815be808b1
Replace OATH code chip with rounded rectangle. 2022-04-04 19:14:34 +02:00
Dain Nilsson
5991efc2b9
Set opacity for expired OATH codes to 0.5. 2022-04-04 19:11:22 +02:00
Dain Nilsson
750f182bab
Update OATH views for new AppPage changes. 2022-04-03 11:06:22 +02:00
Dain Nilsson
5a13389895
Use OATH code chips. 2022-03-31 12:25:14 +02:00
Adam Velebil
e45fdb695d
show CircleTimer for TOTP only creds 2022-03-21 16:25:32 +01:00
Dain Nilsson
e77163dac2
Use "pinned" instead of "favorite". 2022-03-03 13:55:07 +01:00
Dain Nilsson
06ec0b3887
Add right-click meny to accounts.
This also moves common Account view related code into a reusable Mixin
class.
2022-03-03 10:01:36 +01:00
Dain Nilsson
3931ae86fb
Fix rename credential.
* Update credential in dialog.
* Only show rename button for >= 5.3.
* Don't throw exception in Code lookup for renamed credential.
2022-03-02 15:34:23 +01:00
Dain Nilsson
af27c5ef0f
Better handling of window resizing. 2022-03-02 11:08:07 +01:00
Dain Nilsson
5e9cd7d0d4
Blur background and set max width. 2022-03-02 10:47:00 +01:00
Dain Nilsson
d751c1a345
Make OATH accounts selectable. 2022-03-02 08:23:29 +01:00