spotlight icon indicating copy to clipboard operation
spotlight copied to clipboard

Improve e2e integration with stacks such as Rails

Open BYK opened this issue 1 year ago • 4 comments

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" snippet 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)

BYK avatar Jul 31 '24 14:07 BYK

Related: #403

BYK avatar Aug 01 '24 21:08 BYK

Pure HTML part was handled by #478.

BYK avatar Aug 07 '24 15:08 BYK

Spotlight relying on running in the same page with Sentry Browser SDK is being addressed in getsentry/sentry-javascript#13263

BYK avatar Aug 07 '24 15:08 BYK

Related #543.

BYK avatar Oct 31 '24 22:10 BYK

We're following a different approach so closing this as wontfix

BYK avatar Dec 12 '25 11:12 BYK