-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Conversation
@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 ❤️ |
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. |
@elasticmachine merge upstream |
@MichaelMarcialis correct, it is in on by default except from the old visualizations. |
Pinging @elastic/kibana-app (Team:KibanaApp) |
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 |
@KOTungseth @gchaps Can you also check the documentation added here? ❤️ |
Thanx @gchaps. Changes here: |
Instead of calling this I don't think users will relate to |
I agree with @KOTungseth that
|
@elasticmachine merge upstream |
src/plugins/vis_type_timeseries/public/application/components/vis_editor.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Kaarina Tungseth <[email protected]>
Co-authored-by: Kaarina Tungseth <[email protected]>
Co-authored-by: Kaarina Tungseth <[email protected]>
Co-authored-by: Kaarina Tungseth <[email protected]>
Co-authored-by: Kaarina Tungseth <[email protected]>
Co-authored-by: Kaarina Tungseth <[email protected]>
Co-authored-by: Kaarina Tungseth <[email protected]>
Co-authored-by: Kaarina Tungseth <[email protected]>
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
There was a problem hiding this 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 👍
* [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]>
* [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]>
* [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]>
* [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]>
Summary
Closes #102323
In our effort to push more users to use the index pattern mode I:
https://kibana_102880.docs-preview.app.elstc.co/guide/en/kibana/master/tsvb.html#tsvb-index-pattern-mode
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