Skip to content
This repository has been archived by the owner on Feb 18, 2025. It is now read-only.

Display region, data center, and environment in UI #1095

Merged
merged 12 commits into from
Apr 29, 2020

Conversation

jhriggs
Copy link
Contributor

@jhriggs jhriggs commented Mar 11, 2020

The region, data center, and physical environment bits of metadata are not currently displayed in the UI, though instances have a colored outline/border to distinguish DCs. This adds all 3 pieces of information to the instance modal window and also the title/tooltip for each instance in the cluster screen. (The latter has been tested on FF, Chrome, and Safari on OS X, but the embedded new lines may not work in all browsers.) This also adds a legend to the bottom of the cluster screen that shows the mapping of outline color to DC.

Fixes #1094.

The region, data center, and physical environment bits of metadata are not currently displayed in the UI, though instances have a colored outline/border to distinguish DCs. This adds all 3 pieces of information to the instance modal window and also the title/tooltip for each instance in the cluster screen. (The latter has been tested on FF, Chrome, and Safari on OS X, but the embedded new lines may not work in all browsers.) This also adds a legend to the bottom of the cluster screen that shows the mapping of outline color to DC.

Fixes openark#1094.
@jhriggs
Copy link
Contributor Author

jhriggs commented Mar 12, 2020

This is what it looks like:

image (1)

image (3)

image (2)

@shlomi-noach
Copy link
Collaborator

Thank you for this pull request and sorry about the delays. This looks overall good and makes sense. I may tweak the UI a bit and circle back here.

@shlomi-noach
Copy link
Collaborator

I'm suggesting this visual change:

Screen Shot 2020-04-28 at 10 51 44 AM

In the above, the legend matches the cluster display format.

Copy link
Collaborator

@shlomi-noach shlomi-noach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this PR. I've made some visual changes, as well as took anonymization and dc-coloring into account when rendering the legend.

@shlomi-noach shlomi-noach merged commit 3c6b0c6 into openark:master Apr 29, 2020
@jhriggs jhriggs deleted the dc-region-env-visibility branch May 19, 2020 14:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Display region, data center, and environment in UI
2 participants