Skip to content

fix(tui): truncate skill descriptions to 100 chars in command palette - #238

Merged
github-actions[bot] merged 1 commit into
mainfrom
tui/skill-desc-truncate-100
Aug 4, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
tui/skill-desc-truncate-100

Conversation

@mohitranka

Copy link
Copy Markdown
Contributor

Summary

  • Cap workspace-skill descriptions shown in the slash command palette to 100 characters (with an ellipsis), so a long SKILL.md description can't blow out the row.

Test plan

  • cargo build -p forge-tui
  • cargo fmt --all -- --check
  • cargo test -p forge-tui (723 passed)

Long skill descriptions from SKILL.md frontmatter could overflow the
palette row; cap at 100 chars with an ellipsis to match the row-width
truncation already done for other palette content.
@github-actions
github-actions Bot enabled auto-merge (squash) August 4, 2026 09:45
@github-actions
github-actions Bot merged commit 13646c5 into main Aug 4, 2026
7 checks passed
mohitranka added a commit that referenced this pull request Aug 21, 2026
…#238)

Long skill descriptions from SKILL.md frontmatter could overflow the
palette row; cap at 100 chars with an ellipsis to match the row-width
truncation already done for other palette content.
mohitranka added a commit that referenced this pull request Sep 11, 2026
…#238)

Long skill descriptions from SKILL.md frontmatter could overflow the
palette row; cap at 100 chars with an ellipsis to match the row-width
truncation already done for other palette content.
mohitranka added a commit that referenced this pull request Sep 11, 2026
…#238)

Long skill descriptions from SKILL.md frontmatter could overflow the
palette row; cap at 100 chars with an ellipsis to match the row-width
truncation already done for other palette content.
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