SignalK / SensESP

Universal Signal K sensor framework for the ESP32 platform
https://signalk.org/SensESP/
Apache License 2.0
154 stars 81 forks source link

Update the JSON Editor #452

Open mairas opened 3 years ago

mairas commented 3 years ago

The embedded JSON Editor code could be updated. And while at it, apply some nicer theme to it as well!

JohnySeven commented 3 years ago

I was thinking about adding bootstrap into bundle and making the UI more nice with AJAX and some tiny Javascript framework, ideally SPA would be nice! All website resources can be GZIPed first before saving them into flash and serve them as GZIPed via HTTP.

mairas commented 3 years ago

Sounds pretty great. I'm not much of a frontend developer, so my effort in that front tends to be bare minimum. 😁 As long as the flash use stays somewhat modest and everything works offline (without resources pulled from the internet), I think we're good!

JohnySeven commented 3 years ago

And also I would add ability to add commands from builder when using HTTP server - for example if you want to trigger some calibration process or reset some values without loosing Wifi config it would be good to have.

JohnySeven commented 3 years ago

Well I have this idea in my mind for long time...not making promises, but I would like to contribute with web UI :-)

mairas commented 3 years ago

I wouldn't use the builder for that. Instead, how about some kind of inversion of control class that would allow the user to register new configuration objects. Like the resettables etc.

mairas commented 2 years ago

Not really required for the 2.0 release (because the change shouldn't be backwards-incompatible). Removing the label.