Repository navigation
fix(download): 修复卡片底部留白 - #3786
Conversation
审阅者指南(小型 PR 默认折叠)审阅者指南下载版本堆栈现在会追加一个间隔元素,该元素会在卡片宿主完成布局后显示,从而修复底部留白缺失的问题,同时确保在完成尺寸计算前隐藏间距。 下载卡片底部间距的时序图sequenceDiagram
participant PageDownloadInstall
participant CardStack
participant CardHost
participant Spacer
PageDownloadInstall->>CardStack: _CreateVersionStack(versions)
CardStack->>CardHost: Add card host
CardStack->>Spacer: Create FrameworkElement(Height=18d, Visibility=Collapsed)
CardHost-->>Spacer: SizeChanged
Spacer->>Spacer: Set Visibility=Visible
文件级变更
提示和命令与 Sourcery 互动
自定义使用体验访问你的控制面板,以便:
获取帮助Original review guide in EnglishReviewer's guide (collapsed on small PRs)Reviewer's GuideThe download version stack now appends a spacer that becomes visible after the card host is laid out, fixing the missing bottom whitespace while keeping the spacing hidden until sizing occurs. Sequence diagram for download card bottom spacingsequenceDiagram
participant PageDownloadInstall
participant CardStack
participant CardHost
participant Spacer
PageDownloadInstall->>CardStack: _CreateVersionStack(versions)
CardStack->>CardHost: Add card host
CardStack->>Spacer: Create FrameworkElement(Height=18d, Visibility=Collapsed)
CardHost-->>Spacer: SizeChanged
Spacer->>Spacer: Set Visibility=Visible
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fd4dc17b59
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
fd4dc17 to
964afa8
Compare
964afa8 to
7848acf
Compare
变更说明 / Summary
修复卡片底部留白
关联 Issue / Related Issue
验证方式 / Verification
AI 使用情况 / Generative Artificial Intelligence Usage
提交前检查 / Checklist
Sourcery 总结
缺陷修复:
Original summary in English
Sourcery 摘要
错误修复:
Original summary in English
Sourcery 汇总
Bug 修复:
Original summary in English
Summary by Sourcery
Bug Fixes: