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

Add nav bar item to show HCP link status and encourage folks to link #1245

Open
dhiaayachi opened this issue Sep 27, 2024 · 0 comments
Open

Comments

@dhiaayachi
Copy link
Owner

Description

We want people to link to HCP!
This PR adds a nice little nav bar item to the sidebar letting users view their linked clusters in HCP as well as begin the linking process. (Although the actual linking start - with modal will happen in https://hashicorp.atlassian.net/browse/CC-7147

Testing & Reproduction steps

  • Just open this up
    • yarn start
    • localhost:4200/ui
  • You should see the purple banner and a new nav icon in the sidebar
  • If you dismiss the banner, the New Item should go away
  • If you've already linked your cluster (Update this to STATE_TRUE) and restart ui server - you should see a link to HCP consul
  • If you pretend to be an hcp hosted consul, you should see the ol Back to HCP link
    • To enable: Scenario('CONSUL_HCP_ENABLE=1'); and Scenario('CONSUL_HCP_URL=https://corn.com')
    • To disable: delete them from your cookies

Links

Screenshots

image
image

image
image

References

image

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

No branches or pull requests

1 participant