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] Rename Index pattern to Data view #110253

Conversation

DianaDerevyankina
Copy link
Contributor

@DianaDerevyankina DianaDerevyankina commented Aug 26, 2021

Part of #105199

Summary

Renamed index patterns to data views in TSVB UI.

image

image

image

image

Checklist

For maintainers

@DianaDerevyankina DianaDerevyankina added Feature:TSVB TSVB (Time Series Visual Builder) Team:Visualizations Visualization editors, elastic-charts and infrastructure v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.16.0 labels Aug 26, 2021
@DianaDerevyankina DianaDerevyankina self-assigned this Aug 26, 2021
@DianaDerevyankina DianaDerevyankina added backport:skip This commit does not require backporting and removed v7.16.0 labels Sep 29, 2021
# Conflicts:
#	src/plugins/vis_type_timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx
#	src/plugins/vis_type_timeseries/public/application/components/lib/index_pattern_select/switch_mode_popover.tsx
#	src/plugins/vis_type_timeseries/public/application/components/series_config.js
#	src/plugins/vis_type_timeseries/public/application/components/use_index_patter_mode_callout.tsx
#	src/plugins/vis_type_timeseries/public/application/components/vis_types/timeseries/config.js
#	x-pack/plugins/translations/translations/ja-JP.json
#	x-pack/plugins/translations/translations/zh-CN.json
Copy link
Contributor

@VladLasitsa VladLasitsa left a comment

Choose a reason for hiding this comment

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

LGTM

label={i18n.translate('visTypeTimeseries.timeSeries.overrideIndexPatternLabel', {
defaultMessage: 'Override Index Pattern?',
label={i18n.translate('visTypeTimeseries.timeSeries.overrideDataViewLabel', {
defaultMessage: 'Override data view?',
Copy link
Contributor

@stratoula stratoula Sep 30, 2021

Choose a reason for hiding this comment

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

@KOTungseth @gchaps here the data view should be capitalized as the Index Pattern was before? I just noticed that we are using Index patterns as:

  • Index pattern
  • Index Pattern
  • index pattern
    Which is the correct one ? (in order to apply it correctly to the Data view)

Copy link
Contributor

@jrodewig jrodewig Oct 1, 2021

Choose a reason for hiding this comment

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

index pattern and data view are correct. We only capitalize at the beginning of a sentence or in feature titles: https://elastic.github.io/eui/#/guidelines/writing#capitalization

@stratoula stratoula marked this pull request as ready for review September 30, 2021 07:00
@stratoula stratoula requested a review from a team as a code owner September 30, 2021 07:00
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-vis-editors (Team:VisEditors)

@DianaDerevyankina
Copy link
Contributor Author

@elasticmachine merge upstream

@stratoula stratoula requested a review from gchaps October 1, 2021 09:36
label={i18n.translate('visTypeTimeseries.timeSeries.overrideIndexPatternLabel', {
defaultMessage: 'Override Index Pattern?',
label={i18n.translate('visTypeTimeseries.timeSeries.overrideDataViewLabel', {
defaultMessage: 'Override data view?',
Copy link
Contributor

@jrodewig jrodewig Oct 1, 2021

Choose a reason for hiding this comment

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

index pattern and data view are correct. We only capitalize at the beginning of a sentence or in feature titles: https://elastic.github.io/eui/#/guidelines/writing#capitalization

Copy link
Contributor

@jrodewig jrodewig left a comment

Choose a reason for hiding this comment

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

@gchaps asked me to take a look at the copy here.

While I'm a poor substitute for Gail or Kaarina, I did leave a few comments based on a writer's perspective. I'll take another look once those are addressed. Feel free to ping me if you have questions.

And sorry for the out-of-order comments. My review kinda slipped out before I intended it to.

@DianaDerevyankina
Copy link
Contributor Author

@elasticmachine merge upstream

Copy link
Contributor

@stratoula stratoula left a comment

Choose a reason for hiding this comment

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

This seems good Diana! LGTM. I tested it locally and everything looks fine :)

Copy link
Contributor

@jrodewig jrodewig left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks, @dziyanadzeraviankina!

Copy link
Contributor

@alexwizp alexwizp left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you

@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
visTypeTimeseries 486.0KB 486.1KB +71.0B

History

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

cc @dziyanadzeraviankina

@DianaDerevyankina DianaDerevyankina merged commit 51df1e5 into elastic:master Oct 4, 2021
jrodewig added a commit that referenced this pull request Oct 6, 2021
The TSVB data view popover includes additional copy if the **Allow string indices in TSVB** Kibana setting is disabled (the default). This updates the copy to better align with changes in #110253.
DianaDerevyankina added a commit that referenced this pull request Oct 7, 2021
DianaDerevyankina added a commit that referenced this pull request Oct 7, 2021
DianaDerevyankina added a commit to DianaDerevyankina/kibana that referenced this pull request Oct 11, 2021
* [TSVB] Rename Index pattern to Data view

* Update some labels

* Make asterisk bold to indicate it's text input

* Remove redundant translation

* Remove "now" from TSVB callout notification title

* Update variable name to match the text

Co-authored-by: Kibana Machine <[email protected]>
DianaDerevyankina added a commit that referenced this pull request Oct 11, 2021
* [TSVB] Rename Index pattern to Data view

* Update some labels

* Make asterisk bold to indicate it's text input

* Remove redundant translation

* Remove "now" from TSVB callout notification title

* Update variable name to match the text

Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Kibana Machine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting 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 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants