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

[TSVB] Documents the new index pattern mode #102880

Merged
merged 24 commits into from
Jul 1, 2021

Conversation

stratoula
Copy link
Contributor

@stratoula stratoula commented Jun 22, 2021

Summary

Closes #102323

In our effort to push more users to use the index pattern mode I:

Update: After discussing it with the design team, the callout appears only for old visualizations that use the string mode. We also give the users the ability to dismiss the notification.

How to test it

Checklist

@stratoula stratoula changed the title [TSVB] Document the new index pattern mode [TSVB] Documents the new index pattern mode Jun 22, 2021
@stratoula
Copy link
Contributor Author

stratoula commented Jun 22, 2021

@elastic/kibana-design wdyt about the Callout?

Some info about this:

Unfortunately, for the already created TSVB viz (before 7.13), if they want to use the new mode (which unlocks many cool features such as runtime fields), they have to do it manually. (We cant use the migration system here). So this PR tries to introduce the new feature with a callout and the updated documentation.

I also tried to use the EuiTour component but it doesn't work very well with the popovers. I think that the callout is a good solution as we are planning (in future minors) to add a warning to inform the users that we are going to deprecate the old mechanism.

@gchaps @KOTungseth can you also check the text, both on the UI and the docs section

Thank you all ❤️

@MichaelMarcialis
Copy link
Contributor

@elastic/kibana-design wdyt about the Callout?

As I understand it, the new index pattern mode is turned on by default. Is that correct? If so, am I also correct in understanding that any TSVB visualization created before the introduction of this new index pattern mode has the feature turned off, so as not to break past work?

Assuming all the above is correct, I'd suggest conditionally showing this callout only when it has been detected that the user is opening a previously saved TSVB visualization from before the feature was available and thus has it turned off. TSVB visualizations with the feature turned on and newly created TSVB visualizations where the user has intentionally turned off the feature should be omitted from seeing the callout.

Finally, I'd also suggest including a way to dismiss the callout to keep from annoying users who no longer wish to see it.

@stratoula
Copy link
Contributor Author

@elasticmachine merge upstream

@stratoula
Copy link
Contributor Author

@MichaelMarcialis correct, it is in on by default except from the old visualizations.
I agree with your recommendations, will update my PR 🙂

@stratoula stratoula added Feature:TSVB TSVB (Time Series Visual Builder) release_note:skip Skip the PR/issue when compiling release notes v7.14.0 v8.0.0 labels Jun 28, 2021
@stratoula stratoula marked this pull request as ready for review June 28, 2021 10:54
@stratoula stratoula requested a review from a team June 28, 2021 10:54
@stratoula stratoula requested a review from a team as a code owner June 28, 2021 10:54
@stratoula stratoula added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Jun 28, 2021
@elasticmachine
Copy link
Contributor

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

@gchaps
Copy link
Contributor

gchaps commented Jun 28, 2021

How about something like this for the message

Title: TSVB introduces a new index pattern mode

Great news! A new index pattern mode with support for runtime fields and improved performance is now available in TSVB. Give it a try.

Dismiss

@stratoula
Copy link
Contributor Author

stratoula commented Jun 29, 2021

@KOTungseth @gchaps Can you also check the documentation added here? ❤️

@stratoula
Copy link
Contributor Author

Thanx @gchaps. Changes here:
image

@KOTungseth
Copy link
Contributor

KOTungseth commented Jun 29, 2021

Instead of calling this index pattern mode, can we call out the specific new functionality that is now provided to our users? This is why I used You can now visualize the data from Elasticsearch indices or Kibana index patterns. Check it out {indexPatternModeLink}. in my comment above.

I don't think users will relate to index pattern mode as much as they will relate to visualize the data from Elasticsearch indices.

@ghudgins
Copy link
Contributor

ghudgins commented Jun 29, 2021

I agree with @KOTungseth that Index pattern mode isn't quite right. the below seems to blend both @gchaps and @KOTungseth's suggestions. I only tweaked the title - TSVB now supports index patterns

Great news! You can now visualize the data from Elasticsearch indices or Kibana index patterns. Check it out {indexPatternModeLink}.

@stratoula
Copy link
Contributor Author

@elasticmachine merge upstream

@stratoula
Copy link
Contributor Author

And here it is!
image

