chore(svelte): Update to latest cody web version (#63732)

Yet another PR to get cody web up-to-date in the new web app.

## Test plan
Manual testing.
This commit is contained in:
Felix Kling 2024-07-09 22:22:18 +02:00 committed by GitHub
parent 232cfcb097
commit 160d1bf56d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 13 additions and 8 deletions

View File

@ -92,7 +92,7 @@
"@sourcegraph/wildcard": "workspace:*",
"@storybook/test": "^8.0.5",
"@urql/core": "^4.2.3",
"cody-web-experimental": "^0.2.1",
"cody-web-experimental": "^0.2.3",
"copy-to-clipboard": "^3.3.1",
"fzf": "^0.5.2",
"highlight.js": "^10.0.0",

View File

@ -1,11 +1,14 @@
<script lang="ts">
import { CodyWebChat, CodyWebChatProvider } from 'cody-web-experimental'
import { createElement } from 'react'
import { CodyWebChat, CodyWebChatProvider } from 'cody-web-experimental'
import { createRoot, type Root } from 'react-dom/client'
import { onDestroy } from 'svelte'
import type { CodySidebar_ResolvedRevision } from './CodySidebar.gql'
import 'cody-web-experimental/dist/style.css'
import { createLocalWritable } from '$lib/stores'
export let repository: CodySidebar_ResolvedRevision
@ -72,6 +75,12 @@
--vscode-editor-font-size: var(--code-font-size);
--mention-color-opacity: 100%;
// LLM picker tokens
--vscode-quickInput-background: var(--dropdown-bg);
--vscode-dropdown-border: var(--border-color);
--vscode-dropdown-foreground: var(--body-color);
--vscode-foreground: var(--body-color);
line-height: 1.55;
flex: 1;
min-height: 0;

View File

@ -1594,8 +1594,8 @@ importers:
specifier: ^4.2.3
version: 4.2.3(graphql@15.4.0)
cody-web-experimental:
specifier: ^0.2.1
version: 0.2.1
specifier: ^0.2.3
version: 0.2.3
copy-to-clipboard:
specifier: ^3.3.1
version: 3.3.1
@ -14545,10 +14545,6 @@ packages:
resolution: {integrity: sha512-19Jox5sAKpusTDgqgKB5dawPpQcY+ipQK7xoEI+MVucEF9qqFaXpeqY1KaoyGBso/wHQoDa4HMMxMjdsS3Zzzw==}
dev: false
/cody-web-experimental@0.2.1:
resolution: {integrity: sha512-ci7wRIOaxpD+xZ5ecR0IYeJhxAai4meIUNVGXzjUATYiRx3+755kWtrWRbvPGhmE+2jF1KB2DKKd+pyGKmfbdg==}
dev: false
/cody-web-experimental@0.2.3:
resolution: {integrity: sha512-Wymn3jVlnZMC/ww16x8RtCuoFwVfkk3A43Bzb16xIszZpDGS1DUBsyuqw+gHkO96w1GxfH+phP3EZpZrTm3X3w==}
dev: false