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

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