Commit b3a96b5
Thouen
feat: enhance Modbus point view with tooltip and format inference
- Updated ModbusSlavePointView.vue to include a tooltip for point types, displaying device protocol and storage type.
- Added logic to infer format from point data, ensuring consistent display in the UI.
- Adjusted column definitions in the table to accommodate new tooltip functionality.
style: improve form controls and help drawer styles
- Introduced new styles for field hints and warnings in form-controls.css to enhance user experience.
- Modified help-drawer.css for better layout and readability, including adjustments to spacing and element sizes.
fix: ensure safe ID handling in device routes
- Added isPathSafeId utility function to check for safe ID usage in URL paths, preventing routing issues.
- Updated DeviceList.vue to utilize this function when deleting devices, ensuring proper handling of IDs with unsafe characters.
refactor: enhance point list with additional hints and warnings
- Updated PointList.vue to provide clearer labels and hints for data format and parsing type selections.
- Implemented warnings for mismatched parsing types and data types to guide user configuration.
test: add unit tests for ID sanitization and ensure device ID functionality
- Created tests for EnsureDeviceID, EnsurePointID, and EnsureChannelID to validate ID sanitization logic.
- Added comprehensive tests for sanitizeID function to ensure correct behavior across various input cases.1 parent d537228 commit b3a96b5
41 files changed
Lines changed: 1887 additions & 282 deletions
File tree
- cmd
- internal
- ai_agent
- core
- driver
- bacnet
- dlt645
- ethercat
- modbus
- integration
- model
- northbound/opcua
- server
- ui/src
- components
- styles
- utils
- views
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
| 361 | + | |
| 362 | + | |
361 | 363 | | |
| 364 | + | |
| 365 | + | |
362 | 366 | | |
| 367 | + | |
363 | 368 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
113 | 114 | | |
114 | 115 | | |
115 | 116 | | |
| 117 | + | |
116 | 118 | | |
117 | 119 | | |
118 | 120 | | |
119 | | - | |
| 121 | + | |
120 | 122 | | |
121 | 123 | | |
122 | 124 | | |
| |||
222 | 224 | | |
223 | 225 | | |
224 | 226 | | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
225 | 238 | | |
226 | 239 | | |
227 | 240 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
650 | 650 | | |
651 | 651 | | |
652 | 652 | | |
653 | | - | |
| 653 | + | |
654 | 654 | | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
655 | 659 | | |
656 | 660 | | |
657 | 661 | | |
| |||
688 | 692 | | |
689 | 693 | | |
690 | 694 | | |
691 | | - | |
| 695 | + | |
692 | 696 | | |
693 | 697 | | |
694 | 698 | | |
| |||
702 | 706 | | |
703 | 707 | | |
704 | 708 | | |
705 | | - | |
| 709 | + | |
706 | 710 | | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
707 | 715 | | |
708 | 716 | | |
709 | 717 | | |
| |||
727 | 735 | | |
728 | 736 | | |
729 | 737 | | |
730 | | - | |
| 738 | + | |
731 | 739 | | |
732 | 740 | | |
733 | 741 | | |
| |||
938 | 946 | | |
939 | 947 | | |
940 | 948 | | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
941 | 958 | | |
942 | 959 | | |
943 | 960 | | |
| |||
982 | 999 | | |
983 | 1000 | | |
984 | 1001 | | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
985 | 1011 | | |
986 | 1012 | | |
987 | 1013 | | |
| |||
1507 | 1533 | | |
1508 | 1534 | | |
1509 | 1535 | | |
1510 | | - | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
1511 | 1541 | | |
1512 | 1542 | | |
1513 | 1543 | | |
| |||
1591 | 1621 | | |
1592 | 1622 | | |
1593 | 1623 | | |
1594 | | - | |
| 1624 | + | |
1595 | 1625 | | |
1596 | 1626 | | |
1597 | 1627 | | |
| |||
1755 | 1785 | | |
1756 | 1786 | | |
1757 | 1787 | | |
1758 | | - | |
| 1788 | + | |
| 1789 | + | |
| 1790 | + | |
| 1791 | + | |
| 1792 | + | |
1759 | 1793 | | |
1760 | 1794 | | |
1761 | 1795 | | |
| |||
2543 | 2577 | | |
2544 | 2578 | | |
2545 | 2579 | | |
2546 | | - | |
| 2580 | + | |
2547 | 2581 | | |
2548 | 2582 | | |
2549 | 2583 | | |
| |||
0 commit comments