Skip to content

feat(tui): convert /skills to sub-page overlay#109

Closed
yishuiliunian wants to merge 4 commits intomainfrom
feat/skills-sub-page
Closed

feat(tui): convert /skills to sub-page overlay#109
yishuiliunian wants to merge 4 commits intomainfrom
feat/skills-sub-page

Conversation

@yishuiliunian
Copy link
Copy Markdown
Contributor

Summary

  • Convert /skills slash command from inline system message to a full SubPage overlay (left list + right detail pane), matching the /mcp page pattern
  • Fix scroll tracking bug in both skills and MCP list views — selected item now stays visible when navigating beyond the viewport
  • Add SkillsPageState, SkillItem types, view renderer, key handler, and 11 tests

Changes

  • New: app/skills_page.rs, views/skills_page.rs, input/skills_page_keys.rs, tests/suite/skills_page_keys_test.rs
  • Modified: skills_cmd.rs (core logic), types.rs (SubPage enum), render.rs, sub_page.rs, mcp_page.rs (scroll fix), mod.rs files, suite.rs, skills_cmd_test.rs

Test plan

  • bazel test //crates/loopal-tui:loopal-tui_test — all pass
  • bazel build //crates/loopal-tui --config=clippy — zero warnings
  • CI passes

Replace inline system message with a full SubPage (left list + right
detail pane), matching the /mcp page pattern. Also fix scroll tracking
in both skills and mcp list views so the selected item stays visible.
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