mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 13:25:12 +00:00
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:
@@ -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`
|
||||
*/
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user