I recently tried to integrate Spotlight with a basic Rails app and it was a very cumbersome experience.
[ ] It's not clear that we need the Ruby SDK to get the full value out of Spotlight
[ ] It's not clear that having JS SDK on the frontend provides much more value.
[ ] - We should probably add call to actions both on docs and under certain tabs on the UI
[ ] - We should provide a "Add Sentry JS SDK" snipped there too, or provide a Spotlight bundle that already does this
[ ] It's not clear how/which version of Spotlight to use: Pure HTML, or Electron, or npx @spotlightjs/spotlight + Web Browser. We should pick one golden path and promote it
[x] Pure HTML integration of Spotlight is very confusing as it requires 3 separate script tags (#478)
[x] Spotlight relies too much on running in the same page with the front-end application, such as automatically enabling Sentry JS SDK for itself. Sentry JS SDK should do these automatically when spotlight: true is passed and Spotlight should not rely on being on the same global execution environment with the Sentry JS SDK for best integration (getsentry/sentry-javascript#13263)
I recently tried to integrate Spotlight with a basic Rails app and it was a very cumbersome experience.
npx @spotlightjs/spotlight
+ Web Browser. We should pick one golden path and promote itspotlight: true
is passed and Spotlight should not rely on being on the sameglobal
execution environment with the Sentry JS SDK for best integration (getsentry/sentry-javascript#13263)