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

[Markdown] Shim new platform - cleanup plugin #41760

Merged
merged 2 commits into from
Jul 31, 2019

Conversation

alexwizp
Copy link
Contributor

Summary

Refactoring of markdown plugin in accordance with the latest migration guide

What was done:

  • Logic from index.ts file was moved to separate files: legacy.ts, plugin.ts
  • update usage of data.expressions plugin

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

@alexwizp alexwizp added :AppArch Feature:New Platform v7.4.0 v8.0.0 Feature:Markdown Markdown visualization feature release_note:skip Skip the PR/issue when compiling release notes and removed :AppArch labels Jul 23, 2019
@alexwizp alexwizp requested a review from ppisljar July 23, 2019 12:16
@alexwizp alexwizp force-pushed the markdown-cleanup branch 2 times, most recently from 894d6f3 to eefce12 Compare July 23, 2019 13:22
@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

import { LegacyPluginApi, LegacyPluginInitializer } from '../../../../src/legacy/types';

const markdownPluginInitializer: LegacyPluginInitializer = ({ Plugin }: LegacyPluginApi) =>
new Plugin({
id: 'vis_type_markdown',
Copy link
Member

Choose a reason for hiding this comment

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

Per my note in this table vis PR, would you mind updating the id here and in package.json to revert to the previous markdown_vis? That way we can make these breaking changes at once.

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch

@alexwizp
Copy link
Contributor Author

retest

@elastic elastic deleted a comment from elasticmachine Jul 29, 2019
@elastic elastic deleted a comment from elasticmachine Jul 29, 2019
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@alexwizp
Copy link
Contributor Author

retest

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Member

@lukeelmers lukeelmers left a comment

Choose a reason for hiding this comment

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

LGTM once #42261 has been merged

@alexwizp alexwizp merged commit 4d23d3c into elastic:master Jul 31, 2019
alexwizp added a commit to alexwizp/kibana that referenced this pull request Jul 31, 2019
* [Markdown] Shim new platform - cleanup plugin
jloleysens added a commit to jloleysens/kibana that referenced this pull request Jul 31, 2019
…-or-edit-existing-rollup-job

* 'master' of github.com:elastic/kibana: (114 commits)
  [ML] Fixing empty index pattern list (elastic#42299)
  [Markdown] Shim new platform - cleanup plugin (elastic#41760)
  [Code] Enable hierarchicalDocumentSymbolSupport for java language server (elastic#42233)
  Add New Platform mocks for data plugin (elastic#42261)
  Http server route handler implementation (elastic#41894)
  [SR] Allow custom index pattern to be used instead of selectable list when choosing indices to restore (elastic#41534)
  [Code] distributed Code abstraction (elastic#41374)
  [SIEM] Sets page titles to the current page you are on  (elastic#42157)
  Saved Objects export API stable type order (elastic#42310)
  cancellation of interpreter execution (elastic#40238)
  [SIEM] Fixes a crash when Machine Learning influencers is an undefined value (elastic#42198)
  Changed the job to work with a dedicated index (elastic#42297)
  FTR: fix testSubjects.missingOrFail (elastic#42290)
  Increase retry timeout to prevent flaky tests (elastic#42291)
  Spaces - make space a hidden saved object type (elastic#41688)
  Allow applications to register feature privileges which are excluded from the base privileges (elastic#41300)
  Disable flaky log column reorder test (elastic#42285)
  Fixing add element in element reducer (elastic#42276)
  Fix infinite loop (elastic#42228)
  [Maps][File upload] Remove geojson deep clone logic, handle on maps side (elastic#41835)
  ...
alexwizp added a commit to alexwizp/kibana that referenced this pull request Jul 31, 2019
* [Markdown] Shim new platform - cleanup plugin
alexwizp added a commit that referenced this pull request Jul 31, 2019
* [Markdown] Shim new platform - cleanup plugin
@alexwizp alexwizp deleted the markdown-cleanup branch January 4, 2020 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Markdown Markdown visualization feature Feature:NP Migration release_note:skip Skip the PR/issue when compiling release notes v7.4.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants