bitfocus / companion

Bitfocus Companion enables the reasonably priced Elgato Streamdeck and other controllers to be a professional shotbox surface for an increasing amount of different presentation switchers, video playback software and broadcast equipment.
http://bitfocus.io/companion
Other
1.46k stars 489 forks source link

Improve UI by truncating long variables #2852

Open phuvf opened 2 months ago

phuvf commented 2 months ago

Is this a feature relevant to companion itself, and not a module?

Is there an existing issue for this?

Describe the feature

A small UI improvement:

When variables are short, the variable page looks fine - but once a big block of text is assigned to a variable things get difficult to read.

It'd be nice to truncate variables at a fixed length, perhaps with an accordion element to show the full value if required.

Here's an example of it working OK:

image

And with long text causing layout issues:

image

Usecases

Would help when working with variables, as when programming, the variable name is often more important than the content.