Skip to content

Items that have been uploaded more than 6 months before should be automatically deleted 🧹  #253

@camelPhonso

Description

@camelPhonso

Expected Behaviour

If an item has been added to the database more than 6 months ago it should be deleted to avoid us overloading our storage and to promote new items moving through the app.

This issue will require spiking the following questions:

  • what happens if an item has been available for more than 6 months but there are active conversations relating to this issue?
  • should the donor receive a notification that their item will be deleted if it is not given away soon ?
    • how would we notify them of this?

Current Behaviour

Items are available on kindly until the donor removes them.

Steps to Reproduce

  1. In your seed.js file manually add an entry for an item with the created_at value set to more than 6 months before
  2. Log in and visit your profile
  3. The item is still visible in your list
  4. Run npx supabase status on your terminal
  5. Visit the Studio Url link and navigate to Table Editor > Items
  6. Your Item entry is visible in the Items table

Metadata

Metadata

Labels

📚 spikeThis needs to be researched before we can agree on a solution🪴 new featureNew planned feature

Type

No type

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions