feat(svelte): Add Cody chat sidebar#63638
Conversation
This commit adds the React version of the cody chat sidebar to the Svelte web app.
|
|
||
| function handleClick(): void { | ||
| $rightPanelOpen = true | ||
| // TELEMETRY_RECORDER.recordEvent('repo.goToCodeHost', 'click') |
There was a problem hiding this comment.
I'll have to find the right event for this.
There was a problem hiding this comment.
I ended up removing this because in the React app we seem to logging a "transcript id" which we don't have here.
There was a problem hiding this comment.
Very cool, one thing which isn't a blocker I guess, I'm not sure how it's supposed to work on dot com but Cody Ignore is something we also should support (there is a settings mechanism which disables Cody Web chat for some particular files and repositories, maybe on dot com it's always available for everything)
|
I think I know what you mean. I saw for the inline cody widget there was a hook that checks whether cody is enabled for the current file. I guess that's handled somewhere else for the sidebar and is something we should port over. |
|
Amazing PR Felix. Incredible work. (Darn you, I thought there was a problem with my env not being able to run |
This commit adds the React version of the cody chat sidebar to the Svelte web app. I used @vovakulikov's work in the React app as guidance.
I'm sure we'll have to do follow up work, but it's a start.
This PR also fixes
sg start web-sveltekit-standalone(because I originally thought that running it fromsourcegraph.testis necessary to make auth work).Test plan
Manual testing.
sg-sk-cody.mp4