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

Fix legend overflow bug on dashboard vis #29948

Merged
merged 3 commits into from Feb 6, 2019

Conversation

flash1293
Copy link
Contributor

@flash1293 flash1293 commented Feb 4, 2019

Summary

Fixes #22597

This fixes the legend overflow problem described in #23806

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

- [ ] This was checked for breaking API changes and was labeled appropriately
- [ ] This includes a feature addition or change that requires a release note and was labeled appropriately

@flash1293 flash1293 added bug Fixes for quality problems that affect the customer experience Feature:Dashboard Dashboard related features v7.0.0 Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Feb 4, 2019
@flash1293 flash1293 requested a review from a team as a code owner February 4, 2019 13:17
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app

@timroes
Copy link
Contributor

timroes commented Feb 4, 2019

Jenkins, test this

1 similar comment
@flash1293
Copy link
Contributor Author

Jenkins, test this

@elasticmachine
Copy link
Contributor

💔 Build Failed

@cchaos
Copy link
Contributor

cchaos commented Feb 4, 2019

Was there a particular chart this was broken on? This is what I see in master:

@elasticmachine
Copy link
Contributor

💔 Build Failed

@markov00
Copy link
Member

markov00 commented Feb 4, 2019

@cchaos apparently seems that this bug is present only on firefox.
Any barchart with date histogram and split series by geo.srcdest will work.

I've tested current master on the following cases:

  • Chrome on OSX: ✅
  • Safari on OSX: ✅
  • Firefox on OSX: ⛔️
  • IE11 on Windows : ✅
  • Firefox on Windows: ⛔️

Copy link
Member

@markov00 markov00 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've tested it with a barchart on logstash demo data:

  • X axis date histogram with @timestamp field
  • split series: terms by geo.srcdest

Tested and works fine on the following:
Chrome on OSX: ✅
Safari on OSX: ✅
Firefox on OSX: ✅
IE11 on Windows : ✅
Firefox on Windows: ✅

@cchaos
Copy link
Contributor

cchaos commented Feb 4, 2019

Ok, I'm seeing the issue on Firefox, but while this fix fixes dashboards, it breaks the vis editor:

https://d.pr/free/i/k1ap0p

screen shot 2019-02-04 at 11 33 35 am

@flash1293
Copy link
Contributor Author

Good catch @cchaos , working on it

@flash1293 flash1293 force-pushed the fix/22597-scss-styles-missing branch from 9804fa4 to 4fc5628 Compare February 4, 2019 17:15
@cchaos
Copy link
Contributor

cchaos commented Feb 4, 2019

The most recent commit seems to work for me on (Mac) Chrome, Firefox and IE11. Thx

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@timroes
Copy link
Contributor

timroes commented Feb 4, 2019

@markov00 Since the CSS was changed again, do you think you could revalidate it quickly?

@flash1293
Copy link
Contributor Author

Going to merge this as discussed offline with @timroes

@flash1293 flash1293 merged commit 1f2fe4d into elastic:master Feb 6, 2019
@flash1293 flash1293 deleted the fix/22597-scss-styles-missing branch February 6, 2019 10:45
flash1293 added a commit to flash1293/kibana that referenced this pull request Feb 6, 2019
flash1293 added a commit to flash1293/kibana that referenced this pull request Feb 6, 2019
@flash1293
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Dashboard Dashboard related features Team:Visualizations Visualization editors, elastic-charts and infrastructure v6.6.1 v6.7.0 v7.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vertical scroll scrolls the entire visualization instead of just the legend.
5 participants