[React]: Add super simple usage of the new web worker-based cody chat #62792
+811
−429
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Part of #62448
For more details and to dive deep into worker and shims problems see this sourcegraph/cody#4227
Steps to make this work
vk/integrate-cody-web-chat-2
branchpnpm install
to make sure you're up to date with all of the dependencies.cd web
)pnpm build
pnpm link --global
(Ignore the warning message about no binary)pnpm link --global @sourcegraph/cody-web
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.newCodyWeb: true
in yourexperimentalFeatures
At the moment, props are hardcoded, shims are static, styles in cody web and sourcegraph web are disconnected
Test plan