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

move visualizations plugin to new platform #60403

Merged
merged 27 commits into from
Mar 27, 2020

Conversation

ppisljar
Copy link
Member

@ppisljar ppisljar commented Mar 17, 2020

Summary

Moves visualizations plugin over to new platform

@ppisljar ppisljar added release_note:skip Skip the PR/issue when compiling release notes Team:AppArch v7.7.0 v8.0.0 labels Mar 17, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch (Team:AppArch)

@ppisljar ppisljar force-pushed the np/visualizations branch 2 times, most recently from 5565f6c to ab81927 Compare March 23, 2020 18:31
@ppisljar ppisljar marked this pull request as ready for review March 23, 2020 18:32
@ppisljar ppisljar requested a review from a team March 23, 2020 18:32
@ppisljar ppisljar requested review from a team as code owners March 23, 2020 18:32
@lukeelmers lukeelmers self-requested a review March 23, 2020 19:30
@thomasneirynck thomasneirynck self-requested a review March 23, 2020 20:03
Copy link
Contributor

@snide snide left a comment

Choose a reason for hiding this comment

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

Sass changes are just file moves. Didn't test functionality.

Copy link
Contributor

@kindsun kindsun left a comment

Choose a reason for hiding this comment

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

legacy maps changes lgtm w/ green CI!

  • code review
  • tested locally in chrome

# Conflicts:
#	src/legacy/core_plugins/vis_type_metric/public/components/metric_vis_component.test.tsx
#	src/legacy/core_plugins/vis_type_metric/public/components/metric_vis_component.tsx
#	src/legacy/core_plugins/vis_type_metric/public/metric_vis_type.test.ts
#	src/legacy/core_plugins/vis_type_tagcloud/public/services.ts
#	src/legacy/core_plugins/vis_type_vislib/public/legacy.ts
#	src/legacy/core_plugins/vis_type_vislib/public/legacy_imports.ts
#	src/plugins/visualizations/public/embeddable/visualize_embeddable.ts
#	x-pack/legacy/plugins/lens/public/legacy_imports.ts
#	x-pack/legacy/plugins/lens/public/xy_visualization/xy_expression.tsx
@sulemanof
Copy link
Contributor

I don't know whether that's expected or not, but I just switched to this branch from current master (with installed sample data) and the Kibana server crashes with

 FATAL  Error: Document "e1d0f010-9ee7-11e7-8711-e7a007dcef99" has property "visualization" which belongs to a more recent version of Kibana (7.4.2).

I could confirm that this reproduces for me on master, so this is an issue (wasn't caused by this PR)

@ppisljar ppisljar removed the request for review from thomasneirynck March 26, 2020 06:34
# Conflicts:
#	src/legacy/core_plugins/vis_type_vislib/public/legacy.ts
#	src/legacy/core_plugins/vis_type_vislib/public/plugin.ts
@ppisljar
Copy link
Member Author

@elasticmachine merge upstream

Copy link
Contributor

@flash1293 flash1293 left a comment

Choose a reason for hiding this comment

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

Kibana app changes LGTM 👍

@@ -23,3 +23,5 @@ import { DataPublicPluginStart } from '../../../../plugins/data/public';
export const [getFormatService, setFormatService] = createGetterSetter<
DataPublicPluginStart['fieldFormats']
>('data.fieldFormats');

export { npStart } from 'ui/new_platform';
Copy link
Contributor

Choose a reason for hiding this comment

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

Seems to be unused

@alexwizp
Copy link
Contributor

Looks mostly good to me, left a few comments.

I don't know whether that's expected or not, but I just switched to this branch from current master (with installed sample data) and the Kibana server crashes with

 FATAL  Error: Document "e1d0f010-9ee7-11e7-8711-e7a007dcef99" has property "visualization" which belongs to a more recent version of Kibana (7.4.2).

@pgayvallet could this be related to #59291 or #59044 ? I cannot reproduce it locally, but @flash1293 is not only one who faced with that issue

# Conflicts:
#	src/legacy/ui/public/new_platform/__mocks__/helpers.ts
#	src/legacy/ui/public/new_platform/new_platform.ts
#	x-pack/legacy/plugins/canvas/canvas_plugin_src/expression_types/embeddable_types.ts
# Conflicts:
#	src/legacy/ui/public/new_platform/new_platform.karma_mock.js
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

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

@ppisljar ppisljar merged commit 7b0c66f into elastic:master Mar 27, 2020
ppisljar added a commit to ppisljar/kibana that referenced this pull request Mar 27, 2020
# Conflicts:
#	src/legacy/ui/public/new_platform/new_platform.karma_mock.js
#	x-pack/legacy/plugins/canvas/canvas_plugin_src/expression_types/embeddable_types.ts
ppisljar added a commit to ppisljar/kibana that referenced this pull request Mar 27, 2020
# Conflicts:
#	src/legacy/ui/public/new_platform/new_platform.karma_mock.js
#	x-pack/legacy/plugins/canvas/canvas_plugin_src/expression_types/embeddable_types.ts
ppisljar added a commit to ppisljar/kibana that referenced this pull request Mar 28, 2020
ppisljar added a commit to ppisljar/kibana that referenced this pull request Mar 28, 2020
@ppisljar ppisljar added v7.8.0 and removed v7.7.0 labels Mar 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:NP Migration release_note:skip Skip the PR/issue when compiling release notes v7.8.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.