tdm-calculator icon indicating copy to clipboard operation
tdm-calculator copied to clipboard

1635 Clear trash projects quick fix

Open Jonathanko52 opened this issue 10 months ago • 0 comments

Fixes #1635

What changes did you make?

When users view their saved projects, the fetch function now includes an imbedded delete function that scans through the fetched projects and deletes any that are in the trash and 30 days old.

Why did you make the changes (we will use this info to test)?

The idea is for TDM to automatically delete all projects in the database that have been in the trash for 30 days. For now, we don't have that built into the back end, so we have the users automatically check and clean their own trash bin whenever they look at their projects. This does present a problem is the user trashes a bunch of projects and never logs in again, leaving their trash uncleaned, but this should work for now.

Jonathanko52 avatar Apr 04 '24 01:04 Jonathanko52