Project

General

Profile

Feature #32141

As a user I should receive a notification after a report generation is complete

Added by Marek Hulán 7 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Category:
Reporting
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
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

Revision c2e5e4a3 (diff)
Added by Dominik Matoulek 5 months ago

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!

History

#1 Updated by The Foreman Bot 5 months 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 5 months ago

  • Fixed in Releases 3.0.0 added

#3 Updated by Anonymous 5 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Tomer Brisker 3 months ago

  • Category set to Reporting

Also available in: Atom PDF