Skip to content

Improve warning display UI related to skills - #58838

Merged
danilo-leal merged 6 commits into
mainfrom
thread-callout-ui-improve
Jun 8, 2026
Merged

Improve warning display UI related to skills#58838
danilo-leal merged 6 commits into
mainfrom
thread-callout-ui-improve

Conversation

@danilo-leal

Copy link
Copy Markdown
Member

This PR tackles how we communicate errors/warnings relative to skills. It touches three major surfaces: callouts in the thread view, menu items in the completion menu, and settings UI. These are all the places where we display something to tell the user a skill might have a problem.

In the settings UI, we now clamp the skill description to five lines. And if there's a warning, we show the warning icon and the description in a tooltip when hovering it:

Screenshot 2026-06-08 at 10  51@2x

In the thread view, we display callouts with the warnings. I simplified the long-description one specifically given we can click on each skill item right there, so no need for a "manage global skills" button or descriptions in each item:

Screenshot 2026-06-08 at 10  52@2x

In the code completion menu, I removed the icon that appeared at the far right and instead added the ability for it to render a colored warning icon instead of the icon it'd already display in the left; I think this simplifies it nicely:

Screenshot 2026-06-08 at 10  53@2x

Release Notes:

  • Agent: Improved how we communicate problems relative to skills, in both the agent panel and the settings UI.

@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Jun 8, 2026
@zed-community-bot zed-community-bot Bot added the staff Pull requests authored by a current member of Zed staff label Jun 8, 2026
@danilo-leal
danilo-leal added this pull request to the merge queue Jun 8, 2026
Merged via the queue into main with commit e7edca8 Jun 8, 2026
32 checks passed
@danilo-leal
danilo-leal deleted the thread-callout-ui-improve branch June 8, 2026 15:49
This was referenced Jun 18, 2026
jonx pushed a commit to jonx/zed-aros that referenced this pull request Jul 17, 2026
This PR tackles how we communicate errors/warnings relative to skills.
It touches three major surfaces: callouts in the thread view, menu items
in the completion menu, and settings UI. These are all the places where
we display something to tell the user a skill might have a problem.

In the settings UI, we now clamp the skill description to five lines.
And if there's a warning, we show the warning icon and the description
in a tooltip when hovering it:

<img width="600" alt="Screenshot 2026-06-08 at 10  51@2x"
src="https://github.com/user-attachments/assets/1a1233b0-c24a-4082-9fe6-2ab1d00ba9fd"
/>

In the thread view, we display callouts with the warnings. I simplified
the long-description one specifically given we can click on each skill
item right there, so no need for a "manage global skills" button or
descriptions in each item:

<img width="600" alt="Screenshot 2026-06-08 at 10  52@2x"
src="https://github.com/user-attachments/assets/4b9aad23-7362-40cd-8ab5-6dfceb46badd"
/>

In the code completion menu, I removed the icon that appeared at the far
right and instead added the ability for it to render a colored warning
icon instead of the icon it'd already display in the left; I think this
simplifies it nicely:

<img width="350" alt="Screenshot 2026-06-08 at 10  53@2x"
src="https://github.com/user-attachments/assets/8d0c731a-31a0-4d30-abab-1eb40f61031e"
/>


Release Notes:

- Agent: Improved how we communicate problems relative to skills, in
both the agent panel and the settings UI.

---------

Co-authored-by: Martin Ye <martin@zed.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants