Skip to content

WIP: script for converting attribute string for most widgets to lower case

Jonas Rosenqvist requested to merge lowercase_fix_script into develop

run with node scripts/lowercase.js converts the following widgets for all dashboards:

widget name                             path in widget.inputs that's being converted
SPECTRUM_TABLE				attribute.attribute/device
ATTRIBUTEHEATMAP			attribute.attribute/device
ATTRIBUTE_LOGGER			attribute.attribute/device
LED_DISPLAY				attribute.attribute/device
BOOLEAN_DISPLAY				attribute.attribute/device
ATTRIBUTE_DAIL				attribute.attribute/device
ATTRIBUTE_WRITER			attribute.attribute/device
ATTRIBUTE_DISPLAY			attribute.attribute/device
ATTRIBUTE_SCATTER			dependent.attribute/device, independent.attribute/device
ATTRIBUTE_PLOT				attributes[i].attribute/device
DEVICE_STATUS				state.attribute/device

I've skipped SARDANA_MOTOR because I'm not sure anyone is using it and if they are, it's probably easier to just reset the values manually in the UI due to the complexity of the widget. Anyone is free to add it though

Edited by Jonas Rosenqvist

Merge request reports