feat(core): adjust pinned collections edit button (#12533)

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

- **New Features**
	- Added a centralized "Edit collection rules" button in the pinned collections footer, enabling users to edit collection rules via a dialog.
- **Style**
	- Removed hover effects and visual styling from the edit icon button in pinned collections.
- **Bug Fixes**
	- Removed per-item edit buttons to streamline the editing process.
- **Documentation**
	- Added a new localized label for the edit collection rules action.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
EYHN
2025-05-27 05:41:11 +00:00
parent 3e6384604c
commit 32c7a135f4
5 changed files with 32 additions and 50 deletions

View File

@@ -7172,6 +7172,10 @@ export function useAFFiNEI18N(): {
* `All`
*/
["com.affine.all-docs.pinned-collection.all"](): string;
/**
* `Edit collection rules`
*/
["com.affine.all-docs.pinned-collection.edit"](): string;
/**
* `Template`
*/

View File

@@ -1792,6 +1792,7 @@
"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.pinned-collection.edit": "Edit collection rules",
"com.affine.all-docs.group.is-template": "Template",
"com.affine.all-docs.group.is-not-template": "Not Template",
"com.affine.all-docs.group.is-journal": "Journal",