Skip to content

Sign-in note gets displayed when it shouldn't #17288

@inventarSarah

Description

@inventarSarah

Steps to Reproduce

  1. Make sure you're not signed in to Sentry
  2. Visit this quick start guide and go to "Register Sentry Providers": https://docs.sentry.io/platforms/javascript/guides/angular/manual-setup/#register-sentry-providers

Expected Result

I see the code block and no note box.

Actual Result

I see a note above the code block saying that I need to log in to use my personal config, but the code block does not contain personal config values.

Image

Additional Info

I suspect it's these conditionals in the code blocks:

// ___PRODUCT_OPTION_START___ performance
solidRouterBrowserTracingIntegration(),
// ___PRODUCT_OPTION_END___ performance

The sign-in notes get displayed when the code tab contains a string that starts and ends with two underscores.

Here are other code block that displays it, although it shouldn't:

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions