Skip to content
This repository was archived by the owner on May 5, 2026. It is now read-only.

Commit 0098a3e

Browse files
noahgiftclaude
andcommitted
feat(terminal): implement TUI widgets from cbtop spec
Add six new widgets to presentar-terminal: - Sparkline: compact inline graphs with trend indicators - Heatmap: 2D grid visualization with color palettes - Gauge: arc/vertical/compact gauge displays - Tree: collapsible hierarchical tree view - ConfusionMatrix: ML classification matrix visualization - BoxPlot: statistical box-and-whisker plots All widgets implement Brick + Widget traits with PROBAR-SPEC-009 compliance including assertions, budgets, and verification. Includes comprehensive test coverage (457 tests pass). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 961eddf commit 0098a3e

9 files changed

Lines changed: 4162 additions & 1 deletion

File tree

crates/presentar-terminal/src/lib.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,11 @@ pub use error::TuiError;
4343
pub use input::{InputHandler, KeyBinding};
4444

4545
// Re-export widget types
46-
pub use widgets::{BrailleGraph, GraphMode, Meter, Table};
46+
pub use widgets::{
47+
BoxPlot, BoxStats, BrailleGraph, ConfusionMatrix, Gauge, GaugeMode, GraphMode, Heatmap,
48+
HeatmapCell, HeatmapPalette, MatrixPalette, Meter, NodeId, Normalization, Orientation,
49+
Sparkline, Table, Tree, TreeNode, TrendDirection,
50+
};
4751

4852
// Re-export core types for convenience
4953
pub use presentar_core::{

0 commit comments

Comments
 (0)