Skip to content

Resolve "Automatically install appropriate reports and dashboards for data sources"

To do

  • Consider upstream update behavior around renames

    When an existing dashboard plugin is updated or reinstalled (when it its after_import hook run again), all packaged reports and dashboards that cannot be found locally (based on their ID or name/slug/filename) will be imported. This includes new reports and dashboards added to the plugin since the original installation, but also previously imported reports and dashboards that were deleted locally in the mean time.

    If a packaged report already exists locally, the local copy will not be modified, meaning that changes to the packaged report will not be applied locally, nor will changes to the local report be overwritten.

    If a packaged dashboard already exists locally, all of its reports that cannot be found in the local dashboard will be added to the local report, but no reports will be removed. This includes new reports added to the packaged dashboard since the original installation, but also previously imported reports that were deleted locally in the mean time.

    I think this is good enough for now, and we can iterate on this later.

  • Verify in UI; are new dashboards and reports automatically visible?

  • Add method to automatically add missing namespace-related plugins: meltano install --include-related (and meltano add <type> <name> --include-related)

  • Modify Analyze button to also list reports - related to #1582 (closed)

Merge Request Checklist

  • Link to an issue
  • Include the proposed fix or feature
  • Include and update tests for the modified code
  • Include a documentation change
  • Add a CHANGELOG.md entry in the Unreleased section

Once your merge request is complete, please assign it a Meltano maintainer for review cycle. Once the review cycle finished, the reviewer shall approve the merge request so it can be merged by any Meltano maintainer.

Closes #1241 (closed)

Edited by Melty Bot

Merge request reports