Skip to content
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

Chat: show context excluded reason in UI #5577

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

abeatrix
Copy link
Contributor

@abeatrix abeatrix commented Sep 13, 2024

CLOSE https://linear.app/sourcegraph/issue/CODY-3725/if-a-user-specifically-mentions-a-file-but-we-dont-use-it-as-context

Right now, users might not be aware of excluded items unless they open the context list, which can cause a lot of confusion when context items were expected:

image

This PR adds a new UI component below the Context item list to display more information about the excluded context to address this issue:

image

Test plan

Updated storybook for the new UI component:

image

After

User can know about the skipped context without opening the context list.

image

Before

User will not know about the skipped context unless they have the context list opened (at the bottom of the list):

image

Changelog

Chat: display a warning in UI when at-mention items were excluded.

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