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 #7678 Add tooltip to legend in visualization #7890

Merged
merged 1 commit into from
Aug 4, 2016

Conversation

ck-lee
Copy link
Contributor

@ck-lee ck-lee commented Jul 31, 2016

Fixes #7678

  • Added tooltip to legend to display label.

My first PR for Kibana. I implemented the tooltip to always show, instead of only show if the label is too long. I thought the UX is better this way and with a simpler implementation. Happy to experiment otherwise.

@karmi
Copy link

karmi commented Jul 31, 2016

Hi @ck-lee, we have found your signature in our records, but it seems like you have signed with a different e-mail than the one used in yout Git commit. Can you please add both of these e-mails into your Github profile (they can be hidden), so we can match your e-mails to your Github profile?

@elasticmachine
Copy link
Contributor

Can one of the admins verify this patch?

@cjcenizal
Copy link
Contributor

@ck-lee Thanks for submitting this PR! I'll review this week.

@cjcenizal
Copy link
Contributor

LGTM! Here's a screenshot, for the record:

image

@@ -15,7 +15,8 @@
<div
ng-click="showDetails = !showDetails"
ng-class="showDetails ? 'legend-value-full' : 'legend-value-truncate'"
class="legend-value-title">
class="legend-value-title"
tooltip="{{legendData.label}}">
Copy link
Member

Choose a reason for hiding this comment

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

last > should be in new line and aligned with <div

@ppisljar
Copy link
Member

ppisljar commented Aug 4, 2016

LGTM except for the minor style comment

Minor code styling after review
@ck-lee
Copy link
Contributor Author

ck-lee commented Aug 4, 2016

@ppisljar Please review

@ppisljar
Copy link
Member

ppisljar commented Aug 4, 2016

LGTM

@ppisljar ppisljar removed their assignment Aug 4, 2016
@cjcenizal cjcenizal merged commit 57f338a into elastic:master Aug 4, 2016
@cjcenizal
Copy link
Contributor

Thank you @ck-lee !

@cjcenizal cjcenizal removed their assignment Aug 4, 2016
@epixa epixa added the v5.0.0 label Oct 26, 2016
airow pushed a commit to airow/kibana that referenced this pull request Feb 16, 2017
Fix elastic#7678 Add tooltip to legend in visualization

Former-commit-id: 57f338a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants