feat(core): new doc list for trash page (#12429)

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit

- **New Features**
  - Added "Delete permanently" and "Restore" quick actions for documents in the Trash, enabling users to restore or permanently delete trashed documents directly from the UI.
  - Introduced multi-restore support, allowing batch restoration of selected trashed documents.
- **Improvements**
  - Quick action tooltips are now localized for better international user experience.
  - Trash page now uses an updated explorer interface for a more consistent and reactive document management experience.
  - Enhanced quick actions with optional click handlers for better extensibility.
- **Documentation**
  - Added new translation keys for "Delete permanently" and "Restore" actions.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
CatsJuice
2025-05-24 12:45:41 +00:00
parent dfa62f7683
commit 9599494e87
11 changed files with 294 additions and 230 deletions
+8
View File
@@ -7084,6 +7084,14 @@ export function useAFFiNEI18N(): {
* `Select checkbox`
*/
["com.affine.all-docs.quick-action.select"](): string;
/**
* `Delete permanently`
*/
["com.affine.all-docs.quick-action.delete-permanently"](): string;
/**
* `Restore`
*/
["com.affine.all-docs.quick-action.restore"](): string;
/**
* `All`
*/
@@ -1768,6 +1768,8 @@
"com.affine.all-docs.quick-action.split": "Open in split view",
"com.affine.all-docs.quick-action.tab": "Open in new tab",
"com.affine.all-docs.quick-action.select": "Select checkbox",
"com.affine.all-docs.quick-action.delete-permanently": "Delete permanently",
"com.affine.all-docs.quick-action.restore": "Restore",
"com.affine.all-docs.pinned-collection.all": "All",
"com.affine.all-docs.group.is-template": "Template",
"com.affine.all-docs.group.is-not-template": "Not Template",