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] Add datasource fields group help text #85544

Merged
merged 4 commits into from Dec 15, 2020
Merged

Conversation

dej611
Copy link
Contributor

@dej611 dej611 commented Dec 10, 2020

Summary

Fix: #83321

This PR adds some help text to explain how the criteria for the fields groups in Lens.

Screenshot 2020-12-10 at 12 46 53

Checklist

Delete any items that are not applicable to this PR.

@dej611 dej611 added release_note:enhancement Team:Visualizations Visualization editors, elastic-charts and infrastructure v8.0.0 Feature:Lens v7.11.0 labels Dec 10, 2020
@dej611 dej611 marked this pull request as ready for review December 10, 2020 16:05
@dej611 dej611 requested a review from a team December 10, 2020 16:05
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@KOTungseth
Copy link
Contributor

This looks good from my perspective, but I'd like to pull in @gchaps for a second pair of eyes.

@gchaps
Copy link
Contributor

gchaps commented Dec 10, 2020

LGTM

@dej611
Copy link
Contributor Author

dej611 commented Dec 14, 2020

@elasticmachine merge upstream

Copy link
Contributor

@flash1293 flash1293 left a comment

Choose a reason for hiding this comment

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

LGTM, just left a nit

<strong>{label}</strong>
<p>
<strong>{label}</strong>
{!!helpTooltip && (
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we insert a blank here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Used some CSS rather than simple empty space to avoid space underlying:

Screenshot 2020-12-14 at 15 47 30

vs

Screenshot 2020-12-14 at 15 30 09

Copy link
Contributor

Choose a reason for hiding this comment

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

Nice!

@dej611 dej611 requested a review from a team as a code owner December 14, 2020 14:47
Copy link
Contributor

@wylieconlon wylieconlon left a comment

Choose a reason for hiding this comment

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

Copy and behavior LGTM! Tested in FF

Copy link
Contributor

@MichaelMarcialis MichaelMarcialis left a comment

Choose a reason for hiding this comment

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

Left one small comment for your review, but looks good to me otherwise. Nice job! Approving now so as not to hold you up any further.

Comment on lines 97 to 112
<p>
<strong className={titleClassname}>{label}</strong>
{!!helpTooltip && (
<EuiIconTip
aria-label={helpTooltip}
type="questionInCircle"
color="subdued"
size="s"
position="right"
content={helpTooltip}
iconProps={{
className: 'eui-alignTop',
}}
/>
)}
</p>
Copy link
Contributor

Choose a reason for hiding this comment

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

Please remove the wrapping p element. It is not necessary and it is invalid HTML5 to have it as a child of a button.

@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 1012.6KB 1013.8KB +1.3KB

Distributable file count

id before after diff
default 47129 47889 +760

History

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

@dej611 dej611 merged commit 9b71c94 into elastic:master Dec 15, 2020
@dej611 dej611 deleted the doc/83321 branch December 15, 2020 17:23
dej611 added a commit to dej611/kibana that referenced this pull request Dec 15, 2020
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
dej611 added a commit that referenced this pull request Dec 16, 2020
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Lens release_note:enhancement Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.11.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Lens] In-product explanation of how "existing fields" are chosen
8 participants