Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

upgrade Cody Web, always create a new chat#64334

Merged
sqs merged 2 commits into
mainfrom
sqs/cody-web-misc
Aug 7, 2024
Merged

upgrade Cody Web, always create a new chat#64334
sqs merged 2 commits into
mainfrom
sqs/cody-web-misc

Conversation

@sqs

@sqs sqs commented Aug 7, 2024

Copy link
Copy Markdown
Member

Incorporates https://github.com/sourcegraph/cody/pull/5129

Test plan

Run in SvelteKit and non-SvelteKit. Ensure that the Cody standalone chat and Cody sidebar chats work.

@sqs sqs requested a review from a team August 7, 2024 12:52
@cla-bot cla-bot Bot added the cla-signed label Aug 7, 2024
@sqs sqs requested a review from a team August 7, 2024 12:55
@sqs sqs force-pushed the sqs/cody-web-misc branch 3 times, most recently from 73258f7 to 9147d29 Compare August 7, 2024 13:00
Comment thread client/web-sveltekit/src/lib/cody/CodySidebarChat.svelte Outdated
Comment on lines 170 to 172

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This won't have any effect here because there is no element in this component that has attribute [cmdk-root]. Instead this needs to be moved underneath .chat and changed to

    :global([cmdk-root]) :global(.focus-visible) {
        box-shadow: unset !important;
    }

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. But hmm, that doesn't seem to work either. I am trying to get rid of the blue focus ring that the arrow is pointing to (just the one below the text field):
image

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, I got it. It was using input:focus-visible not the .focus-visible JS helper in client/web

@sqs sqs force-pushed the sqs/cody-web-misc branch from 9147d29 to f1a22d5 Compare August 7, 2024 13:15
@sqs sqs enabled auto-merge (squash) August 7, 2024 13:16
@sqs sqs merged commit f7d4517 into main Aug 7, 2024
@sqs sqs deleted the sqs/cody-web-misc branch August 7, 2024 13:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants