Skip to content

Move dashboardConfig to kibana_legacy platform#57081

Merged
maryia-lapata merged 7 commits intoelastic:masterfrom
maryia-lapata:dashboard-config
Feb 10, 2020
Merged

Move dashboardConfig to kibana_legacy platform#57081
maryia-lapata merged 7 commits intoelastic:masterfrom
maryia-lapata:dashboard-config

Conversation

@maryia-lapata
Copy link
Copy Markdown
Contributor

Fixes #55675.

Removing an angular provider dashboardConfig holding configuration whether the dashboard is shown in dashboard only mode and using instead of it a service from kibanaLegacy platform.

@maryia-lapata maryia-lapata added v8.0.0 release_note:skip Skip the PR/issue when compiling release notes Feature:NP Migration v7.7.0 labels Feb 7, 2020
@elasticmachine

This comment has been minimized.

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

History

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

@maryia-lapata maryia-lapata marked this pull request as ready for review February 7, 2020 11:36
@maryia-lapata maryia-lapata requested a review from a team February 7, 2020 11:36
@kertal
Copy link
Copy Markdown
Member

kertal commented Feb 10, 2020

@elasticmachine merge upstream

Copy link
Copy Markdown
Member

@kertal kertal left a comment

Choose a reason for hiding this comment

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

Code LGTM 👍, tested locally in Chrome using a user with dashboard_only mode.

const { core } = npSetup;

async function reportingProvider() {
const injector = await chrome.dangerouslyGetActiveInjector();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🎉 for Kibana getting less and less dangerous !

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

History

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

@maryia-lapata maryia-lapata merged commit 181a3a0 into elastic:master Feb 10, 2020
@maryia-lapata maryia-lapata deleted the dashboard-config branch February 10, 2020 09:26
@maryia-lapata maryia-lapata added the Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// label Feb 10, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

maryia-lapata added a commit that referenced this pull request Feb 11, 2020
* Create dashboard_config.ts

* Replace dashboardConfig in reporting

* Remove dashboardConfigProvider

* Fix TS

* Add mock

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backported Feature:NP Migration release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// v7.7.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move dashboardConfig to kibana_legacy platform

4 participants