Closed carolyncole closed 2 weeks ago
@matthewjchandler How strongly do you feel about having the record of the request still exist. The code that was currently implemented by @JaymeeH completely deletes the UserJob. We could just leave that in place and close this ticket.
I feel strongly that the "recent activity" pane should retain useful information for a reasonable period of time, and I feel strongly that it should be possible to retrieve a log of all activity on a project for even longer than the activities show in the "recent activity" pane, but I'm not certain that's what you're asking. I think it makes sense to delete downloaded files after a week--and a hard delete (not just a link removal) works for me. I don't think a week is always long enough to remove items listed under the "recent activity" pane, if that is indeed implied.
Hey team! Please add your planning poker estimate with Zenhub @hectorcorrea @JaymeeH @leefaisonr @jrgriffiniii
This is addressed in the Tigerdata Refactor
When we discussed https://github.com/pulibrary/tiger-data-app/issues/542 with @matthewjchandler They asked that we only remove the link, but not the entire activity.
Completion criteria:
DeleteUserJob
(here) toCleanupFileInventoryRequestJob
FileInventoryRequest
is stale, do not display the download link in the Recent Activity sectionFileInventoryRequest#request_details
exports::delete_old
from config/schedule.rb, but leave the rake task in place in case we want to run it manually