Open-Lowcode
Open-Lowcode copied to clipboard
Make delete reversible
In current applications, delete is not reversible, therefore delete is not given to normal users, which causes major frustrations.
To improve the user experience, the following should be developed:
- when an object is deleted, it stays in the database with a flag
- deleted objects are not visible in normal applications
- there is a possibility to restore deleted data, following the same business rules as the ones for delete (if sub-objects are deleted when main object is deleted, then restoration of main object should also bring back the sub-objects)
- in any conflict on number when restoring, then the number of the restored object will take a suffix to make it unique.