studio icon indicating copy to clipboard operation
studio copied to clipboard

Add title to indicator panel

Open bertaveira opened this issue 2 years ago • 3 comments

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.

bertaveira avatar Jul 09 '22 19:07 bertaveira

@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 avatar Jul 20 '22 15:07 jtbandes

@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 avatar Jul 22 '22 05:07 defunctzombie

@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.

foxymiles avatar Jul 25 '22 16:07 foxymiles

Related: #4174

jtbandes avatar Sep 08 '22 17:09 jtbandes