-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: refactor editor image block upload logic #5159
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5159 +/- ##
=========================================
Coverage 57.06% 57.06%
Complexity 3333 3333
=========================================
Files 584 584
Lines 19190 19190
Branches 1444 1444
=========================================
Hits 10950 10950
Misses 7664 7664
Partials 576 576 ☔ View full report in Codecov by Sentry. |
/area editor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我在 Windows 11 下使用开发环境运行此 PR,并且使用 Edge 在你的环境下,该现象是偶现还是必现?或者是否还有什么其他我遗漏的操作? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
请看 vcr Kapture.2024-01-12.at.17.16.13.mp4展示了两个问题:
|
这是由于删除了 node 之后,再次设置此 attr 导致的报错。已修复 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
6432db8
to
288b382
Compare
无论是在 Windows、Linux 还是在 macOS build console 之后必定复现该问题。 |
/hold |
/unhold |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JohnNiang, ruibaby The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
What type of PR is this?
/kind feature
What this PR does / why we need it:
重构编辑器图片块上传逻辑,增加选择文件上传、上传进度条、取消、重试等机制。
How to test it?
直接拖动、复制或选择文件上传,查看是否显示上传进度条,取消、重试功能是否正常
Which issue(s) this PR fixes:
Fixes #5122
Does this PR introduce a user-facing change?