Commit Graph

339 Commits

Author SHA1 Message Date
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
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
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
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
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
Dennis Fokin
5d5673f089
Added sky c nfc image 2022-04-05 12:56:55 +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
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
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
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
Dain Nilsson
8a0896b12f
Add log buffer and --log-level argument. 2022-03-25 13:28:35 +01:00
Dain Nilsson
69165a63c2
Add FIDO reset support. 2022-03-21 09:59:16 +01:00
Dain Nilsson
a864787329
Add isAdmin to RpcState. 2022-03-21 09:59:15 +01:00
Dain Nilsson
6b43fb3799
Show Windows-specific message for inaccessible FIDO keys. 2022-03-21 09:59:14 +01:00
Dain Nilsson
22a4827616
Move enums and add UsbPid. 2022-03-21 09:59:13 +01:00
Dain Nilsson
a58e8d8bdf
Add cancel button, use LayoutBuilder.
* Adds a cancel button to ResponsiveDialog when in dialog mode.
* Use LayoutBuilder instead of MediaQuery.
2022-03-16 09:33:09 +01:00
Dain Nilsson
921190ba40
Introduce responsive dialogs. 2022-03-16 09:33:06 +01:00
Dain Nilsson
aecd406bad
Add base for FIDO support. 2022-03-15 17:26:14 +01:00
Dain Nilsson
e57ebdf1be
Rename SubPage -> Application.
Also introduces supportedAppsProvider which can be used to limit the
supported apps per platform.
2022-03-14 11:55:17 +01:00
Dain Nilsson
f3df338018
Improve handling of disabled/unsupported apps. 2022-03-14 10:57:00 +01:00
Dain Nilsson
5b14a19001
Introduce "failed" state for apps. 2022-03-11 13:31:23 +01:00
Dain Nilsson
3566c7b845
Start handling devices that cannot be accessed. 2022-03-11 13:28:47 +01:00
Dain Nilsson
6d9ee9dca5
Fix update of USB descriptor. 2022-03-11 13:28:46 +01:00
Dain Nilsson
48a93c0aa1
Show if applications are enabled or not in the drawer. 2022-03-11 13:28:46 +01:00
Dain Nilsson
d42eb84d04
Add basic management screen. 2022-03-11 13:28:42 +01:00
Dain Nilsson
53428eca08
Add split-view for wide windows. 2022-03-04 13:43:41 +01:00
Dain Nilsson
e1f5879f42
Add placeholders for additional sub pages. 2022-02-24 15:19:57 +01:00
Dain Nilsson
2f03d64e3d
Adapt no_device_screen after device type. 2022-02-22 11:41:46 +01:00
Dain Nilsson
0a02d658e6
Use "wifi" icon instead of "nfc". 2022-02-22 11:32:23 +01:00
Dain Nilsson
ab2a63fd2b
Add placeholders in main drawer, move theme and logging to settings. 2022-02-22 11:15:15 +01:00
Dain Nilsson
a6ffe45651
Search field: Jump to first result on Enter/Down. 2022-02-11 10:35:30 +01:00
Dain Nilsson
3af44ea19d
Make drawer scrollview non-primary.
This prevents an exception when both the main view and drawer is
visible, if both views are scrollable. It does not seem to impact
behavior at all.
2022-02-09 12:34:38 +01:00
Dain Nilsson
939f590b09
Pass in BuildContext to MenuItem.action.
Instead of when constructing the MenuItem itself.
2022-02-09 10:42:08 +01:00
Dain Nilsson
9eda277af9
Replace List<String> with DevicePath for device paths.
This prevents equality checks from treating devices with the same path
as different.
2022-02-08 13:44:35 +01:00
Dain Nilsson
330d64eba2
Make highlight of device menu button circular. 2022-02-01 16:36:19 +01:00
Dain Nilsson
16b492638f
Clean up device picker and avatar. 2022-02-01 13:30:03 +01:00
Dain Nilsson
d7c04f5103
Address review comments. 2022-01-19 11:00:37 +01:00
Dain Nilsson
01a9628b81
Remove unused imports. 2022-01-18 12:32:19 +01:00
Dain Nilsson
7d88c5c6a5
Add basic NFC support. 2022-01-18 12:26:31 +01:00
Dain Nilsson
ffc7f5d4c2
More visual tweaks. 2021-12-07 14:22:28 +01:00
Dain Nilsson
da14b36364
Small visual changes. 2021-12-07 12:53:05 +01:00
Dain Nilsson
4b6a6a3a0e
Remove commented code. 2021-12-02 20:29:40 +01:00
Dain Nilsson
9236701f02
Implement theming and re-arrange views. 2021-12-02 11:44:17 +01:00
Dain Nilsson
82a1398f72
Add product images. 2021-11-24 13:28:38 +01:00
Dain Nilsson
94687f37f8
Add basic device picker. 2021-11-24 13:09:29 +01:00
Dain Nilsson
2cd9ff2283
Break up large files into smaller. 2021-11-24 12:49:12 +01:00