Caleb Jasik
91e6a4f6a2
Use platform-specific canvas color for SimplePage + platform-specific icons ( #231 )
...
* Use platform-specific canvas color for SimplePage
* Use platform-specific icon for MainScreen appbar
2025-01-23 16:25:59 -06:00
Ian VanSchooten
5a641be96f
Switch to Material 3 for Android ( #224 )
...
This exploration updates the Android app to use Google's Material 3 design, and changes up the colors a bit in the process.
I used a source color of #5D23DD in https://material-foundation.github.io/material-theme-builder/ , which generates a full set of material colors that I imported into `lib/services/theme.dart`. It should be easy to tweak any of the colors that we want, vs previously it was somewhat more difficult because they were being generated "behind the scenes".
This doesn't necessarily need to be done now, but it does align better with more modern Android design patterns and Flutter has said at some point they will stop supporting Material 2.
Note: this should not have any impact on iOS, since we use the default `CupertinoThemeData` there, without any custom theming.
Here are some before/after comparisons of interesting screens:
Adding a new site:
|Dark Before|Dark After|Light Before|Light After|
|---|---|---|---
|<img width="390" alt="Android Studio 2025-01-22 10 43 55" src="https://github.com/user-attachments/assets/c7954b7f-a8eb-48a5-bd47-237877f078fd " />|<img width="405" alt="Android Studio 2025-01-22 11 16 48" src="https://github.com/user-attachments/assets/b69c1e6f-3464-44af-9f9c-f6377b5ce1d1 " />|<img width="389" alt="image" src="https://github.com/user-attachments/assets/40f1e40f-a1f5-42e4-909c-c07b3f82df2b " />|<img width="393" alt="image" src="https://github.com/user-attachments/assets/09f8f8ce-668e-4e69-a4a9-233fb970655f " />|
Confirmation dialog:
|Before|After|
|---|---|
|<img width="264" alt="image" src="https://github.com/user-attachments/assets/7cae1abc-621d-4c59-bf36-0ce3be0af88c " />|<img width="278" alt="Android Studio 2025-01-22 11 43 19" src="https://github.com/user-attachments/assets/d461a97f-d252-494f-8b30-49d33a5a9cda " />|
Settings page:
|Dark Before|Dark After|Light Before|Light After|
|---|---|---|---|
|<img width="394" alt="Android Studio 2025-01-22 11 46 01" src="https://github.com/user-attachments/assets/edfc6c40-ee72-4a7c-b9b7-7c3025f0cdfe " />|<img width="393" alt="Android Studio 2025-01-22 11 46 35" src="https://github.com/user-attachments/assets/d1445041-bbc0-4994-98d5-3eb149afceea " />|<img width="391" alt="Android Studio 2025-01-22 11 46 09" src="https://github.com/user-attachments/assets/295e5cc4-74e2-422a-b478-a3e0bd577b60 " />|<img width="391" alt="Android Studio 2025-01-22 11 46 28" src="https://github.com/user-attachments/assets/098339de-f2df-4269-84cf-e3ae2c09a51d " />|
Site with errors:
|Dark Before|Dark After|Light Before|Light After|
|---|---|---|---|
|<img width="395" alt="Android Studio 2025-01-22 11 48 50" src="https://github.com/user-attachments/assets/4f8dd05d-ccc7-44eb-96e0-ffec63975085 " />|<img width="390" alt="Android Studio 2025-01-22 11 48 06" src="https://github.com/user-attachments/assets/751f35e2-b801-4ddf-9655-15f0097e05ca " />|<img width="395" alt="image" src="https://github.com/user-attachments/assets/15ac20c9-4d40-4e51-aed6-fd69a001588b " />|<img width="388" alt="Android Studio 2025-01-22 11 48 20" src="https://github.com/user-attachments/assets/780bf849-9add-4f91-bac8-3cdd5fd89337 " />|
Main page / site list:
|Light Before|Light After|Light Scrolled Before|Light Scrolled After|
|---|---|---|---|
|<img width="387" alt="Android Studio 2025-01-22 11 53 07" src="https://github.com/user-attachments/assets/ca426470-00c2-4dc3-bd22-4a336c4ec8cf " />|<img width="403" alt="Android Studio 2025-01-22 11 53 41" src="https://github.com/user-attachments/assets/abf755e3-df10-453b-a439-0aa3b21b7ef9 " />|<img width="389" alt="Android Studio 2025-01-22 11 53 22" src="https://github.com/user-attachments/assets/a6cdfabf-5288-49fe-ac29-e73678d34ccb " />|<img width="396" alt="Android Studio 2025-01-22 11 53 51" src="https://github.com/user-attachments/assets/11eda1f4-cf2f-4848-9690-6093223a9e7e " />|
Certificate:
|Dark Before|Dark After|Light Before|Light After|
|---|---|---|---|
|<img width="388" alt="Android Studio 2025-01-22 11 57 25" src="https://github.com/user-attachments/assets/5a1db1ba-a560-4aa6-8649-9b41d9ba25b6 " />|<img width="390" alt="Android Studio 2025-01-22 11 56 44" src="https://github.com/user-attachments/assets/5e1b9200-ea13-42e5-a55d-51a1fda4522f " />|<img width="397" alt="Android Studio 2025-01-22 11 57 01" src="https://github.com/user-attachments/assets/65c52218-3f90-40c7-bb21-e499c2e0b08c " />|<img width="392" alt="Android Studio 2025-01-22 11 56 21" src="https://github.com/user-attachments/assets/554847cd-e825-4691-ac21-1549ab5e7d21 " />|
2025-01-23 10:49:32 -05:00
Ian VanSchooten
a28b922494
Add PrimaryButton component ( #221 )
2025-01-16 10:59:21 -05:00
Ian VanSchooten
991837676a
Add DangerButton component ( #219 )
...
This pulls out a component that we can use for "dangerous" operations like deleting, and styles it in one place.
It also starts to move us slowly towards Material 3, with the rounded corners on these buttons in Android.
Android:
|Before Light|Before Dark|After Light|After Dark|
|---|---|---|---|
|<img width="425" alt="Android Studio 2025-01-15 14 16 36" src="https://github.com/user-attachments/assets/4823e551-6a40-48dd-9bc1-3004699b90ea " />|<img width="417" alt="Android Studio 2025-01-15 14 16 47" src="https://github.com/user-attachments/assets/df5461fd-586e-47bb-99b9-0212e63f0454 " />|<img width="413" alt="Android Studio 2025-01-15 14 15 59" src="https://github.com/user-attachments/assets/d88a6225-b71a-4886-8387-e35811a3a6ec " />|<img width="418" alt="Android Studio 2025-01-15 14 16 15" src="https://github.com/user-attachments/assets/d4f23b1c-7003-4a00-b865-4a123d8fe3e9 " />|
iOS:
|Before Light|Before Dark|After Light|After Dark|
|---|---|---|---|
|<img width="437" alt="Simulator 2025-01-15 15 56 26" src="https://github.com/user-attachments/assets/87c4eed3-6d07-4858-8ad8-d8c011538154 " />|<img width="445" alt="Simulator 2025-01-15 15 56 36" src="https://github.com/user-attachments/assets/9dc5b174-7bc7-48ec-a3c0-61633168c31a " />|<img width="439" alt="Simulator 2025-01-15 16 05 23" src="https://github.com/user-attachments/assets/31dc9ab6-8a3c-49c7-892d-627f16e2a8cd " />|<img width="444" alt="Simulator 2025-01-15 16 05 37" src="https://github.com/user-attachments/assets/979280d6-e1f4-4d57-a86a-10bb4def729a " />|
2025-01-16 08:16:23 -05:00
Ian VanSchooten
e5ca54f7f2
Fix ConfigItem font size ( #210 )
...
* Make other thing bigger
* Fix other padding
* Clean up textStyle
2024-12-19 12:19:46 -05:00
Ian VanSchooten
afc3abd633
Set ConfigItem label text style correctly ( #208 )
...
* Set ConfigItem label text style correctly
* Add right padding for chevrons
2024-12-18 16:12:24 -05:00
John Maguire
6d9bcc9ba1
Pop confirmation modal only for changed forms ( #178 )
2024-10-11 11:34:44 -04:00
Ian VanSchooten
64d45f66c7
Update Flutter, target android SDK 34 ( #160 )
...
This updates flutter to 3.24.1, the latest stable version, and also updates our flutter dependencies to latest.
It targets the latest android sdk, 34, which is required if we want to publish a new version to the Google Play store.
I also needed to make a few adjustments to handle deprecations. The biggest change is that I needed to wrap the main widget in MaterialApp to avoid problems with AdaptiveSwitch in iOS.
2024-09-20 14:19:23 -04:00
John Maguire
5cc41f1129
Allow IP address entry on non-US locales ( #114 )
2023-05-10 16:43:27 -04:00
John Maguire
c7a53c3905
Support DN host enrollment ( #86 )
...
Co-authored-by: Nate Brown <nbrown.us@gmail.com>
2022-11-17 16:43:16 -05:00
Nate Brown
dbe67c2f81
Upgrade to flutter 3 ( #70 )
...
Co-authored-by: John Maguire <contact@johnmaguire.me>
2022-09-21 15:27:35 -05:00
Nate Brown
958b15d711
Allow import of private key, make it so key material isn't removed when navigating off the add a cert page ( #64 )
2022-08-05 16:42:17 -05:00
Nate Brown
d37bdd9032
Cleanup ( #58 )
2022-07-27 11:38:02 -05:00
Nate Brown
64b056618c
Remove special keyboard handling for text inputs ( #57 )
2022-01-20 10:35:39 -06:00
Nate Brown
2831c84b57
SelectableText field now supports keyboard actions natively ( #56 )
2022-01-19 13:29:30 -06:00
John Maguire
fec77613bf
Update for Flutter 2.8.0 ( #54 )
2022-01-18 11:58:26 -05:00
Nate Brown
9934f226e3
Ran flutter format -l 120 --suppress-analytics lib ( #38 )
2021-05-03 16:58:04 -05:00
Nate Brown
0bb2a30829
Support replacing certs ( #33 )
2021-05-03 15:16:00 -05:00
Nathan Brown
1283ce30e9
IPV6 support ( #24 )
2021-04-23 16:23:06 -05:00
Nathan Brown
a5ca3f86af
Upgrade to flutter 2 ( #26 )
2021-04-23 12:33:28 -05:00
Nate Brown
eb6ac79eed
Wrap SelectableText with keyboard shortcuts to help chromeos
2020-08-31 18:32:40 -05:00
Nate Brown
2bc97856af
Transform comma to period if the locale forces commas on the keyboard
2020-08-17 12:30:23 -05:00
Nate Brown
50d50f690b
Add some protections against the incorrect cert type being used
2020-08-10 10:48:00 -05:00
Nate Brown
b546dd1c9d
Initial commit
2020-07-27 15:43:58 -05:00