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

[Metrics UI] Show current view's name in toolbar #68231

Closed
wants to merge 2 commits into from

Conversation

phillipb
Copy link
Contributor

@phillipb phillipb commented Jun 4, 2020

Summary

Give the user more context by showing the current view's name. Fixes: #65836

Screen Shot 2020-06-04 at 5 30 19 AM

@phillipb phillipb added release_note:enhancement Feature:Metrics UI Metrics UI feature v8.0.0 Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.9.0 labels Jun 4, 2020
@phillipb phillipb requested a review from a team as a code owner June 4, 2020 10:38
@elasticmachine
Copy link
Contributor

Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui)

@kibanamachine
Copy link
Contributor

💔 Build Failed

Failed CI Steps

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@@ -95,10 +112,7 @@ export function SavedViewsToolbarControls<ViewState>(props: Props<ViewState>) {
/>
</EuiButtonEmpty>
<EuiButtonEmpty iconType="importAction" onClick={loadViews} data-test-subj="loadViews">
Copy link
Contributor

Choose a reason for hiding this comment

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

I feel like the importAction icon doesn't make sense anymore now that this button doesn't say "Load." Maybe something that communicates "This is the current view" better?

grid seems like the closest thing in EUI to the look of the waffle map. node might also work even though it's not a square.

@@ -95,10 +112,7 @@ export function SavedViewsToolbarControls<ViewState>(props: Props<ViewState>) {
/>
</EuiButtonEmpty>
<EuiButtonEmpty iconType="importAction" onClick={loadViews} data-test-subj="loadViews">
<FormattedMessage
defaultMessage="Load"
id="xpack.infra.waffle.savedViews.loadViewsLabel"
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like removing this is throwing an i18n error

Copy link
Contributor

@Zacqary Zacqary left a comment

Choose a reason for hiding this comment

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

Sorry accidentally added my review as individual comments, see above

@phillipb phillipb closed this Jul 1, 2020
@phillipb phillipb deleted the add-saved-view-name branch July 1, 2020 03:30
@EamonnTP
Copy link
Contributor

EamonnTP commented Aug 5, 2020

Hi @phillipb Should this be included in the 7.9.0 release notes? I don't see it listed here: https://github.com/elastic/kibana/blob/0afaba21b39709739086e2aaa3a88a8a1bea855b/docs/CHANGELOG.asciidoc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Metrics UI Metrics UI feature release_note:enhancement Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.9.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Metrics UI] Show name of the current view
5 participants