Commit Graph

164 Commits

Author SHA1 Message Date
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
Dain Nilsson
8a0896b12f
Add log buffer and --log-level argument. 2022-03-25 13:28:35 +01:00
Dain Nilsson
6b3bd585ba
Use AsyncValue instead of custom classes. 2022-03-24 12:39:18 +01:00
Dain Nilsson
f9f08892ec
Fix generics. 2022-03-23 22:36:52 +01:00
Dennis Fokin
1b6cec92e0
Draft for drag n dropping files 2022-03-22 15:16:52 +01:00
Dain Nilsson
89c868ecc6
Improve RPC device path stability.
This improves "remembering" the active YubiKey, and lets FIDO reset work
with additional keys present.
2022-03-21 10:49:16 +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
Adam Velebil
eff800181c
split currentDeviceProvider to desktop and android 2022-03-21 09:34:45 +01:00
Adam Velebil
a41eed2e1d
steam code conversion 2022-03-18 16:16:12 +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
Adam Velebil
d1ddc5aa12
Merge branch 'main' into feature/android 2022-03-04 17:53:12 +01:00
Dain Nilsson
53428eca08
Add split-view for wide windows. 2022-03-04 13:43:41 +01:00
Adam Velebil
b3bb49aee6
update codestyle 2022-03-03 17:24:26 +01:00
Adam Velebil
af593289d1
Initial 2022-03-03 16:43:36 +01:00
Dain Nilsson
e77163dac2
Use "pinned" instead of "favorite". 2022-03-03 13:55:07 +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
0884a92b84
Use platform-specific logging initialization. 2022-02-21 10:47:34 +01:00
Dain Nilsson
a6ffe45651
Search field: Jump to first result on Enter/Down. 2022-02-11 10:35:30 +01:00
Dain Nilsson
ea5c0ea363
Merge PR #36. 2022-02-11 10:34:10 +01:00
Dain Nilsson
d41a300d48
Add QrScanner via provider. 2022-02-10 15:24:28 +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
85458f4f5a
Move desktop-specific implementation into desktop/ 2022-01-27 12:47:17 +01:00