@spalger spalger added v7.15.0 and removed v7.14.0 labels Jun 30, 2021
docs/user/dashboard/tsvb.asciidoc Outdated Show resolved Hide resolved
docs/user/dashboard/tsvb.asciidoc Outdated Show resolved Hide resolved
docs/user/dashboard/tsvb.asciidoc Outdated Show resolved Hide resolved
docs/user/dashboard/tsvb.asciidoc Outdated Show resolved Hide resolved
docs/user/dashboard/tsvb.asciidoc Outdated Show resolved Hide resolved
docs/user/dashboard/tsvb.asciidoc Outdated Show resolved Hide resolved
docs/user/dashboard/tsvb.asciidoc Outdated Show resolved Hide resolved
docs/user/dashboard/tsvb.asciidoc Outdated Show resolved Hide resolved
docs/user/dashboard/tsvb.asciidoc Outdated Show resolved Hide resolved
docs/user/dashboard/tsvb.asciidoc Outdated Show resolved Hide resolved
@stratoula
Copy link
Contributor Author

@elasticmachine merge upstream

@stratoula
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
visTypeTimeseries 535 539 +4

Async chunks

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

id before after diff
visTypeTimeseries 1002.2KB 1007.3KB +5.0KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
core 419.9KB 420.0KB +69.0B

History

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

Copy link
Member

@kertal kertal left a comment

Choose a reason for hiding this comment

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

LGTM, tested locally in Chrome, Firefox, Safari, works as expected 👍

@stratoula stratoula merged commit c52e0e1 into elastic:master Jul 1, 2021
stratoula added a commit to stratoula/kibana that referenced this pull request Jul 1, 2021
* [TSVB] Document the new index pattern mode

* Add a callout to TSVB to advertise the new index pattern mode

* Conditionally render the callout, give capability to dismiss it

* Fix i18n

* Update the notification texts

* Update notification text

* Change callout storage key

* add UseIndexPatternModeCallout component

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Final docs changes

* Remove TSVB from title

Co-authored-by: Kibana Machine <[email protected]>
Co-authored-by: Alexey Antonov <[email protected]>
Co-authored-by: Kaarina Tungseth <[email protected]>
stratoula added a commit to stratoula/kibana that referenced this pull request Jul 1, 2021
* [TSVB] Document the new index pattern mode

* Add a callout to TSVB to advertise the new index pattern mode

* Conditionally render the callout, give capability to dismiss it

* Fix i18n

* Update the notification texts

* Update notification text

* Change callout storage key

* add UseIndexPatternModeCallout component

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Final docs changes

* Remove TSVB from title

Co-authored-by: Kibana Machine <[email protected]>
Co-authored-by: Alexey Antonov <[email protected]>
Co-authored-by: Kaarina Tungseth <[email protected]>
stratoula added a commit that referenced this pull request Jul 1, 2021
* [TSVB] Document the new index pattern mode

* Add a callout to TSVB to advertise the new index pattern mode

* Conditionally render the callout, give capability to dismiss it

* Fix i18n

* Update the notification texts

* Update notification text

* Change callout storage key

* add UseIndexPatternModeCallout component

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Final docs changes

* Remove TSVB from title

Co-authored-by: Kibana Machine <[email protected]>
Co-authored-by: Alexey Antonov <[email protected]>
Co-authored-by: Kaarina Tungseth <[email protected]>

Co-authored-by: Kibana Machine <[email protected]>
Co-authored-by: Alexey Antonov <[email protected]>
Co-authored-by: Kaarina Tungseth <[email protected]>
stratoula added a commit that referenced this pull request Jul 1, 2021
* [TSVB] Document the new index pattern mode

* Add a callout to TSVB to advertise the new index pattern mode

* Conditionally render the callout, give capability to dismiss it

* Fix i18n

* Update the notification texts

* Update notification text

* Change callout storage key

* add UseIndexPatternModeCallout component

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <[email protected]>

* Final docs changes

* Remove TSVB from title

Co-authored-by: Kibana Machine <[email protected]>
Co-authored-by: Alexey Antonov <[email protected]>
Co-authored-by: Kaarina Tungseth <[email protected]>

Co-authored-by: Kibana Machine <[email protected]>
Co-authored-by: Alexey Antonov <[email protected]>
Co-authored-by: Kaarina Tungseth <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:TSVB TSVB (Time Series Visual Builder) release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.14.0 v7.15.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TSVB] Document better the new index pattern mode