Skip to content

Conversation

@nickofthyme
Copy link
Contributor

Summary

This PR renames the current advance setting visualization:visualize:chartsLibrary to visualization:visualize:legacyChartsLibrary. This change reversed the previous behavior and is now enabled by default.

Additional cleanup of copy material and testing comments to reflect change.

A follow-up PR will disable this setting in master

Checklist

@nickofthyme nickofthyme added Feature:XYAxis XY-Axis charts (bar, area, line) v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.12.0 labels Dec 18, 2020
@nickofthyme nickofthyme requested review from a team, gchaps, markov00 and timroes December 18, 2020 20:17
defaultMessage: 'Charts library',
[LEGACY_CHARTS_LIBRARY]: {
name: i18n.translate('visTypeXy.advancedSettings.visualization.legacyChartsLibrary.name', {
defaultMessage: 'Legact charts library',
Copy link
Contributor

Choose a reason for hiding this comment

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

A typo 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.

6d12b4d 😫

@stratoula
Copy link
Contributor

@nickofthyme something goes wrong. I have the switch to on but I see the new implementation. It seems that it works the opposite that it says.

@nickofthyme
Copy link
Contributor Author

nickofthyme commented Dec 18, 2020

@nickofthyme something goes wrong. I have the switch to on but I see the new implementation. It seems that it works the opposite that it says.

Yeah sorry for the confusion, I should have done this before merging the main pr. This is just to rename the setting so that I can also backport this pr to 7.x.

Then once this is merged I will enable the setting to show the new implementation. See #86538


Update: I see, the setting doesn't trigger the new chart library when disabled...

@nickofthyme
Copy link
Contributor Author

Ugh forgot to flip the check in the plugin setup... fixed here ff8b456

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.

And now it works 😄 Code LGTM. Tested in chrome and the setting works fine!

@nickofthyme
Copy link
Contributor Author

Thanks for that, I was scared the functional tests were all starting to fail 😱

@stratoula
Copy link
Contributor

I am pretty sure that now they will pass 😆

Copy link
Contributor

@gchaps gchaps left a comment

Choose a reason for hiding this comment

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

Text LGTM

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Distributable file count

id before after diff
default 47298 48058 +760

Page load bundle

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

id before after diff
visTypeVislib 46.6KB 46.7KB +13.0B
visTypeXy 67.6KB 67.6KB -55.0B
total -42.0B

History

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

@nickofthyme nickofthyme merged commit 7e9177d into elastic:master Dec 19, 2020
@nickofthyme nickofthyme deleted the rename-chart-setting branch December 19, 2020 01:07
gmmorris added a commit to gmmorris/kibana that referenced this pull request Dec 21, 2020
* master: (48 commits)
  Fix request with disabled aggregation (elastic#85696)
  [Security Solution][Detections][Threshold Rules] Threshold Rule Bug Fixes (elastic#84918)
  Removed a possibility to define two different names for Alert types on API and UI level. (elastic#86236)
  Bump Node.js from version 14.15.2 to 14.15.3 (elastic#86593)
  [index patterns] Fleep app - Keep saved object field list until field caps provides fields (elastic#85370)
  [Security Solutions] fix timeline tabs + layout (elastic#86581)
  Upgrade to hapi version 20 (elastic#85406)
  App Services: Remove remaining uiActions, expressions, data, embeddable circular dependencies. (elastic#82791)
  Rename chartLibrary setting to legacyChartsLibrary (elastic#86529)
  [CI] TeamCity updates (elastic#85843)
  [Maps] Use Json for mvt-tests (elastic#86492)
  [Rollup Jobs] Added autofocus to cron editor (elastic#86324)
  [Monitoring][Alerting] CCR read exceptions alert (elastic#85908)
  [CI] Bump memory for main CI workers (elastic#86541)
  Explicitly set Elasticsearch heap size during CI and local development (elastic#86513)
  [App Search] Updates to results on the documents view (elastic#86181)
  [Discover] Change default sort handling  (elastic#85561)
  [App Search] Convert DocumentCreationModal to DocumentCreationFlyout (elastic#86508)
  [App Search] Sample Engines should have access to the Crawler (elastic#86502)
  Fixed duplication of create new modal (elastic#86489)
  ...
@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Dec 22, 2020
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 86529 or prevent reminders by adding the backport:skip label.

3 similar comments
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 86529 or prevent reminders by adding the backport:skip label.

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 86529 or prevent reminders by adding the backport:skip label.

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 86529 or prevent reminders by adding the backport:skip label.

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 86529 or prevent reminders by adding the backport:skip label.

6 similar comments
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 86529 or prevent reminders by adding the backport:skip label.

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 86529 or prevent reminders by adding the backport:skip label.

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 86529 or prevent reminders by adding the backport:skip label.

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 86529 or prevent reminders by adding the backport:skip label.

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 86529 or prevent reminders by adding the backport:skip label.

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 86529 or prevent reminders by adding the backport:skip label.

@stratoula
Copy link
Contributor

@nickofthyme this needs backport right?

@nickofthyme
Copy link
Contributor Author

Yes, thanks for the reminder.

@kibanamachine
Copy link
Contributor

Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync.

@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Jan 6, 2021
stratoula pushed a commit that referenced this pull request Jan 6, 2021
* rename chartLibrary setting to legacyChartsLibrary

* fix spelling

* fix plugin setting check boolean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:XYAxis XY-Axis charts (bar, area, line) release_note:skip Skip the PR/issue when compiling release notes v7.12.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants