-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Export Dashboard to Scheduled Reports #24019
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
Open
chippison
wants to merge
43
commits into
5.x-dev
Choose a base branch
from
dev-19806
base: 5.x-dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+1,092
−60
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…unning/calling multiple functions to get report index
…nstead of json of its widgets. We will just make an ajax request to grab needed data on ManageScheduledReport.vue
…and we only call this when dashboardId is present in the URL
…of it being done on the index action of controller
…h unmapped widgets
…t follow our default pattern
…apper as this is relevant here;
…tMapper as this is relevant here;
… exported as we know these do not show reports
…atomoLoader component
…e sure we return an array with complete keys
chippison
commented
Jan 28, 2026
| ...MatomoUrl.urlParsed.value, | ||
| } as QueryParameters; | ||
|
|
||
| delete query.category; |
Contributor
Author
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just to clear off unrelated parameters in the URL and hash
…r the refresh instead of before so that we can clearly see the notification for save and update
chippison
commented
Jan 29, 2026
|
|
||
| hash.idDashboard = dashboardId; | ||
| delete hash.category; | ||
| delete hash.subcategory; |
Contributor
Author
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same Here
…if the Ajax call is rejected or errors out
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
DEV-19806
We want to add in a functionality to export the current dashboard into a Scheduled Report. This will attempt to map dashboard widgets with reports available to be scheduled.
This will not be a perfect 1-1 relationship between dashboard widget and scheduled reports and there will be some widgets that will not be mapped to a report. The user will be informed/notified about the missing dashboard widgets in an infoobox that will show everytime we export a dashboard.
This will cover 3 JIRA issues:
https://innocraft.atlassian.net/browse/DEV-19804
https://innocraft.atlassian.net/browse/DEV-19805
https://innocraft.atlassian.net/browse/DEV-19806
Acceptance Criteria:
Checklist
Review