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

ui: show region in header gutter when only one region exists #24320

Merged
merged 5 commits into from
Nov 2, 2024

Conversation

shoenig
Copy link
Member

@shoenig shoenig commented Oct 29, 2024

This PR adds a plain text label of the region to the header when there is
only one region present. Before, nothing was showin in this case, and a
dropdown was shown on federated clusters.

The use case here is for operators of multiple non-federated Nomad clusters,
when all the UI's involved otherwise look identical.

Fixes #14893

============================

Additionally, resolves #24337 and adds activeRegion / region switcher dropdown information upon signing in.

Copy link

github-actions bot commented Oct 29, 2024

Ember Test Audit comparison

main e51c18c change
passes 1581 1582 +1
failures 0 0 0
flaky 0 0 0
duration 12m 25s 253ms 12m 15s 929ms -09s 324ms

This PR adds a plain text label of the region to the header when there is
only one region present. Before, nothing was showin in this case, and a
dropdown was shown on federated clusters.

The use case here is for operators of multiple non-federated Nomad clusters,
when all the UI's involved otherwise look identical.
…veRegion (#24347)

* Signing in with a token explicitly sets the region dropdown activeREgion

* Test and Select a Region default text

* Account for 403 on mocked agent members req
@philrenaud philrenaud added the backport/1.9.x backport to 1.9.x release line label Nov 1, 2024
@philrenaud philrenaud marked this pull request as ready for review November 1, 2024 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.9.x backport to 1.9.x release line
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ui: blank region identifier when logging into federated cluster ui: add region identifier to header
2 participants