Skip to content

tui: add client-side explorer tree filter#1

Merged
plattnum merged 2 commits into
mainfrom
feat/filter-tree-nodes
Apr 25, 2026
Merged

tui: add client-side explorer tree filter#1
plattnum merged 2 commits into
mainfrom
feat/filter-tree-nodes

Conversation

@plattnum
Copy link
Copy Markdown
Owner

@plattnum plattnum commented Apr 25, 2026

Summary

  • Adds a client-side filter to the TUI explorer tree so users can narrow the hierarchy without re-fetching.
  • Touches crates/plnk-tui/src/main.rs (~360 net lines) and updates docs/tui/{overview,tree-view,keybindings}.md.
  • Also carries a test fix (test: derive version assertion from CARGO_PKG_VERSION) that was cherry-picked to main as bc24c04 — will collapse on merge.

Test plan

  • cargo test --workspace
  • Launch plnk-tui, open explorer, exercise the filter keybinding on a populated hierarchy
  • Confirm empty-match and clear-filter states render correctly
  • Verify the new keybinding appears in docs/tui/keybindings.md and matches the handler

Hardcoded "plnk 0.1.0" broke after the 0.1.1 workspace bump. Sourcing
the expected string from env!("CARGO_PKG_VERSION") keeps the assertion
in sync with Cargo.toml automatically.
@plattnum plattnum merged commit ecb0d6c into main Apr 25, 2026
8 checks passed
@plattnum plattnum deleted the feat/filter-tree-nodes branch April 25, 2026 03:30
plattnum added a commit that referenced this pull request May 2, 2026
…el group

- Pass label through build_payload() so LabelGroup selections include
  label id/name in the JSON output and breadcrumb.
- Generate a scoped  command
  instead of a plain list snapshot.
- Add tests for both labeled and unlabeled label-group fast-copy.

Fixes #1
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