mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-02 09:59:55 +08:00
fix(core): comment mention filters (#13062)
#### PR Dependency Tree * **PR #13062** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Replies in comment threads are now collapsed when there are more than four, with an option to expand and view all replies. * Mentions within comments and replies are automatically detected and tracked. * "Show more replies" indicator is now localized for English users. * **Improvements** * Filtering for "only my replies" now includes replies where you are mentioned. * Enhanced focus behavior in the comment editor for improved usability. * Updated styling for active and collapsed reply states in comment threads. * **Bug Fixes** * Ensured consistent handling of mentions and reply associations in comment data. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -8254,6 +8254,12 @@ export function useAFFiNEI18N(): {
|
||||
* `Delete this reply? This action cannot be undone.`
|
||||
*/
|
||||
["com.affine.comment.reply.delete.confirm.description"](): string;
|
||||
/**
|
||||
* `Show {{count}} more replies`
|
||||
*/
|
||||
["com.affine.comment.reply.show-more"](options: {
|
||||
readonly count: string;
|
||||
}): string;
|
||||
/**
|
||||
* `Show resolved comments`
|
||||
*/
|
||||
|
||||
@@ -2071,6 +2071,7 @@
|
||||
"com.affine.comment.delete.confirm.description": "All comments will also be deleted, and this action cannot be undone.",
|
||||
"com.affine.comment.reply.delete.confirm.title": "Delete this reply?",
|
||||
"com.affine.comment.reply.delete.confirm.description": "Delete this reply? This action cannot be undone.",
|
||||
"com.affine.comment.reply.show-more": "Show {{count}} more replies",
|
||||
"com.affine.comment.filter.show-resolved": "Show resolved comments",
|
||||
"com.affine.comment.filter.only-my-replies": "Only my replies and mentions",
|
||||
"com.affine.comment.filter.only-current-mode": "Only current mode",
|
||||
|
||||
Reference in New Issue
Block a user