Repository navigation
feat(k8s): draw the pod page's charts as thin braille lines - #402
Conversation
54abfde to
d09731b
Compare
Braille replaces the box-drawing lines, with no way back to them.
d09731b to
9b3d101
Compare
Adds tests for descending lines, gaps and overlapping series.
…s by dot rows A sample with gaps on both sides lights both dots of its row, flattens() measures in dot rows, and rowOf clamps to the chart. Adds tests for joins across cell rows, lone samples, clamping and the flattening threshold.
|
Summary
The charts in
k8s pods watchcurrently use box-drawing characters, making fluctuating metrics look like staircases. Overlapping lines can also be difficult to distinguish.This PR switches to braille-based charts, which render smoother, thinner lines using a 2 × 4 dot grid per terminal cell. This improves readability without changing the underlying data or chart dimensions.
Before and After
Before — box-drawing characters
Metric fluctuations appear as staircases because each character occupies an entire terminal row.
After — braille characters
Higher-resolution rendering (2 × 4 dots per cell) makes fluctuations easier to follow without increasing the chart size.
Behavior
k8s pods watch. There is no key or flag to switch back.Validation
make lintpasses.Fixes #398