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] Remove default title, tweak text for consistency #49394

Merged
merged 5 commits into from
Oct 29, 2019

Conversation

wylieconlon
Copy link
Contributor

  • Change "Lens Visualizations" to "Lens" in visualize grid
  • Removes the default title from Lens. The title will only appear if the visualization has been saved previously.
  • Move the field type filter to the right, so it doesn't cover the list of fields
  • Make Discover wording consistent with Lens

@wylieconlon wylieconlon added Team:Visualizations Visualization editors, elastic-charts and infrastructure v8.0.0 release_note:skip Skip the PR/issue when compiling release notes Feature:Lens v7.5.0 v7.6.0 labels Oct 25, 2019
@wylieconlon wylieconlon requested review from kertal, chrisdavies and a team October 25, 2019 20:13
@elasticmachine
Copy link
Contributor

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

@elasticmachine
Copy link
Contributor

💔 Build Failed

@@ -97,7 +97,7 @@ export function DiscoverFieldSearch({
>
<FormattedMessage
id="kbn.discover.fieldChooser.fieldFilterFacetButtonLabel"
defaultMessage="Fields filtered"
defaultMessage="Filter by type"
Copy link
Member

Choose a reason for hiding this comment

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

dear @bhavyarm, that's the wording we talked about, do you think it's better this way?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We previously had this wording in Lens, but it was requested to change by @gchaps - this is at least now consistent

Copy link
Contributor

@bhavyarm bhavyarm Oct 28, 2019

Choose a reason for hiding this comment

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

@kertal thanks for checking in. I discussed it with QA team too. It isn't clear to us at all that Fields filtered means we can change the facets(categories) of the fields. Its not indicating an action - but you can clearly do it on Aggregatable and searchable and type. But we couldn't arrive at something definite. Does adding a tooltip help? In any case - Filter in discover is getting confusing. Because we have data filters and then this which isn't necessarily filtering on data. Thanks!

Copy link
Contributor

Choose a reason for hiding this comment

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

But I definitely don't want to get stuck in on this

Copy link
Contributor

Choose a reason for hiding this comment

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

I like the idea of adding a tooltip.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure a tooltip improves the clarity of this, since the behavior is pretty discoverable- you can click the button and see what filters are available. I would prefer not introducing different tooltips for Lens and Discover

Copy link
Member

Choose a reason for hiding this comment

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

What do you think about this way? There's a Search for fields and a Filter fields action, plus we could add a tooltip elaborating the square block displaying the number of active field filters.
Bildschirmfoto 2019-10-29 um 11 14 11

Copy link
Contributor

@chrisdavies chrisdavies left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -68,7 +68,7 @@ export function DiscoverFieldSearch({
defaultMessage: 'Show field filter settings',
});
const searchPlaceholder = i18n.translate('kbn.discover.fieldChooser.searchPlaceHolder', {
defaultMessage: 'Search fields',
defaultMessage: 'Search for fields',
Copy link
Contributor

Choose a reason for hiding this comment

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

I prefer the previous, for what little it's worth.

Copy link
Contributor

Choose a reason for hiding this comment

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

I talked to @wylieconlon, and he suggested Search field names.

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@wylieconlon wylieconlon merged commit e3ec773 into elastic:master Oct 29, 2019
@wylieconlon wylieconlon deleted the lens/more-tweaks branch October 29, 2019 17:52
wylieconlon pushed a commit to wylieconlon/kibana that referenced this pull request Oct 29, 2019
* [Lens] Remove default title, tweak text for consistency

* Remove unused

* Text update
wylieconlon pushed a commit to wylieconlon/kibana that referenced this pull request Oct 29, 2019
* [Lens] Remove default title, tweak text for consistency

* Remove unused

* Text update
wylieconlon pushed a commit that referenced this pull request Oct 29, 2019
)

* [Lens] Remove default title, tweak text for consistency

* Remove unused

* Text update
wylieconlon pushed a commit that referenced this pull request Oct 29, 2019
)

* [Lens] Remove default title, tweak text for consistency

* Remove unused

* Text update
@bhavyarm
Copy link
Contributor

@wylieconlon in IE11 - lens visualization label doesn't display fully on picking it in create viz wizard. L seems to be cut off.
Screen Shot 2019-10-29 at 3 58 48 PM

@wylieconlon
Copy link
Contributor Author

@bhavyarm Yes, that issue is fixed by this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Lens release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.5.0 v7.6.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants