2021-05-18 |
Edouard Tisserant |
SVGHMI: WIP on Widget DnD UI : Added documentation to widgets, that is injected in widget parse tree during widget analysis
svghmi
|
file |
diff |
annotate
|
2021-05-02 |
Edouard Tisserant |
SVGHMI: In order to allow widget signature and description to coexist in same ysl2 file, introduced widget_class, widget_defs to declare widget codegen templates and gen_index_xhtml to mark templates that are only usefull in gen_index_xhtml.xslt.
svghmi
|
file |
diff |
annotate
|
2021-03-18 |
Edouard Tisserant |
SVGHMI: JsonTable: Fixed options not being passed in JSON post when jumping to a page where additional variables are pre-defined by a HMI:VarInit.
svghmi
|
file |
diff |
annotate
|
2021-03-16 |
Edouard Tisserant |
SVGHMI: JsonTable should refresh when re-subscibing, because data might have changed while not on the page we are switching to.
svghmi
|
file |
diff |
annotate
|
2021-03-12 |
Edouard Tisserant |
SVGHMI: change default values for JsonTable, leading to scrollbar initialized at annoying non-zero position
svghmi
|
file |
diff |
annotate
|
2021-03-10 |
Edouard Tisserant |
SVGHMI: Add generic action buttons to JSON table, with an example in tests/svghmi: wipe alar list.
svghmi
|
file |
diff |
annotate
|
2021-02-18 |
Edouard Tisserant |
SVGHMI: JsonTable removed useless promise since fetch() already does one. Updated generated XSLT.
svghmi
|
file |
diff |
annotate
|
2021-02-18 |
Edouard Tisserant |
SVGHMI: Optimization for JsonTable : reload JSON only when necessary, and avoid concurrent http requests.
svghmi
|
file |
diff |
annotate
|
2020-12-02 |
Edouard Tisserant |
SVGHMI: more attempts to prevent losing memory in JS closure
svghmi
|
file |
diff |
annotate
|
2020-11-27 |
Edouard Tisserant |
SVGHMI: WIP trying to reduce memory usage : use .onclick onstead of SetAttribute, avoid useless closure and object creation when possible, etc.
svghmi
|
file |
diff |
annotate
|
2020-10-28 |
Edouard Tisserant |
Arbitrary variables added to JsonTable subscription are now passed as 'extra' field in json query. As an example added JsonTable filtering in tests/svghmi
svghmi
|
file |
diff |
annotate
|
2020-10-19 |
Edouard Tisserant |
SVGHMI: JsonTable now outputs "visible" value as well.
svghmi
|
file |
diff |
annotate
|
2020-10-19 |
Edouard Tisserant |
SVGHMI: non significant cosmetic changes
svghmi
|
file |
diff |
annotate
|
2020-08-28 |
Edouard Tisserant |
SVGHMI: JsonTable can now have clickable elements, that trigger a request with extra argument whose content is taken from Json data.
svghmi
|
file |
diff |
annotate
|
2020-08-27 |
Edouard Tisserant |
SVGHMI: JsonTable now ignores elements and groups starting with #
svghmi
|
file |
diff |
annotate
|
2020-08-26 |
Edouard Tisserant |
SVGHMI: JsonTable now updates range and position variables so that slider widget can update.
svghmi
|
file |
diff |
annotate
|
2020-08-25 |
Edouard Tisserant |
SVGHMI: JsonTable now use intermediate variables again to address JSON data without duplicating code or referencing. Using intermediate variables also alows to check for availability of data and stop evaluating early if data is missing. Finally added complete roundtrip example to illustrate use of JSonTable to display "alarms" collected in python from changes on PLC boolean variables.
svghmi
|
file |
diff |
annotate
|
2020-08-24 |
Edouard Tisserant |
SVGHMI: removed debug code forgotten here and there.
svghmi
|
file |
diff |
annotate
|
2020-08-21 |
Edouard Tisserant |
SVGHMI: JsonTable now makes meaningfull JSON request : all arguments and variables are passed in.
svghmi
|
file |
diff |
annotate
|
2020-08-20 |
Edouard Tisserant |
SVGHMI: Refactor the way JsonTable generate javascript code to access json data. Now support multiple assignments, used in the case of text to change both content and style on the same element.
svghmi
|
file |
diff |
annotate
|
2020-08-15 |
Edouard Tisserant |
SVGHMI: HMI:JsonTable also recognize TextStyleList, but parsing of textContent is still not implemented and style is still not updated.
svghmi
|
file |
diff |
annotate
|
2020-07-22 |
Edouard Tisserant |
SVGHMI: JsonTable now picks items from HMI:List, and update texts, all according to Json data. Still miss scrolling.
svghmi
|
file |
diff |
annotate
|
2020-07-17 |
Edouard Tisserant |
SVGHMI: JsonTable now generate working data access code for data/* elements.
svghmi
|
file |
diff |
annotate
|
2020-07-14 |
Edouard Tisserant |
SVGHMI: minimal JSON Table Widget communication infra + corresponding python code as py_ext code in svghmi test. To be continued.
svghmi
|
file |
diff |
annotate
|