Soft deleted records via forest-express-sequelize not showing

Currently there’s no support for soft deleted records via Sequelize ({ paranoid: true} in models) to show in Forest UI, whether this is directly in the collection or its relationships via Related Data tabs. There are use cases where we need to include these rows for specific models/relationships, since the soft delete are mainly to hide records from our application’s users, but not to admin staff.

We were referred here from Forest’s Slack channel and have been pointed to the current roadmap item:
https://portal.productboard.com/forestadmin/1-forest-admin-product-roadmap/c/74-recovery-mode

Is there an indication on whether this will be included in roadmap, and if yes when?

Expected behavior

Ability to toggle soft deleted records as a collection’s configuration setting within Forest UI (much like how Smart Views/Actions are configured) or via the feathers-express-sequelize connector as setting in code.

Actual behavior

No ability to toggle soft deleted records to show.

Failure Logs

N/A

Context

Please provide any relevant information about your setup.

  • Package Version: 5.7.0 (forest-express-sequelize)
  • Express Version: 4.16.4
  • Sequelize Version: 4.42.0
  • Database Dialect: postgres
  • Database Version: 9.6.11
  • Project Name: Linkby
1 Like

Hi @andrewchak,

We do not have ETA to give for this feature, sorry.

I am adding this thread to our product board so the expected behavior you described will be considered.

Thank

@Sliman_Medini thanks, do keep us in the loop should this get bumped.

1 Like

Hi, @Sliman_Medini!
Are there any updates on the paranoid tables support in Forest Admin in the nearest future? :thinking:

cc @andrewchak

+1 for this feature.
One use case that we’re facing is that we have a paranoid model for the main table view, but we do want to show a segment of deleted resources.
If we create this segment through the Forest Admin UI it doesn’t work because the soft-deleted records are not returned to be queried against in the segment settings.

@Sliman_Medini are there any updates on this?

Hello @nathanqueija,

Unfortunately, this feature was not pushed to our short-term roadmap yet.

If not done already, you can upvote it here:

At this point I cannot share an estimate for a release date.

Sorry about that.