-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
feat(overlay): Allow to skip sidecar #501
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
e554873
to
0ec320d
Compare
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or [setup this action to publish automatically](https://github.com/changesets/action#with-publishing). If you're not ready to do a release yet, that's fine, whenever you add more changesets to fn/prerelease-addEnvelope, this PR will be updated.⚠️ ⚠️ ⚠️ ⚠️ ⚠️ ⚠️ `fn/prerelease-addEnvelope` is currently in **pre mode** so this branch has prereleases rather than normal releases. If you want to exit prereleases, run `changeset pre exit` on `fn/prerelease-addEnvelope`.⚠️ ⚠️ ⚠️ ⚠️ ⚠️ ⚠️ # Releases ## @spotlightjs/[email protected] ### Minor Changes - feat(overlay): Allow to skipSidecar to avoid connecting to sidecar ([#501](#501)) ## @spotlightjs/[email protected] ### Patch Changes - Updated dependencies \[]: - @spotlightjs/[email protected] ## @spotlightjs/[email protected] ### Patch Changes - Updated dependencies \[[`0ec320d1259c85e3505d6a80f88dc41d0f567d9e`](0ec320d)]: - @spotlightjs/[email protected] ## @spotlightjs/[email protected] ### Patch Changes - Updated dependencies \[[`0ec320d1259c85e3505d6a80f88dc41d0f567d9e`](0ec320d)]: - @spotlightjs/[email protected] Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or [setup this action to publish automatically](https://github.com/changesets/action#with-publishing). If you're not ready to do a release yet, that's fine, whenever you add more changesets to fn/prerelease-addEnvelope, this PR will be updated.⚠️ ⚠️ ⚠️ ⚠️ ⚠️ ⚠️ `fn/prerelease-addEnvelope` is currently in **pre mode** so this branch has prereleases rather than normal releases. If you want to exit prereleases, run `changeset pre exit` on `fn/prerelease-addEnvelope`.⚠️ ⚠️ ⚠️ ⚠️ ⚠️ ⚠️ # Releases ## @spotlightjs/[email protected] ### Patch Changes - Updated dependencies \[]: - @spotlightjs/[email protected] ## @spotlightjs/[email protected] ### Patch Changes - Updated dependencies \[[`28818193ba34093d456bd855c483eb61e364d14d`](2881819)]: - @spotlightjs/[email protected] ## @spotlightjs/[email protected] ### Patch Changes - fix(overlay): Skip contextLines lookup if sidecar is empty ([#501](#501)) ## @spotlightjs/[email protected] ### Patch Changes - Updated dependencies \[[`28818193ba34093d456bd855c483eb61e364d14d`](2881819)]: - @spotlightjs/[email protected] Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This change looks a bit invasive. Do we really need a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blocking till we settle on the way forward. Otherwise changes look OK.
I think we can close this out? At this point we've decided that we will 1) never skip the sidecar (a variety of reasons), and 2) additionally shortcut the sidecar straight to the embed when possible |
I can continue to use the forked version for the chrome extension (where a sidecar is not possible), if we do not want to "fully" support this! |
@mydea I'll explore ways to do this automatically rather than using an explicit flag. That's why I'm keeping the PR open but I don't think we'll be moving forward with this particular PR/code change. |
For the frontend-only use-case, we do not have a sidecar, so we want to skip connecting to it & do not show a warning for that.
ref #133