Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide the hcp link banner behind an env variable #20392

Merged
merged 2 commits into from
Jan 29, 2024

Conversation

chris-hut
Copy link
Contributor

Description

With the 1.18 RC release getting cut tomorrow, we want to hide the HCP link banner - as it won't be done until the 1.18.0 release.

Testing & Reproduction steps

  • Launch app normally - see no banner
  • Launch against consul-setup - see no banner
  • Locally run Scenario('CONSUL_HCP_LINK_ENABLED=true') and see the banner exists now

Links

References

image

@chris-hut chris-hut added theme/ui Anything related to the UI pr/no-changelog PR does not need a corresponding .changelog entry pr/no-backport labels Jan 29, 2024
Copy link
Contributor

@WenInCode WenInCode left a comment

Choose a reason for hiding this comment

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

You may want to add the env var stuff to get-environment so that you can disable it with Scenario('name=0') like all the other envvars.

If you do you should update it to be that fun ENABLE vs ENABLED

But also not necessary and I probably wouldn't do that given you will be tearing this out after the RC release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/no-backport pr/no-changelog PR does not need a corresponding .changelog entry theme/ui Anything related to the UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants