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

Ensure dashboard is updated whenever reports change. #1507

Merged
merged 3 commits into from
Mar 12, 2021

Conversation

jpwhite4
Copy link
Member

@jpwhite4 jpwhite4 commented Mar 9, 2021

Previously the daashboard was only updated when a report was deleted.
This change moves the request_refresh call to the callback for the
report generator report store. This ensures that whenever the store
is updated (chart add, deletes and edits) then the dashboard will
be updated.

Tested manually by adding, renaming and deleting reports and switching
back to the dashboard to confirm that it reloads. I also confirmed that the
dashboard does NOT reload when you just view a report and don't edit it.

This issue was observed in asana ticket https://app.asana.com/0/808093868887967/1141900082957794

Previously the daashboard was only updated when a report was deleted.
This change moves the request_refresh call to the callback for the
report generator report store. This ensures that whenever the store
is updated (chart add, deletes and edits) then the dashboard will
be updated.

Tested manually by adding, renaming and deleting reports and switching
back to the dashboard to confirm that it reloads. I also confirmed that the
dashboard does NOT reload when you just view a report and don't edit it.
@jpwhite4 jpwhite4 added the bug Bugfixes label Mar 9, 2021
@jpwhite4 jpwhite4 added this to the 9.5.0 milestone Mar 9, 2021
@jpwhite4 jpwhite4 merged commit ece27a8 into ubccr:xdmod9.5 Mar 12, 2021
@jpwhite4 jpwhite4 deleted the report_refresh branch March 12, 2021 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugfixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants