fix(core): some comment editor ux enhancements (#13126)

fix AF-2726, AF-2729

#### PR Dependency Tree


* **PR #13126** 👈

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**
* Added drag-and-drop support for file attachments in the comment
editor.
* Improved user feedback with notifications and toasts when downloading
attachments.

* **Bug Fixes**
  * Enhanced error handling and reporting for attachment downloads.

* **Improvements**
* Optimized file download process for same-origin resources to improve
performance.
* Updated default comment filter to show all comments, not just those
for the current mode.

* **Documentation**
* Updated English localization to provide clearer instructions when no
comments are present.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->


#### PR Dependency Tree


* **PR #13126** 👈

This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)
This commit is contained in:
Peng Xiao
2025-07-10 11:58:00 +08:00
committed by GitHub
parent 11a9e67bc1
commit ed6fde550f
5 changed files with 55 additions and 21 deletions
+1 -1
View File
@@ -8239,7 +8239,7 @@ export function useAFFiNEI18N(): {
*/
["com.affine.comment.comments"](): string;
/**
* `No comments yet`
* `No comments yet, select content to add comment to`
*/
["com.affine.comment.no-comments"](): string;
/**
+1 -1
View File
@@ -2067,7 +2067,7 @@
"com.affine.migration-all-docs-notification.error": "Migration failed: {{errorMessage}}",
"com.affine.migration-all-docs-notification.button": "Migrate data",
"com.affine.comment.comments": "Comments",
"com.affine.comment.no-comments": "No comments yet",
"com.affine.comment.no-comments": "No comments yet, select content to add comment to",
"com.affine.comment.delete.confirm.title": "Delete the thread?",
"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?",