Skip to content

UI: Add enterprise suffix to UI version number#18559

Closed
evrowe wants to merge 1 commit intomainfrom
ui/NET-438/add-ent-version-suffix
Closed

UI: Add enterprise suffix to UI version number#18559
evrowe wants to merge 1 commit intomainfrom
ui/NET-438/add-ent-version-suffix

Conversation

@evrowe
Copy link
Contributor

@evrowe evrowe commented Aug 22, 2023

Description

This fix checks the Consul Binary type, and for non-Community (i.e. Enterprise) binary versions, a "+ent" suffix is added to the version number of Consul that is displayed in the UI so that operators viewing the UI can see their enterprise license reflected in the sidebar.

Testing & Reproduction steps

  1. Checkout branch of any previous release (i.e. 1.15.0)
  2. Edit ui/packages/consul-ui/config/environment.js and change line 78 to read:
CONSUL_BINARY_TYPE: env('CONSUL_BINARY_TYPE', 'ent'),
  1. run make ui-docker to build the ui image
  2. run make dev-docker
  3. clone https://github.com/WenInCode/consul-setup
  4. in the consul-setup repo go to the setups/peering directory
  5. run docker-compose up
  6. run yarn setup:peerings
  7. Go to https://localhost:8501/ui
  8. Observe the index page and note the version number in the lower right corner of the UI does not have a "+ent" suffix

Now, check out this branch and repeat the above steps 1-9.

Observe the index page and note the version number in the lower right corner of the UI now shows the version number with the "+ent" suffix appended, i.e. Consul v1.17.0+ent

Links

PR Checklist

  • updated test coverage
  • external facing docs updated
  • appropriate backport labels added
  • not a security concern

This fix checks the Consul Binary type, and for non-Community (i.e.
Enterprise) binary versions, a "+ent" suffix is added to the version
number of Consul that is displayed in the UI so that operators viewing
the UI can see their enterprise license reflected in the sidebar.
@evrowe evrowe added the theme/ui Anything related to the UI label Aug 22, 2023
@evrowe
Copy link
Contributor Author

evrowe commented Aug 22, 2023

@WenInCode New PR with the correct branch name 👍

@evrowe evrowe added backport/1.15 This release series is no longer active on CE. Use backport/ent/1.15. backport/1.16 This release series is no longer active on CE. Use backport/ent/1.16. labels Aug 22, 2023
@github-actions
Copy link

This pull request has been automatically flagged for inactivity because it has not been acted upon in the last 60 days. It will be closed if no new activity occurs in the next 30 days. Please feel free to re-open to resurrect the change if you feel this has happened by mistake. Thank you for your contributions.

@github-actions
Copy link

github-actions bot commented Dec 2, 2023

Closing due to inactivity. If you feel this was a mistake or you wish to re-open at any time in the future, please leave a comment and it will be re-surfaced for the maintainers to review.

@github-actions github-actions bot closed this Dec 2, 2023
@github-actions github-actions bot deleted the ui/NET-438/add-ent-version-suffix branch August 29, 2025 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/1.15 This release series is no longer active on CE. Use backport/ent/1.15. backport/1.16 This release series is no longer active on CE. Use backport/ent/1.16. meta/stale Automatically flagged for inactivity by stalebot theme/ui Anything related to the UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant