Backport of ui: show region in header gutter when only one region exists into release/1.9.x
Backport
This PR is auto-generated from #24320 to be assessed for backporting due to the inclusion of the label backport/1.9.x.
The below text is copied from the body of the original PR.
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 https://github.com/hashicorp/nomad/issues/24337 and adds activeRegion / region switcher dropdown information upon signing in.
Overview of commits
- 4dbcdd103ad39f8e4b5b6d772f8d25928ddc8bb6
Ember Test Audit comparison
| release/1.9.x | 076f2aecb702e50e1bafd3a12dc75329d729f58b | change | |
|---|---|---|---|
| passes | 1581 | 1577 | -4 |
| failures | 0 | 5 | +5 |
| flaky | 0 | 0 | 0 |
| duration | 12m 42s 273ms | 000ms | -12m 42s 273ms |
I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.