Skip to content

ref: More robust client init code generation#426

Merged
BYK merged 1 commit intomainfrom
byk/ref/better-client-init
Jul 2, 2024
Merged

ref: More robust client init code generation#426
BYK merged 1 commit intomainfrom
byk/ref/better-client-init

Conversation

@BYK
Copy link
Member

@BYK BYK commented Jun 29, 2024

The current client init code generation is a bit fragile. It also does not pass the sidecarUrl option to any other potential integrations. This PR fixes that issue and makes the code generation more robust and readable.

The current client init code generation is a bit fragile. It also does not pass the sidecarUrl option to any other potential integrations. This PR fixes that issue and makes the code generation more robust and readable.
@BYK BYK requested a review from Shubhdeep12 June 29, 2024 00:16
@vercel
Copy link

vercel bot commented Jun 29, 2024

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 Jun 29, 2024 0:18am

@BYK BYK requested a review from dcramer June 29, 2024 00:17
@BYK BYK enabled auto-merge (squash) June 29, 2024 00:17
@BYK BYK disabled auto-merge June 29, 2024 00:17
@BYK BYK enabled auto-merge (squash) June 29, 2024 00:17
@BYK BYK requested a review from Shubhdeep12 July 1, 2024 19:19
Copy link
Collaborator

@Shubhdeep12 Shubhdeep12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Creating a separate issue for

  • updating docs for custom intrgrations.
  • to make sidecarURL (optional) in other intrgrations provided by Spotlight.
  • to pass tye sidecarURL from Spotlight.init to the integration's options if the integrations array is paased by props while initiating Spotlight.

@BYK BYK removed the request for review from dcramer July 2, 2024 12:52
@BYK BYK disabled auto-merge July 2, 2024 12:54
@BYK BYK merged commit 2ba33cf into main Jul 2, 2024
@BYK BYK deleted the byk/ref/better-client-init branch July 2, 2024 12:54
kensternberg-authentik added a commit to kensternberg-authentik/spotlight that referenced this pull request Jul 15, 2024
…rybook-8-compatibility

* origin/HEAD:
  fix: Overhaul envelope parsing to be spec compliant (getsentry#439)
  fix: Always trim befor trying to JSON.parse (getsentry#438)
  Highlighted active span and event (getsentry#437)
  ref: Use new event helpers (getsentry#433)
  fix: Remove forgotton console.log statement
  feat: POC for adding spotlight overlay for ssr-errors (getsentry#364)
  ref: More concise event helpers (getsentry#431)
  fix: Fix CI issues (getsentry#432)
  fix: Send something immediately to trigger open event (getsentry#429)
  ref: More robust client init code generation (getsentry#426)
  docs: Add note about Volta - pnpm support (getsentry#425)
  Added Search in Trace detail (getsentry#424)
  Added Trace Info (getsentry#423)
  chore(deps-dev): bump vite from 4.5.2 to 4.5.3 (getsentry#392)
  chore(deps): bump braces from 3.0.2 to 3.0.3 (getsentry#415)
  docs: Add build step to initial setup (getsentry#418)
dcramer pushed a commit that referenced this pull request Jun 3, 2025
The current client init code generation is a bit fragile. It also does
not pass the sidecarUrl option to any other potential integrations. This
PR fixes that issue and makes the code generation more robust and
readable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants