Skip to content

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

@adinauer

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

Metadata

Metadata

Assignees

Labels

No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions