diff options
| author | Christian Kolset <ckolset@colostate.edu> | 2026-08-13 13:39:25 -0600 |
|---|---|---|
| committer | Christian Kolset <ckolset@colostate.edu> | 2026-08-13 13:39:25 -0600 |
| commit | 34c12b2b5b280206890cd03153b1c95116acc85e (patch) | |
| tree | 9b3dee7e0818d94c0bae87a35e7bf930a612ca2c /devices/arduino_device.py | |
| parent | a6e812dcbf3f2fc27565e52b6c0c6f9b7e4363ee (diff) | |
Channels tab drag-to-reorder, Namespace absolute references, fix stale Channel ID renames
Generalized the Plot pane drag-to-reorder (_PaneDragHandle/_PlotDropContainer
-> _DragHandle/_DragReorderContainer) and reused it for the Channels tab's
derived-channel list; reordering also updates SignalProcessor's evaluation
order (list order matters for chained Channels) via new reorder_derived().
Namespace panel: added an ID column (bare channel_id, matching the actual
channels.get(...) script convention) and fixed the Source column for
Channels to show resolved absolute references (dev_id/ch_id for a Signal,
bare id for a chained Channel) instead of the operation kind, so a chain
is traceable by eye.
Fixed a real bug this surfaced: renaming a Channel's ID never propagated
to other Channels' sources, leaving dangling ("derived", old_id)
references that silently stopped updating. Added
SignalProcessor.rename_derived() to fix up sources plus carry the ring
buffer/latest-value cache to the new key, wired to DerivedBlock's Apply.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Diffstat (limited to 'devices/arduino_device.py')
0 files changed, 0 insertions, 0 deletions
