Repository navigation
feat: add display names to project skill actions - #31747
Conversation
Project skills get an optional display_name column, limited to project skills and 64 characters, that labels the skill's action chip. The chip, its tooltip, and the "More" menu show the display name and fall back to the skill name; clicking still inserts /name. The project skill editor shows a Display name field while "Show as action" is on. Hiding it keeps the value, and saves omit display_name while the action is off so the stored value stays. Refs CODAGT-1506
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 553287243e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6039a4cbba
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
# Conflicts: # site/src/pages/AgentsPage/components/ProjectSkillActions.tsx
Docs previewLinks open this pull request's preview at https://pr-31747.docs.cdr-preview.dev, which updates with each push. Check off each page once it's been reviewed. If a page changes in a later push, its checkbox clears automatically so it gets a fresh look. Pages not yet wired into the docs navigation aren't listed here. Preview sites for each built commit (1)Every built commit keeps its own preview, newest first. Previews aren't indexed by search engines and are deleted when this pull request is merged or closed. |
…n to 000643 Main added 000641_workspace_app_stats_session_ended_at_idx, which collided with this branch's 000641 migration and made golang-migrate fail with a duplicate migration file error.
closes CODAGT-1506
Project skill action chips show the skill's slug (
deploy-bot,security-review), because skill names must be kebab-case. This adds an optional display name that labels the chip instead.Project skills get a
display_namecolumn, set throughdisplay_nameon the create and update requests. It is limited to project skills (the same rule asaction), trimmed, single line, and at most 64 Unicode code points. The chip, its tooltip, and the "More" menu show the display name, sort by it, and fall back to the skill name when it is empty. When a display name is set, the tooltip and the menu item also show the/nameslash command, so actions that share a display name stay distinguishable. Clicking an action still inserts/name, and the/menu is unchanged.The project skill editor shows a Display name field under Show as action only while that switch is on. Turning the switch off hides the field but keeps its value, and saves omit
display_namewhile the action is off, so the stored value stays. The display name lives in the database rather than SKILL.md frontmatter, so downloading and re-importing a skill does not carry it.To share the code-point length check with the editor,
countCharactersandmaxCharactersmove fromChatProjectDialog.tsxintosite/src/utils/formUtils.ts.Refs CODAGT-1506