console icon indicating copy to clipboard operation
console copied to clipboard

Improve how text header values are rendered

Open weeco opened this issue 4 years ago • 1 comments

Currently it looks a bit weird how text values in record headers are shown. This is probably because we have support for other presentation modes (i. e. JSON). If necessary we could add some "special handling" for the common case where header values are just plain strings:

image

weeco avatar May 03 '21 18:05 weeco

I think for anything that doesn't contain a line-break and is below ~50 characters, the "expand" button should be hidden.

As for the actual rendering (when it is expanded): Yes it looks a bit strange, but I'm not sure what to change about it. 😂 🤷‍♂️

Maybe we could also just render the headers using the json viewer.

rikimaru0345 avatar May 15 '21 16:05 rikimaru0345

cc @rikimaru0345 just added this to the message viewer tasklist

twmb avatar Oct 19 '23 14:10 twmb

Done, will be deployed with next release

twmb avatar Dec 07 '23 15:12 twmb