Multiple regions support
I've added region browsing support to hash-ui now (#170) (and a tons of internal refactoring)
If you have multiple regions in your nomad cluster, you will be asked which one you wish to access, otherwise the one region you have will be auto-selected for you.
Regions can now be selected from a list (when multiple regions is available)
or from the upper right corner anywhere in the UI
(expanded)
The region you are currently in will be shown in the main topbar now as well
When you have multiple regions, the leader from each region will now be detected correctly as well
caveats
hash-ui will not re-scan for new or dropped regions, it will only pick up the regions on startup, so if you change your regions, please remember to restart hash-ui.
Additionally all URLs have changed to be /nomad/:region/:resource/:id/:action
instead of previously /:resource/:id/:action
- the UI should redirect you automatically to somewhere "sane", but please update any bookmarks you may have :)