diff --git a/TODO.md b/TODO.md index d336ee1..db358c2 100644 --- a/TODO.md +++ b/TODO.md @@ -11,8 +11,26 @@ - user can fork an existing config instance to create a new one - user can compare two instances: show unified diff or side by side diff - etc... - - user can apply and save configuration instances - - in logic editor and control loop add nodes to read/write/create/apply config instances + - [ ] user can apply and save configuration instances from manager + - [ ] in logic editor and control loop add nodes to read/write/create/apply config instances + - [ ] support for all supported types (number, bools, enums, arrays, string etc) + - [ ] ux elements for config set + - the configuration editor should automatically get type and info from signal when possible + - a slick tree drag and drop editor to order elements and organize in group and sub-groups + - possibility to customise unit, max, min etc + - [ ] ux elements for config instances: + - automatically use the correct setting widget depending on the type (e.g. combo for enum, nubmer input for number): + - for arrays: import csv option, display points as mini plot (+ open dialog plot with more info), manual enter points via table like interface + - automatically fill with default or existing values (when forking an existing instance) + - explicity show errors/missing info and give additional info on hover + - [ ] add advanced validation / transformation framework to configurations using custom CUE rules: + - backend should run validation / transformation rules + - user can create/edit/delete/compare rules from webui: + - integrate syntax highlight + - integrate autocomplete for signals names and cue grammars + - integrate cue lsp + - when validation fail error should be propagated to user in the webui + - all action should be tracked via history management and audit - [ ] Improve UX: - [x] Synthetic editor: - [x] color code the node link by type @@ -22,6 +40,18 @@ - [ ] Panels: - [x] in view mode the widgets should have no border/bg but blend with background - [ ] add widgets such as toggle switch, table and other industrial hmi widgets + - [ ] add container widgets: labelled/title pane, tab panes, collapsable panes etc + - [ ] plot pane: + - add toolbar + - [ ] clean ui: + - create small statusbar where connection widget and other status related info will be placed + - group advanced items (audit/control loops/config manager etc) in a tool menu or something similar to not fill the toolbar + - make the toolbar as clean as possible +- [ ] Logic editor: + - add full support to local array values: dynamic, dynamic but capped max, fixed size etc: + - array functions should work with new local array +- [ ] Control loop: + - add full support to server side array values - [ ] Implement git style versioning for: synthetic variable, panels, control logic: - possibility to fork any version - click to view the version diff --git a/workspace/data/audit.db b/workspace/data/audit.db index 1acb13a..edf9a20 100644 Binary files a/workspace/data/audit.db and b/workspace/data/audit.db differ diff --git a/workspace/data/audit.db-shm b/workspace/data/audit.db-shm deleted file mode 100644 index fe9ac28..0000000 Binary files a/workspace/data/audit.db-shm and /dev/null differ diff --git a/workspace/data/audit.db-wal b/workspace/data/audit.db-wal deleted file mode 100644 index e69de29..0000000 diff --git a/workspace/data/controllogic.json b/workspace/data/controllogic.json index 0637a08..1c25d1d 100644 --- a/workspace/data/controllogic.json +++ b/workspace/data/controllogic.json @@ -1 +1,9 @@ -[] \ No newline at end of file +[ + { + "id": "cl-8c72c8bd37407d7f", + "name": "New control logic", + "enabled": false, + "nodes": [], + "wires": [] + } +] \ No newline at end of file diff --git a/workspace/data/trash/configs/sets/new-config-set.1781970149012/new-config-set.json b/workspace/data/trash/configs/sets/new-config-set.1781970149012/new-config-set.json new file mode 100644 index 0000000..3a24894 --- /dev/null +++ b/workspace/data/trash/configs/sets/new-config-set.1781970149012/new-config-set.json @@ -0,0 +1,7 @@ +{ + "id": "new-config-set", + "name": "New config set", + "owner": "martino", + "parameters": [], + "version": 1 +} \ No newline at end of file diff --git a/workspace/softioc.log b/workspace/softioc.log index 5e88df6..5150da5 100644 --- a/workspace/softioc.log +++ b/workspace/softioc.log @@ -1,2 +1,3 @@ Starting iocInit iocRun: All initialization complete +CAS: CA beacon send to 192.168.1.255:5065 ERROR: Network is unreachable