console icon indicating copy to clipboard operation
console copied to clipboard

Preview message headers as columns

Open saada opened this issue 3 years ago • 1 comments

Absolutely loving this project. 👏

It would be beneficial to show headers as columns using the Preview feature. Happy to contribute this with some guidance.

Thanks 💜

saada avatar Feb 05 '22 08:02 saada

Hey @saada , thank you for these warm words!

Contributions are absolutely welcome and we are happy to help. Before starting could you maybe create some visual sketch about what you would like to change? This is how we usually do it as well, before actually working on these changes. We use Figma for that, but you can use whatever tool you prefer of course.

One catch/challenge with the header columns I'd like to mention nonetheless: Because values are effectively just []byte we treat them exactly like we treat the message value. That means: We try to parse them using different strategies (we try JSON, XML, Avro, Text, etc) and either render it as JSON, Hex String or a plain string (if ASCII characters). Therefore the header values should at least support JSON and normal text strings.

weeco avatar Feb 05 '22 15:02 weeco