Feature #32141
As a user I should receive a notification after a report generation is complete
Pull request:
Fixed in Releases:
Found in Releases:
Description
Generating a report can take a while. User should be notified through the notification drawer when his/her scheduled report is complete and ready for download. The notification should have a link to download the report. The report is stored for a limited time window (1 day), if it's already deleted at the time user clicks the link, he should be informed it's no longer available and offered to generate it again, which redirect to the report template repo with the right report template preselected. That information can be fetched from the task input.
Associated revisions
History
#1
Updated by The Foreman Bot about 1 year ago
- Assignee set to Dominik Matoulek
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/8537 added
#2
Updated by The Foreman Bot 12 months ago
- Fixed in Releases 3.0.0 added
#3
Updated by Anonymous 12 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|c2e5e4a3a0b5b9686b517e78da9cf53677a2c38d.
#4
Updated by Tomer Brisker 9 months ago
- Category set to Reporting
Fixes #32141 - Adding notif. about finish of rendering report (#8537)
Everyone uses a report templates for render important stuff from foreman
instance. Right know, the templates can take long time to render it and
when you don't want to send a report by email, you have to have open
window with report rendering due to waiting for start downloading. What
happens when you accidentally close that window? You have to do another
try...
So this excitedly frustrating experience motivated to make this PR.
This code makes an notification for reports when render is done.
Notification also contains two links - the download link to produced
report and link that redirects you to report generate page in case
you're miss the one-day window. Prefilled values of inputs are included!