Skip to content

Toggled features in docs do not have their line range applied when switching between languages #12726

Closed

Description

@adinauer

Steps to Reproduce

  1. open https://docs.sentry.io/platforms/java/guides/spring-boot/
  2. untick "OpenTelemetry"
  3. make sure the "Configure" sample snippet is showing the "Properties" tab
  4. untick "Performance"
  5. switch to the "YAML" tab of the configure snippet
  6. observe that the line tracesSampleRate: 1.0 is still visible
  7. tick "Performance" again
  8. untick "Performance" again
  9. observe that the line tracesSampleRate: 1.0 is no longer visible

Expected Result

the line tracesSampleRate: 1.0 should never be shown on the YAML tab if "Performance" (and "OpenTelemetry") is unticked

Actual Result

the line tracesSampleRate: 1.0 is shown unless the "Performance" box is toggled back and forth once

Additional Info

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions