1
0
mirror of https://github.com/s00500/ESPUI.git synced 2024-11-15 02:10:54 +00:00
Commit Graph

441 Commits

Author SHA1 Message Date
pcbbc
59633c3f74 Merge branch 'master' of https://github.com/pcbbc/ESPUI 2022-05-24 11:21:57 +01:00
pcbbc
a3b253665d Updated documentation 2022-05-24 11:21:34 +01:00
pcbbc
31973aeac9
Update README.md 2022-05-23 14:10:28 +01:00
pcbbc
b47d595194 Update ESPUI.cpp 2022-05-23 00:06:42 +01:00
pcbbc
a53124de42 Added 'type' proptert to text input elements
Now the text input element can support other HTML input types suxh as date, time, color, password, etc
2022-05-22 23:31:48 +01:00
Ian Gray
b28752f9c2 Merge branch 'master' of github.com:iangray001/ESPUI 2022-02-26 20:33:37 +00:00
Ian Gray
a958feb152
Merge pull request #163 from iangray001/master
Fix for #162
2022-02-26 18:04:29 +00:00
Ian Gray
c63537a358 Fix issue where grouped sliders are moved programatically. 2022-02-16 21:10:16 +00:00
Ian Gray
ab5ac2dc1d Fix regression caused by f06781bc03. See comments in commit on Github. 2022-02-16 20:28:55 +00:00
Ian Gray
d77daf0c8e Initialise the enabled value to fix #162 2022-02-16 15:40:31 +00:00
Ian Gray
eb21863e09 Use early return to tidy up logic 2022-02-16 14:52:25 +00:00
Ian Gray
e3e5c34953
Merge pull request #154 from iangray001/enabledisable
Support for Enabling and Disabling controls
2022-02-12 17:43:06 +00:00
Ian Gray
c2dadf536e Fix #158, min/max not being applied correctly to grouped elements. 2022-02-11 20:47:15 +00:00
Ian Gray
0fe60e91a9
Merge branch 'master' into enabledisable 2022-02-11 19:57:36 +00:00
b1fd9f71a4
Merge pull request #155 from d-a-v/emuAsync
minor adjustments for emulation on host via emuAsync lib (see readme)
2022-02-07 14:51:10 +01:00
david gauchard
271fd9dd02 doc: change title (review) 2022-02-05 17:46:42 +01:00
david gauchard
c131a6ad1c +doc 2022-02-02 16:47:43 +01:00
david gauchard
f06781bc03 minor fixes for emulation on host
(https://github.com/d-a-v/emuAsync)
2022-02-02 11:19:43 +01:00
Ian Gray
9a4cb277e9 Also support disabling the Pads 2022-01-31 22:34:00 +00:00
Ian Gray
d8b9c35655 Add active styles to Pad to give click feedback 2022-01-31 22:06:54 +00:00
Ian Gray
896dc97c75 Support dynamic enabling and disabling of controls
See documentation in README for how this works. This commit
handles all the main controls. Pads are not yet supported.
2022-01-31 21:43:09 +00:00
Ian Gray
7dcf6a10f4
Merge pull request #152 from iangray001/master
Vertical controls and a major rehaul of the documentation
2022-01-29 14:52:56 +00:00
Ian Gray
576890e033 Dynamic visibility support
The ability to make controls visible and invisible
was basically already supported, we just need to add
some minor handling in controls.js.
2022-01-28 20:31:25 +00:00
Ian Gray
d9a4854855
Merge branch 's00500:master' into master 2022-01-28 17:02:13 +00:00
Ian Gray
f2fa9ba652 Update header files 2022-01-28 16:57:04 +00:00
Ian Gray
a797ae1afa Update example with vertical controls and more documentation 2022-01-28 16:47:19 +00:00
Ian Gray
c12f97de48 Update documentation to explain vertical layout
Also explains how to label groups of sliders/switchers.
Also makes a tiny tweak to the width of vertical sliders so they are the same width as switchers.
2022-01-28 16:45:26 +00:00
Ian Gray
df0c6faa4d Add updated style header 2022-01-28 15:31:53 +00:00
Ian Gray
ba048185db Add major new example 2022-01-25 21:35:33 +00:00
Ian Gray
64b30d13a6 Major documentation rework 2022-01-25 21:32:34 +00:00
Ian Gray
446f83c6c2
Merge pull request #149 from iangray001/master
One bugfix, one small feature
2022-01-23 17:59:14 +00:00
Ian Gray
334bf16b09 Initial support for vertical switchers and sliders.
Documentation to be added in a later commit.
2022-01-21 23:30:08 +00:00
Ian Gray
9cd15db1ad Add Time control
Adds a new invisible control that can fetch the current time from a
connected client. Documentation is in the README.
2022-01-20 21:50:06 +00:00
Ian Gray
b33be0057f
Merge branch 's00500:master' into master 2022-01-20 20:45:44 +00:00
Ian Gray
bc34078f42 Fix bug with multiple clients
If two clients were connected at the same time, the chunked updates
from one could cause the other to recieve UI_EXTEND messages. This
is fixed by passing the client in to jsonDom.
2022-01-20 20:43:04 +00:00
Ian Gray
fa097ce329
Merge pull request #148 from iangray001/chunkupdates2
Make initial UI update reliable (and 4 small fixes)
2022-01-19 19:32:07 +00:00
Ian Gray
55b291eb50 Support update of Button text 2022-01-16 14:47:41 +00:00
Ian Gray
bc6e2bb8af Correct call to elementHTML 2022-01-15 21:44:53 +00:00
Ian Gray
fed603e219 Fix error in graph HTML output 2022-01-15 15:13:28 +00:00
Ian Gray
12a3fb6c80 Fix bug with sliders getting out of sync. 2022-01-15 14:29:38 +00:00
Ian Gray
9eddf2c504 Improve documentation. 2022-01-15 14:29:03 +00:00
Ian Gray
6a513e9f65 Allow Max control to add maxlength to text input. Update docs. 2022-01-14 20:24:23 +00:00
Ian Gray
254912aee5 Add a null check in updateControl
This means that calling any updates before the GUI is created will
now not cause a crash.
2022-01-13 21:29:22 +00:00
Ian Gray
3b8f71a0f5 Fix a bug where the Dark colour wasn't being correctly applied. 2022-01-13 18:26:50 +00:00
Ian Gray
a9460c8c69 Allow runtime updates to button controls. 2022-01-13 17:26:00 +00:00
Ian Gray
dd0fe3165f Fix bug with updating slider values programatically 2022-01-12 23:53:55 +00:00
Ian Gray
c059e30763 Fix issue with switchers getting out of sync with the DOM if updated. 2022-01-12 23:12:45 +00:00
Ian Gray
5909471962 Further improve the reliability of UI element transfer.
A protocol has been implemented between the server and client to acknowledge
each UI_INITIAL_GUI and UI_EXTEND_GUI from the client javascript. This
prevents the internal websocket buffers from becoming flooded when the
number of controls gets too high.
2022-01-12 20:12:20 +00:00
Ian Gray
cf535110ea
Merge pull request #147 from iangray001/designupdates
Separators, grouped controls, and wide controls
2022-01-09 11:01:46 +00:00
Ian Gray
f8462bcd48 Documentation typos 2022-01-08 21:31:19 +00:00