studio
studio copied to clipboard
Add title to indicator panel
We use a lot of these panel to indicate status of systems but there is no way to distinguish them despite changing for example the "False" label to "System1 - False" which is not ideal.
Would be nice to be able to edit the title of the panel like you can with the plot panel.
@2metres @foxymiles @defunctzombie what is our path to custom/editable panel titles? Is this something panels can already change using internal APIs and it just needs to be added to the extension API? Is custom names even something we want to support or should we just let panels put custom controls in the toolbar?
@jtbandes I see a few paths here:
- We expose some method on
PanelExtensionContext
and the panel logic can set the title. - We make it possible to double-click the title to edit it and handle this automatically for all panels in the titlebar logic.
- Some combination of both of the above.
@defunctzombie I'm inclined to option #2 but with a pencil icon to edit the panel title similar to how renaming nodes in settings works. Double click is non-discoverable and has interaction issues with things like selecting text.
Related: #4174