spotlight icon indicating copy to clipboard operation
spotlight copied to clipboard

feat(overlay): Allow to skip sidecar

Open mydea opened this issue 1 year ago • 5 comments

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 https://github.com/getsentry/spotlight/issues/133

mydea avatar Aug 21 '24 09:08 mydea

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
spotlightjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 21, 2024 10:59am

vercel[bot] avatar Aug 21 '24 09:08 vercel[bot]

This change looks a bit invasive. Do we really need a skipSidecar option? Like how about we pass sidecarUrl: false or even better, we just say we cannot connect to sidecar but we can run in FE-only mode?

BYK avatar Aug 21 '24 11:08 BYK

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

dcramer avatar Jan 24 '25 17:01 dcramer

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 avatar Jan 28 '25 13:01 mydea

@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.

BYK avatar Jan 29 '25 16:01 BYK

We are going in a direction where Spotlight is sidecar-first so closing this PR as not planned.

Relevant ticket #891

BYK avatar Sep 16 '25 14:09 BYK