Repository navigation
fix(ui): 显示图片复制失败原因并保留原图 - #456
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Right-clicking Copy image after clipboard permission was denied incorrectly offered Reload image and hid the failure reason in a tooltip. The image remains loaded; the menu now displays the action failure, and a successful retry replaces it with Image copied. Thumbnail and original-viewer copy actions share a localized permission-denial message.
Base: #432 (
Qiyuanqiii/docs-current-state). Changes are limited to the existing image UI and its regression coverage.Real before/after screenshots
Microsoft Edge on Windows, production Go API and production frontend, 1280 × 900. The same real PNG was uploaded through the picker. The browser's actual clipboard permission was denied, then granted for the recovery check. Verification notes.
Copy after allowing clipboard access
Validation
git diff --check.Surface governance
Audit
最新提交
2ae3b4c73c60e62927e486e8853445c387855146的 完整 CI 已通过:23 项成功,0 失败、0 等待。