Working on better ux and comnfig editro

This commit is contained in:
Martino Ferrari
2026-06-21 12:50:04 +02:00
parent 3fc7c1b546
commit b0ac044035
7 changed files with 49 additions and 3 deletions
+32 -2
View File
@@ -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
Binary file not shown.
Binary file not shown.
View File
+9 -1
View File
@@ -1 +1,9 @@
[]
[
{
"id": "cl-8c72c8bd37407d7f",
"name": "New control logic",
"enabled": false,
"nodes": [],
"wires": []
}
]
@@ -0,0 +1,7 @@
{
"id": "new-config-set",
"name": "New config set",
"owner": "martino",
"parameters": [],
"version": 1
}
+1
View File
@@ -1,2 +1,3 @@
Starting iocInit
iocRun: All initialization complete
CAS: CA beacon send to 192.168.1.255:5065 ERROR: Network is unreachable