Repository navigation
fix: unify share password page with Magpie design - #9
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.
访问受密码保护的分享链接时,页面现在沿用纸鹊现有的米白背景、绿色信件侧栏、Logo 和信使插画。桌面上密码框与查看按钮横向排列,窄屏改为单列,支持显示/隐藏密码、清晰错误提示和键盘提交。
密码验证仍通过原生表单 POST 完成,原有会话解锁、同源防护和限流保持不变,验证前不展示受保护材料的名称或内容。
验证:Node 22/24 各 435 项通过,ESLint 和生产构建通过;真实浏览器验证空值、显示/隐藏、错误重试、Enter 解锁、特殊字符密码、返回按钮恢复及 320–1280px 响应式布局。Bootstrap Icons 固定官方版本,保留 MIT 许可证。