Skip to content

feat(cli): polish the interactive shell — markdown detail modal + live filter portal#1013

Open
nickprotop wants to merge 2 commits into
managedcode:mainfrom
nickprotop:feat/cli-shell-markdown-filter
Open

feat(cli): polish the interactive shell — markdown detail modal + live filter portal#1013
nickprotop wants to merge 2 commits into
managedcode:mainfrom
nickprotop:feat/cli-shell-markdown-filter

Conversation

@nickprotop

Copy link
Copy Markdown
Contributor

What

Two interactive-shell (dotnet skills) UX improvements, plus a SharpConsoleUI
bump to 2.5.10 (markdown ruler/table rendering fixes) that they build on.

Detail modal (skills / bundles / agents / installed)

  • Descriptions and the SKILL.md preview now render as real markdown
    (MarkupControl.SetMarkdown) instead of escaped plain text.
  • The preview shows the full SKILL.md (previously capped at 10 lines), in its
    own fill-height scrolling panel with a ## Preview heading and a left
    margin. The skill modal folds the summary into one cohesive markdown document.
  • The static (Spectre stdout) detail panel keeps a short capped excerpt so it
    doesn't flood the terminal.

Filter

  • The / search now opens a slim, non-blocking portal (SearchFilterPortal)
    that filters the list/table behind it live as you type, replacing the
    heavy centered modal. It drives the existing _searchFilter +
    RebuildActivePage path, so grouped, flat, and non-table pages all filter
    uniformly.
  • The on-page filter chip gains a clickable [Clear] link (using
    MarkupControl's link support) and a subtle separator rule.

Validation

  • dotnet build dotnet-skills.slnx — builds.
  • dotnet test dotnet-skills.slnx614 passed, 0 failed.
  • Manually verified in the interactive shell: markdown preview scrolls with
    headings/tables/rules; / opens the live-filter portal; the Clear link and
    Esc both clear the filter.

…e filter portal

Bump SharpConsoleUI to 2.5.10 (markdown ruler/table rendering fixes) and use its
markdown capabilities to polish two interactive-shell surfaces.

Detail modal (skills/bundles/agents/installed):
- Render descriptions and the SKILL.md preview as real markdown via
  MarkupControl.SetMarkdown instead of escaped plain text.
- Show the FULL SKILL.md (dropped the 10-line cap) in its own fill-height
  scrolling panel with a "## Preview" heading and a left margin; the skill modal
  folds the summary into one cohesive markdown document.
- The static (Spectre stdout) detail panel keeps a short capped excerpt.

Filter:
- Replace the heavy centered "/" search modal with a slim non-blocking portal
  (SearchFilterPortal) that filters the list/table behind it live as you type,
  driving the existing _searchFilter + RebuildActivePage path so grouped, flat,
  and non-table pages all filter uniformly.
- The on-page filter chip gains a clickable [Clear] link (MarkupControl link
  support) and a subtle separator rule.

Build + 614 tests pass.
Refresh the checked-in external-source snapshots to the latest upstream so the
"verify imported external sources are committed" CI gate passes. Regenerated via
scripts/sync_external_catalog_sources.sh; no manual edits. Unrelated to the shell
polish in this branch.
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