Replies: 3 comments
|
can i work on this issue |
0 replies
|
Hi! I'd like to take this one. 👋 Proposed approach (reusing existing infra):
A couple of quick questions before I start, to avoid rework:
Happy to adjust to your conventions. Thanks! |
0 replies
|
Only Mirror what the deleted-records already allows would be great. Thx ! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Scope & Context
We want to provide users with a faster way to permanently delete records directly from the interface, without having to first send them to the trash/recycle bin and then empty it manually. This is particularly useful for quickly cleaning up test data or mistakes.
Current behavior
Currently, when a user wants to delete a record via the command menu (
Ctrl+K/Cmd+K) or the record options, there is only a "Delete" option. This action performs a soft delete (moving the record to the trash). To permanently delete the record, the user must navigate away, find the deleted records view, and delete it again from there.Expected behavior
We want to add a new option called "Permanently delete [Record Name]" directly in the command menu (
Ctrl+K/Cmd+K) and in the table/record option menus.This option should be placed immediately below the standard "Delete" option. Selecting it should trigger a hard delete of the record, completely removing it from the database after a confirmation prompt (to prevent accidental data loss).
Technical inputs
Ctrl+K) and table row dropdown components to include a newMenuItemfor "Permanently delete".destroyorhardDeleteRecord) instead of the standard soft delete when confirmed.All reactions