summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-02-13Add gitlab issue/merge request templatesHEADsalmon_18.90.0salmon/18.90.0ricefish_17.90.0ricefish/17.90.0lamprey_12.1.20lamprey/12.1.2018.90.017.90.012.1.20masterJan-Simon Moeller2-0/+6
Add template files for gitlab Bug-AGL: SPEC-4474 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I1699ae58f950a27c475b00a26cf62dd69542896c
2023-11-22VSS 4.0 updatesScott Murray1-33/+0
Remove unused VSS signal variables, some of which were using old names. This should avoid future confusion. Bug-AGL: SPEC-4970 Change-Id: I8f4bdf2e5a130d8c920f8a18cca345b89d07becf Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-09-26Switch to compositor's gRPC APIScott Murray6-14/+1702
Rework application surface activation to use the new compositor gRPC API instead of our custom platform channel. Bug-AGL: SPEC-4914 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I589af7236c0489125a5ee226cd00ea1f8f1ec9d3
2023-09-14Rework to use KUKSA.val databroker gRPC APIScott Murray22-408/+3352
Rework to move from the WebSocket API with the older KUKSA.val server to the gRPC "VAL" API of the databroker. Changes include: - All VISS WebSocket API code has been removed, and the signal providers replumbed to be driven by a new VssClient class with a homescreen-specific child class to hold all the gRPC API handling. - The generated code for the VAL API and its dependencies has been checked in under lib/generated, as there still does not seem to be a good way to generate it during the Flutter build. - The configuration file is now expected to be "homescreen.yaml" instead of "homescreen_config.yaml". The authorization token field name has been renamed to "authorization", and there are new "use-tls" and "ca-certificate" configuration fields. TLS is disabled by default for now, and the default CA certificate is /etc/kuksa.val/CA.pem. - Updated .gitignore to cover a couple of generated files that weren't included. Bug-AGL: SPEC-4762, SPEC-4903 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I1b95ed27a72435364d54ec846f2be88e3d8bb092
2023-01-01UI Fixeslamprey_12.1.13lamprey/12.1.1312.1.13Scott Murray2-26/+16
Changes: - The volume control was raising at unexpected times, after some investigation it seems the GestureDetector onTap definition was done incorrectly, fix it. - Tweaked the date & time display sizing to more close match the Qt demo and improve visuals. Bug-AGL: SPEC-4615 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Id484a10c9adc71b65bfcf515919958dc9e84e444
2022-12-30Improve app listingScott Murray1-2/+14
Changes: - Reduced the border width for the outlined border for non-icon having apps to better match the border baked into the icons, and switched to using the first letter of the app name instead of a question mark icon (i.e. more like the Qt demo). Having the alignment of the buttons exactly match the icons still proves illusive, and will be addressed at a later date. - Added sorting of the app list so it will be stable across reboots. Bug-AGL: SPEC-4615 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Iac2431ed63a53a8b4e4f39c59b5d7f64068cb6b5
2022-12-29Add volume control to bottom panelScott Murray64-2388/+797
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 Murray16-359/+1382
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
2022-09-13Add .gitreview file for upload to gerritlamprey_12.1.6lamprey/12.1.612.1.6Jan-Simon Moeller1-0/+5
Bug-AGL: SPEC-4542 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Idb87046f2349f9faf2aaffc6a279612df80cf2b5
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-06Update button imagesFelipe Erias7-7/+19
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 Erias7-93/+305
2021-12-01Dark themeFelipe Erias3-14/+16
2021-12-01Add LayoutSizeHelperFelipe Erias6-195/+285
2021-12-01Add HMI_Dashboard_Car imageFelipe Erias3-0/+2
2021-12-01Update dependenciesFelipe Erias1-4/+4
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-22Merge branch 'main' of github.com:felipeerias/flutter_homescreen into mainFelipe Erias10-370/+3
2021-11-22Update .gitignoreFelipe Erias1-0/+3
2021-11-22Merge pull request #1 from meta-flutter/aglFelipe Erias9-370/+0
AGL integration
2021-11-18we don't want gtk embedder depsJoel Winarske9-370/+0
Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
2021-11-18Merge branch 'main' of github.com:felipeerias/flutter_homescreen into mainFelipe Erias1-0/+201
2021-11-18Merge pull request #3 from felipeerias/add-license-1Felipe Erias1-0/+201
Add a license: Apache 2.0
2021-11-18Create LICENSEFelipe Erias1-0/+201
Apache License Version 2.0
2021-11-17Integrate HVAC pageFelipe Erias50-11/+1724
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-05Update READMEFelipe Erias1-14/+3
2021-11-05Basic structureFelipe Erias9-96/+275
2021-10-29Initial commitFelipe Erias78-0/+2116