jangabrielsson / TQAE

Development environment for Fibaro HC3 QuickApps
GNU General Public License v3.0
9 stars 3 forks source link

New Fibaro UI Elements not yet added in TQAE #5

Open andreasmarkussen opened 5 days ago

andreasmarkussen commented 5 days ago

The new elements are mentioned here:

These are Added switch support. Added dropdown list support.

I am fairly new to TQAE, but I would expect that they should be added in web/ui.html.

Are you open to a PR on this?

jangabrielsson commented 5 days ago

Well, I'm kind of moved on to fibemu and vscode, and don't do any active development on TQAE anymore... but if you have a working PR for switch/dropdown I'm willing to merge it to TQAE. You probably need some modification to modules/ui.lua to parse the ui declarations and modules/api.lua to support callbacks from the web UI.

andreasmarkussen commented 5 days ago

Great! That was also some of the things I was wondering about. Should I use fibemu or TQAE :-) I am very used to using VSCODE, so I do prefer that over the ZBS. I haven't started at this yet, before I understood a bit more how it works online, then I will see if I can simulate what works on HC3.

jangabrielsson commented 5 days ago

Yes, I would recommend fibemu/vscode - better editor. I'm, also more inclined to fix bugs and add features for fibemu as that it is the environment I do my own QA coding on. The UI stuff is a bit messy now, on the HC3, but there are some support for switch/dropdown.