aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2022-12-29Add volume control to bottom panelScott Murray15-693/+766
Changes: - Import a reworked version of the KUKSA.val client code from the Flutter dashboard app, with the aggregated signal Riverpod provider replaced with per-signal providers for the signal the homescreen needs and a couple of temperature ones it might use. Using separate providers is more in-line with recommended Riverpod best practices. - Various tweaks to enable using Riverpod. - Split the bottom panel out into its own widget, and add a stack in it to layer the default logo panel with the volume control slider, which has been added as a new widget definition to provide the hook to drive timer based lowering behavior like the Qt homescreen does. - The KUKSA.val connection widget has been added to the bottom panel rather than overriding the top-level widget as in the dashboard and HVAC apps. This seems preferable with respect to still providing some functionality in the event KUKSA.val is unavailable. - Remove the old demo dashboard and HVAC pages that are now unused, along with the image assets they needed, to allow cleaning up pubspec.yaml and ease maintenance. Bug-AGL: SPEC-4659 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I5d9180a3461948a58321564e71134c4961ce0ef7
2022-11-21Rework for use in Flutter demo platform imageScott Murray12-331/+1066
Changes: - Converted to portrait orientation. - Application enumeration and launching+activation enabled via use of applaunchd gRPC API and agl-shell protocol platform channel plugin in the embedder. - Previous dashboard, hvac, media, etc. pages disabled. Some of the code has been kept for potential reuse. - Clock widget tweaked to fit in portrait mode navigation bar, and take text color argument. - Bluetooth, wifi, and phone signal icons mocked up in navigation bar. Known issues: - The bottom panel area is static at present, support for popping up a volume control slider like the Qt demo is planned as an addition. - The path to implementing connection and signal strength indications is currently a bit hazy, it is possible that flutter-dbus might be the simplest stopgap. - State management has been kept basic, as there are a couple of places where using provider or riverpod seems like perhaps an overcomplication. This will be reviewed when KUKSA.val support is integrated for the volume slider. - Some of the layout sizing is a bit ad hoc, and it is not clear if the previous layout helper class is actually worth keeping or not. This should be reviewed when time permits. Bug-AGL: SPEC-4611 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ib486b1fd92047f6c1ff1cd9569f49e3ccaf3269d
2021-12-06Placeholder for the 3D demoFelipe Erias3-4/+33
2021-12-06Preserve state between page changesFelipe Erias5-217/+344
Add more interactive widgets
2021-12-03Home page styleFelipe Erias1-3/+2
2021-12-02Added coment on state managementFelipe Erias1-0/+6
2021-12-02Cleanup and stylesFelipe Erias4-259/+333
2021-12-02Animate dashboardFelipe Erias2-24/+82
2021-12-01Colors and stylesFelipe Erias2-9/+13
2021-12-01Images and behaviour in HVACFelipe Erias1-18/+63
2021-12-01Dark themeFelipe Erias3-14/+16
2021-12-01Add LayoutSizeHelperFelipe Erias6-195/+285
2021-11-26Colors and layouts; add tab tor 3D exampleFelipe Erias4-78/+124
2021-11-26Simple Media pageFelipe Erias3-16/+74
2021-11-24Responsive HVACFelipe Erias1-109/+161
2021-11-17Integrate HVAC pageFelipe Erias2-8/+218
2021-11-12Visual appearance of main navigationFelipe Erias5-14/+73
2021-11-12Nice animation when switching pagesFelipe Erias5-54/+75
2021-11-12Style home pageFelipe Erias1-5/+7
2021-11-12Home screen buttons navigate to the appropriate sectionFelipe Erias2-8/+47
2021-11-05Basic structureFelipe Erias7-96/+267
2021-10-29Initial commitFelipe Erias1-0/+113