Skip to content

[Dashboards] Add Export flyout to dashboards#203696

Closed
nickpeihl wants to merge 1 commit intoelastic:mainfrom
nickpeihl:dashboard-viewsource-poc
Closed

[Dashboards] Add Export flyout to dashboards#203696
nickpeihl wants to merge 1 commit intoelastic:mainfrom
nickpeihl:dashboard-viewsource-poc

Conversation

@nickpeihl
Copy link
Copy Markdown
Contributor

@nickpeihl nickpeihl commented Dec 10, 2024

WIP
Fixes #192913

Summary

Adds utility functions and a PoC of the "Export" functionality to show the "source" of a Dashboard. This "source" can be used to create or update dashboards using the HTTP endpoints.

Some notes:

  • The current state of the dashboard is represented as JSON in the flyout, including any unsaved changes.
  • It works with new, unsaved dashboards as well. So a user could add panels to a new dashboard and export the JSON without ever needing to save the dashboard.
  • This feature is pending design updates.
export-poc.mp4

Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

  • Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support
  • Documentation was added for features that require explanation or tutorials
  • Unit or functional tests were updated or added to match the most common scenarios
  • If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the docker list
  • This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The release_note:breaking label should be applied in these situations.
  • Flaky Test Runner was used on any tests changed
  • The PR description includes the appropriate Release Notes section, and the correct release_note:* label is applied per the guidelines

Identify risks

Does this PR introduce any risks? For example, consider risks like hard to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified risk. Invite stakeholders and evaluate how to proceed before merging.

@elasticmachine
Copy link
Copy Markdown
Contributor

🤖 Jobs for this PR can be triggered through checkboxes. 🚧

ℹ️ To trigger the CI, please tick the checkbox below 👇

  • Click to trigger kibana-pull-request for this PR!
  • Click to trigger kibana-deploy-project-from-pr for this PR!

@nickpeihl nickpeihl added the Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas t// label Dec 10, 2024
@nickpeihl
Copy link
Copy Markdown
Contributor Author

Superceded by #217904

@nickpeihl nickpeihl closed this Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas t//

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Dashboards as code] Add show source UX

2 participants