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

[Lens][Visualize] Align inspector header in Lens and Visualize #112443

Merged
merged 2 commits into from
Sep 20, 2021

Conversation

dej611
Copy link
Contributor

@dej611 dej611 commented Sep 16, 2021

Summary

Fixes #112060

This PR aligns the Inspector panel title when shown within both Lens and Visualize editors.

Now the header is showing the visualization title when available and the Inspector placeholder when there's no title yet.
Note that when testing in Dashboard the title of the panel is different from the title of the visualization.

Mind #112442 when testing this fix, as it can still affect it.

Checklist

Delete any items that are not applicable to this PR.

@dej611 dej611 added Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.16.0 v8.0.0 labels Sep 16, 2021
@dej611
Copy link
Contributor Author

dej611 commented Sep 20, 2021

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
lens 1021.0KB 1021.0KB +8.0B
visualizations 71.9KB 72.0KB +91.0B
total +99.0B

History

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

@dej611 dej611 marked this pull request as ready for review September 20, 2021 10:30
@dej611 dej611 requested a review from a team as a code owner September 20, 2021 10:30
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-vis-editors (Team:VisEditors)

@dej611 dej611 added auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes labels Sep 20, 2021
Copy link
Contributor

@stratoula stratoula left a comment

Choose a reason for hiding this comment

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

Code LGTM, I tested it locally and both inspectors are aligned now :)

Copy link
Contributor

@mbondyra mbondyra left a comment

Choose a reason for hiding this comment

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

LGTM 👌🏼

@dej611 dej611 merged commit 5f994b1 into elastic:master Sep 20, 2021
@dej611 dej611 deleted the fix/112060 branch September 20, 2021 13:54
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Sep 20, 2021
…ic#112443)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.x

This backport PR will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Sep 20, 2021
…) (#112558)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed Feature:Lens release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.16.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Inspector][Lens][Visualize] Inspector panel has small UI differences between apps
5 participants