Commit Graph

204 Commits

Author SHA1 Message Date
Adam Velebil
89d9a64941
regenerate freezed files 2022-07-21 16:38:45 +02:00
Dain Nilsson
cb407691e0
Move Chip actions to Popup menu. 2022-07-07 20:31:42 +02:00
Dain Nilsson
beec1224ff
Rebuild freezed classes. 2022-07-07 10:29:42 +02:00
Dain Nilsson
f81d2d06bc
Add workaround for device picker losing focus on device change. 2022-07-06 18:06:32 +02:00
Dain Nilsson
f4838850e7
Add gradient behind device image in picker. 2022-07-06 15:05:15 +02:00
Dain Nilsson
7ee5b82906
Improve user interation dialog. 2022-07-05 13:26:43 +02:00
Dain Nilsson
33e986ff7f
Fix device picker for inaccessible device. 2022-07-05 13:25:25 +02:00
Dain Nilsson
827ad19062
Start improving DevicePicker UI.
- Add right-click menu for hide/show NFC readers.
- Put more focus on selected device.
2022-07-05 12:14:10 +02:00
Dain Nilsson
c81faf6ce6
Increase blur. 2022-07-05 12:13:56 +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
Adam Velebil
0b4b111acd
Merge branch 'main' into fix/android-nfc 2022-06-15 11:07:39 +02:00
Dain Nilsson
5fa3275ebb
Show better errors. 2022-06-13 16:47:09 +02:00
Dain Nilsson
56a6946164
Correctly handle PC/SC service unavailable. 2022-06-13 15:44:57 +02:00
Adam Velebil
c357522e6a
Merge branch 'main' into fix/android-nfc 2022-06-13 10:32:20 +02:00
Adam Velebil
58022da3ee
Merge branch 'main' into fix/android-nfc 2022-06-10 17:51:14 +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
141fa419e4
Pop dialogs by default when device changes. 2022-06-10 16:02:07 +02:00
Dain Nilsson
524368d32a
Use CMD on Mac, Ctrl on rest. 2022-06-10 13:55:46 +02:00
Dain Nilsson
6e3c3d2e4c
Use Shortcuts/Intent/Action. 2022-06-10 13:49:02 +02:00
Adam Velebil
60e21d60f0
Merge branch 'main' into fix/android-nfc 2022-06-10 12:26:40 +02:00
Adam Velebil
b1425a5285
YADESK-602 android and nfc exception handling 2022-06-10 12:23:52 +02:00
Dain Nilsson
1e183d99c1
Merge PR #146. 2022-06-10 11:29:17 +02:00
Dain Nilsson
776cf12b94
Center max-width scaffold content. 2022-06-09 10:02:32 +02:00
Rikard Braathen
a639b73f8c
set maximum width for content 2022-06-08 16:15:41 +02:00
Dain Nilsson
d622c1b60a
Clean up logic for showing USB entry. 2022-06-08 11:08:46 +02:00
Dain Nilsson
cadade0139
Remove redundant USB/NFC icon. 2022-06-07 16:33:55 +02:00
Dain Nilsson
b76e4101c7
Use USB icon for no device when in USB mode. 2022-06-07 16:15:33 +02:00
Dain Nilsson
67746ab7fe
Allow de-selecting an NFC reader to again scan for USB devices. 2022-06-07 15:13:11 +02:00
Dain Nilsson
b4b676319a
Improve behavior for FIDO when credMan isn't supported. 2022-06-07 13:54:09 +02:00
Dain Nilsson
ef4af0ad52
Add custom NFC icon. 2022-06-05 16:35:10 +02:00
Dain Nilsson
ce3a942412
Don't show serial number when not available. 2022-06-03 10:36:50 +02:00
Dain Nilsson
3433972023
Use FilterQuality.medium for device images. 2022-06-03 10:15:31 +02:00
Dain Nilsson
7f82d9ddbc
Restyle about page. 2022-06-02 15:03:17 +02:00
Dain Nilsson
d016d741a4
Use more consistent styles for lists and adjust alignment. 2022-06-02 14:52:00 +02:00
Dain Nilsson
0f9034071f
Use different sizes for DeviceAvatar. 2022-06-02 14:49:38 +02:00
Dain Nilsson
627e6bdadd
Add timestamp to log entries. 2022-06-02 09:07:17 +02:00
Dain Nilsson
92ff8b7ac1
Add OathState.version and rebuild models. 2022-06-02 09:07:15 +02:00
Dain Nilsson
34438d8cca
Decouple separator from "Toggle applications". 2022-05-24 09:01:19 +02:00
Dain Nilsson
9cce216e9f
Refactor AppFailurePage. 2022-05-20 17:21:04 +02:00
Dain Nilsson
f33087fd0f
Customize error messages for connection failures. 2022-05-20 16:41:03 +02:00
Dain Nilsson
e5efa332cb
Avoid closing drawer on resize. 2022-05-20 15:11:04 +02:00
Dain Nilsson
98f5d811dd
Color adjustments. 2022-05-20 15:11:03 +02:00
Dain Nilsson
f76e6799af
Add primary buttons. 2022-05-20 15:11:03 +02:00
Dain Nilsson
a839b4952d
Replace FABs with chips. 2022-05-20 15:11:02 +02:00
Dain Nilsson
a8dec0aa30
Icon/chip styling. 2022-05-20 15:11:01 +02:00
Dain Nilsson
f159cf45cc
Add no permission graphic. 2022-05-20 15:11:00 +02:00
Dain Nilsson
92d2d422ad
Remove some hardcoded colors and fix light theme. 2022-05-20 15:10:56 +02:00
Dain Nilsson
dd52672f0f
Add graphics to pages. 2022-05-20 15:10:53 +02:00
Dain Nilsson
ba8ae011da
Style AppBar. 2022-05-20 15:10:53 +02:00
Dain Nilsson
70b493f92f
Style drawer. 2022-05-20 15:10:52 +02:00
Dain Nilsson
209ced3402
Minor icon/text tweaks. 2022-05-20 15:10:51 +02:00
Dain Nilsson
b31fb0b89d
Use Material text theme names. 2022-05-20 15:10:50 +02:00
Adam Velebil
a644ce9804
Merge 'main' into fix/YADESK-637-refresh-creds 2022-05-12 13:23:03 +02:00
Dain Nilsson
168429e29e
Use enhanced enums to replace enum extensions. 2022-05-12 12:05:20 +02:00
Dain Nilsson
af92068a75
Enable use_super_parameters lint rule. 2022-05-12 12:05:18 +02:00
Adam Velebil
24615275f6
Merge 'main' into fix/YADESK-637-refresh-creds 2022-05-12 12:03:50 +02:00
Adam Velebil
7c30aeb41c
Merge 'main' into fix/YADESK-637-refresh-creds 2022-05-12 11:44:19 +02:00
Adam Velebil
3f2a116526
regenerate freezed 2022-05-12 11:06:28 +02:00
Dain Nilsson
0641418e34
Fix lint warnings. 2022-05-12 08:34:51 +02:00
Adam Velebil
89d632390a
implemented getLogs on Android 2022-05-11 15:47:35 +02:00
Dain Nilsson
8690d10921
Fix lint. 2022-05-03 11:31:43 +02:00
Dain Nilsson
488b1189ad
Use "standard" log level names. 2022-05-03 11:24:25 +02:00
Dain Nilsson
10f46ec478
Refactor logging and add LogWarningOverlay. 2022-05-02 11:25:34 +02:00
Dain Nilsson
c0e5438d15
Remove global variable for BuildContext. 2022-04-29 09:43:08 +02:00
Dain Nilsson
9850b4ba29
Simplify the provider used to get WithContext. 2022-04-29 09:38:08 +02:00
Dain Nilsson
6ced805552
Add some doc comments. 2022-04-29 09:38:07 +02:00
Dain Nilsson
e71ede8f2f
Replace OATH touch Snackbar with modal prompt. 2022-04-29 09:38:05 +02:00
Dain Nilsson
0b9fc1b70b
Provide BuildContext of attached Widget via Riverpod. 2022-04-29 09:38:01 +02:00
Adam Velebil
00103fb680
replace MediaQuery.of 2022-04-27 13:09:55 +02:00
Adam Velebil
d8e6660161
YADESK-618 workaround for android 2022-04-27 10:36:00 +02:00
Dain Nilsson
c2d726d8ce
Add SafeArea to AppPage to account for Android UI. 2022-04-06 12:49:18 +02:00
Dain Nilsson
64629e1c02
Merge PR #87. 2022-04-05 17:22:33 +02:00
Adam Velebil
c2b96806a6
revert not needed addition 2022-04-05 16:42:14 +02:00
Adam Velebil
4d30727c79
review updates 2022-04-05 16:11:01 +02:00
Adam Velebil
5ce2f53fe6
Merge branch 'main' into fix/android-prealpha 2022-04-05 13:42:30 +02:00
Dennis Fokin
5d5673f089
Added sky c nfc image 2022-04-05 12:56:55 +02:00
Adam Velebil
d8916161f6
Merge branch 'main' into fix/android-prealpha 2022-04-05 12:51:41 +02:00
Dain Nilsson
479b9bc9c1
Remove app placeholders. 2022-04-05 12:41:35 +02:00
Dain Nilsson
2abe801cba
Add MessagePage.
This new page shows a centered message and is used for a lot of
"empty" pages, such as "no fingerprints", "no accounts", "app disabled",
etc.
2022-04-05 11:46:22 +02:00
Adam Velebil
f6941eee85
add SafeArea to BottomMenu 2022-04-05 11:28:51 +02:00
Dain Nilsson
7195a26f76
Various UI tweaks. 2022-04-04 19:59:49 +02:00
Dain Nilsson
64e08f3060
Merge PR #79. 2022-04-04 15:18:00 +02:00
Dain Nilsson
52df600ebf
Code cleanups. 2022-04-04 10:24:29 +02:00
Dain Nilsson
a19d7e4899
Show better message when no key is inserted. 2022-04-04 09:56:34 +02:00
Dain Nilsson
40d616c8bd
AppPage improvements.
- Make AppPage content scrollable.
- Add optional FAB (with extra padding for FAB).
- Add bottomMenu.
2022-04-03 11:03:03 +02:00
Dain Nilsson
cabdc9effd
Add RPC elevate. 2022-03-31 12:28:56 +02:00
Dain Nilsson
f944c9cf86
Cancel ResponsiveDialog on tap outside.
Also moved the class to lib/widgets/
2022-03-31 11:50:40 +02:00
Dain Nilsson
dd3fef721a
Replace menu actions with FAB. 2022-03-31 11:41:28 +02:00
Dain Nilsson
eb13da003f
Make ListTile use the drawer style when drawer is embedded. 2022-03-29 17:35:04 +02:00
Dennis Fokin
e10edc3238
Merge branch 'main' into drag-n-drop 2022-03-29 14:33:55 +02:00
Dennis Fokin
af3e188fee
Smaller cleanup 2022-03-29 13:57:08 +02:00
Dain Nilsson
20d66ae924
Let Application pages control their AppBar. 2022-03-25 17:43:57 +01:00
Dain Nilsson
b75d8b998b
Prevent Scaffold from being recreated on resize. 2022-03-25 16:00:08 +01:00
Dain Nilsson
1e94084aad
Add Scaffold to ResponsiveDialog in narrow mode.
This prevents SnackBars from showing up behind the modal dim.
2022-03-25 15:46:52 +01:00
Dain Nilsson
4b5ea2fdd7
Add and use showMessage for SnackBars. 2022-03-25 15:43:32 +01:00
Dain Nilsson
f2fb72a753
Add outer Scaffold to center SnackBars in wide view. 2022-03-25 15:13:42 +01:00
Dain Nilsson
4d2d578028
Use "Close" for ResponsiveDialog when no action. 2022-03-25 14:39:35 +01:00
Dain Nilsson
8310875c46
Improve retaining state for children of ResponsiveDialog. 2022-03-25 14:28:02 +01:00