Commit d613890
authored
Implement Phase 13 - Data and Feedback Widget Component Migration (#134)
* Split Phase 13 into four separate phases
Split the monolithic Phase 13 into focused sections following
the same section-by-section pattern used in Phase 12:
- Phase 13: Data and Feedback Widget Component Migration
(list, table, tree_view, markdown_viewer, log_viewer,
status, progress, gauge, inline_feedback, sparkline,
bar_chart, line_chart)
- Phase 14: Overlay, Operational, and Display Widget Component Migration
(overlay_surface, dialog, alert_dialog, context_menu, toast,
stream_widget, process_monitor, supervision_tree_viewer,
cluster_dashboard, viewport, scroll_bar, split_pane, canvas)
- Phase 15: Canonical Renderer Convergence
(retarget canonical rendering to widget component boundaries,
remove renderer-only markup paths)
- Phase 16: Advanced Widget Integration Tests
(cross-family composition, native/canonical parity)
- Renumber old Phase 14 to Phase 17: Tooling, Demo, Validation,
and Release Readiness for Widget Components
* Implement Phase 13.1 and 13.2 - Data and Feedback Widget Tests
Add regression tests for data and feedback widgets to verify they
preserve identity, styling, slots, and event semantics through
the widget component architecture.
**Phase 13.1 - Data and Document Widgets** (27 tests)
- List widget tests: component boundary, ordered mode, selection
- Table widget tests: component boundary, dense mode, row selection
- TreeView widget tests: component boundary, nested nodes, selection, expansion
- MarkdownViewer widget tests: component boundary, markdown rendering
- LogViewer widget tests: component boundary, log levels, wrap mode
**Phase 13.2 - Feedback and Chart Widgets** (29 tests)
- Status widget tests: component boundary, severity, status states
- Progress widget tests: component boundary, percentage, indeterminate
- Gauge widget tests: component boundary, ranges, value display
- InlineFeedback widget tests: component boundary, severities
- Sparkline widget tests: component boundary, data series (display family)
- BarChart widget tests: component boundary, data series (display family)
- LineChart widget tests: component boundary, data series (display family)
**Test Coverage:**
- Widget identity preservation across renders and modes
- Event semantics (click, selection, change)
- Bounded local state support
- Styling attributes (tone, variant)
* Implement Phase 13.3 - Integration Tests
Add end-to-end integration tests for Phase 13 widget migrations.
Verifies that data, document, and feedback widgets work correctly
together in realistic screen scenarios.
**Test Scenarios:**
- Data dashboard integration with status, table, and progress widgets
- Document viewer integration with markdown and log widgets
- Widget identity preservation across renders and modes
- Event routing through widget boundaries
- Styling propagation through feedback widgets
- Bounded local state support for data and feedback widgets
**Total Tests:**
- Phase 13.1: 27 data and document widget tests
- Phase 13.2: 29 feedback and chart widget tests
- Phase 13.3: 12 integration tests
- **Total: 68 regression tests**1 parent 37ddc3e commit d613890
11 files changed
Lines changed: 1362 additions & 141 deletions
File tree
- .spec/planning/live_ui
- packages/live_ui/test/live_ui
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| |||
Lines changed: 0 additions & 101 deletions
This file was deleted.
Lines changed: 57 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
Lines changed: 68 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
0 commit comments