Skip to content

feat: forge tui — ratatui terminal dashboard#77

Merged
N4M3Z merged 1 commit into
mainfrom
p2-tui
Jul 8, 2026
Merged

feat: forge tui — ratatui terminal dashboard#77
N4M3Z merged 1 commit into
mainfrom
p2-tui

Conversation

@N4M3Z

@N4M3Z N4M3Z commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Bare forge (built with --features tui) and forge tui launch a ratatui terminal UI over the commands::services scan model extracted in #76. Four panes — artifacts browser, provenance + integrity, projects/ontology (placeholder pending the P3 ontology loader), and sources/watch/find — plus a : command palette. Sync crossterm event loop, gitui-style Component panes, panic-guarded terminal teardown. The tui feature is optional and excluded from default/full, so normal builds stay slim.

Test plan

  • cargo fmt --check; cargo clippy --features tui --all-targets -- -D warnings
  • cargo test --features tui (4 TUI TestBackend snapshot tests assert pane render content)
  • cargo build (default, tui absent, compiles)
  • live: launches under a PTY, renders, holds the event loop, no panic
  • CI matrix

Bare `forge` (with --features tui) and `forge tui` launch a ratatui TUI:
four panes (artifacts, provenance+integrity, projects/ontology placeholder,
sources/watch/find) over the shared services scan model, plus a command
palette. Sync crossterm event loop, gitui-style Component panes, panic-guarded
terminal teardown. TestBackend snapshot tests assert pane render content.

Also fixes a pedantic items-after-statements/format-push lint in the #61
drift scope test so the --all-targets clippy gate stays clean.
@N4M3Z N4M3Z merged commit 4848c72 into main Jul 8, 2026
4 checks passed
@N4M3Z N4M3Z deleted the p2-tui branch July 8, 2026 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant