-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add cody web to the new web app #62448
Comments
This was referenced May 20, 2024
vovakulikov
added a commit
that referenced
this issue
Jun 26, 2024
…62792) Part of #62448 Linear issue [SRCH-573](https://linear.app/sourcegraph/issue/SRCH-573/integrate-cody-web-package-into-the-sourcegraph-ui) This is highly experimental usage of the new (not currently merged but published in NPM `cody-web-experimental`) package ## How to run it - (Optional) if you previously linked any local packages make sure they don't exist in your node_modules anymore, `rm -rf node_modules` in the root then `pnpm install` - Run standard `sg start web-standalone` - Turn on `newCodyWeb: true` in your `experimentalFeatures` ## How to run it locally with prototype PR in Cody repository - Open Cody repository on the `vk/integrate-cody-web-chat-2` branch - At the root of the repo, run `pnpm install` to make sure you're up to date with all of the dependencies. - Go to the web package (`cd web`) - Build it with `pnpm build` - Create a global link with `pnpm link --global` (Ignore the warning message about no binary) - Open sourcegraph/sourcegraph repository on this PR branch - Make sure you are in the root of the repo. - Run `pnpm link --global cody-web-experimental` - Run `sg start web-standalone` to bundle the web app and launch an instance that uses S2 for the backend. You'll need to create a login on S2 that is not federated by GitHub. - Turn on `newCodyWeb: true` in your `experimentalFeatures` - Have fun experimenting! ## Test plan - Check that old version of Cody has got no regressions
peterguy
pushed a commit
that referenced
this issue
Jun 26, 2024
…62792) Part of #62448 Linear issue [SRCH-573](https://linear.app/sourcegraph/issue/SRCH-573/integrate-cody-web-package-into-the-sourcegraph-ui) This is highly experimental usage of the new (not currently merged but published in NPM `cody-web-experimental`) package ## How to run it - (Optional) if you previously linked any local packages make sure they don't exist in your node_modules anymore, `rm -rf node_modules` in the root then `pnpm install` - Run standard `sg start web-standalone` - Turn on `newCodyWeb: true` in your `experimentalFeatures` ## How to run it locally with prototype PR in Cody repository - Open Cody repository on the `vk/integrate-cody-web-chat-2` branch - At the root of the repo, run `pnpm install` to make sure you're up to date with all of the dependencies. - Go to the web package (`cd web`) - Build it with `pnpm build` - Create a global link with `pnpm link --global` (Ignore the warning message about no binary) - Open sourcegraph/sourcegraph repository on this PR branch - Make sure you are in the root of the repo. - Run `pnpm link --global cody-web-experimental` - Run `sg start web-standalone` to bundle the web app and launch an instance that uses S2 for the backend. You'll need to create a login on S2 that is not federated by GitHub. - Turn on `newCodyWeb: true` in your `experimentalFeatures` - Have fun experimenting! ## Test plan - Check that old version of Cody has got no regressions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add cody in some form. Maybe that's bringing in the standalone page, or the cody sidebar, or both. What exactly we do needs to be decided. It seems reasonable to try to integrate Quinn's web worker changes (Slack).
Related issues:
The text was updated successfully, but these errors were encountered: