-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Add description truncation for slash commands in CLI UI #8172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 issue found across 2 files
Prompt for AI agents (all 1 issues)
Understand the root cause of the following 1 issues and fix them.
<file name="extensions/cli/src/ui/SlashCommandUI.tsx">
<violation number="1" location="extensions/cli/src/ui/SlashCommandUI.tsx:13">
Slicing by code units can split surrogate pairs and render broken characters when truncating descriptions that contain emoji. Please truncate by Unicode code points instead to avoid the replacement character in the UI.</violation>
</file>
React with 👍 or 👎 to teach cubic. Mention @cubic-dev-ai
to give feedback, ask questions, or re-run the review.
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 1 file
CON-4280
Summary by cubic
Truncates long slash command descriptions in the CLI UI to 80 characters with an ellipsis for cleaner, readable lists. Also updates the CLI .gitignore to ignore *.cast files.