testkube icon indicating copy to clipboard operation
testkube copied to clipboard

Dashboard - Parse possible terminal color codes

Open exu opened this issue 2 years ago • 3 comments

Describe the enhancement you'd like to see

As an UI user I want to see terminal output in the same way as users sees it in terminal

example k6 test in terminal and UI image

Additional context We would need any lib which is able to "colorize" terminal output

On backend side research possibility of forcing color codes for existing executors

exu avatar Aug 03 '22 10:08 exu

It seems like there's some colour coding after all.

TheBrunoLopes avatar Aug 03 '22 10:08 TheBrunoLopes

If you plan to use https://github.com/nteract/ansi-to-react – feel free to use the color palette from the figma for the colors :)

  • 600 shade for main colors
  • 300 shade for bright colors
  • 800 or 900 shade for background

fivenp avatar Aug 23 '22 13:08 fivenp

@exu As I can see now, API doesn't provide color coding for execution's log output.

Image

pavloburchak avatar Sep 06 '22 10:09 pavloburchak