You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(lyrics): preserve share action icons on short screens - #620
Reserve space for lyric share actions before measuring the scrollable lyrics list, preventing action icons from collapsing on short screens. Preserve the existing 430dp list height limit and content-based sizing.
Add Compose regression coverage for short portrait, landscape, and tall portrait layouts, including icon dimensions, scrolling, selection, copying, the 430dp height cap, and content-based height for short lyric lists.
我已阅读并遵循贡献指南 / I have read and followed the contribution guidelines
我已在本地测试这些更改 / I have tested these changes locally
我已更新相关文档或注释(如适用) / I have updated relevant documentation or comments (if applicable)
我确认本次更改没有破坏任何原有逻辑 / I confirm this change does not break existing behavior
我确认本次更改保持向下兼容(如适用) / I confirm this change remains backward compatible (if applicable)
我已运行必要的构建、测试或静态检查 / I have run the required build, tests, or static checks
我确认没有提交密钥、Token 或其他敏感信息 / I confirm no secrets, tokens, or other sensitive information were committed
涉及 UI 变更时,我已补充截图或录屏(如适用) / I have added screenshots or recordings for UI changes (if applicable)
其他信息 / Additional Information
179 lyrics JVM/Compose tests passed. Temporary fill = true and 600.dp maximum-height mutations failed the short-list and tall-list height assertions, respectively; production code was restored before the passing test run. lintDebug --offline and assembleDebug passed; lint reported 50 warnings outside the changed files.
The arm64 DEBUG APK was installed over the existing installation on OnePlus PLK110. The installed APK hash matched the build, and the original installation time and data-directory identities were preserved. On-device UI interaction has not been tested.
Documentation changes are not needed for this layout correction. No new screenshots or recordings are attached.
It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.
歌词列表新增 weight(1f, fill = false) 布局约束,原有 430.dp 高度上限保持不变。新增测试覆盖短竖屏、短横屏和高竖屏配置,检查操作图标尺寸、歌词滚动选择和复制结果。
Priority: Low
Severity of issue fixed: Low
Merge Risk: Low · previous review 1d274
The layout currently works, but add the focused height assertion to protect the preserved list-size behavior from regression.
Pre-merge checks: 4 · 1
Failed checks: 1 warning
Check name
Status
Explanation
Resolution
Docstring Coverage
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed checks: 4 passed
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 1 functions across 2 files.
Resolution
Write docstrings for the functions missing them to satisfy the coverage threshold.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 6 remain after this review.
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 4 remain after this review.
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
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.
描述 / Description
Reserve space for lyric share actions before measuring the scrollable lyrics list, preventing action icons from collapsing on short screens. Preserve the existing 430dp list height limit and content-based sizing.
Add Compose regression coverage for short portrait, landscape, and tall portrait layouts, including icon dimensions, scrolling, selection, copying, the 430dp height cap, and content-based height for short lyric lists.
类型 / Type
修复或解决的问题 / Issues Fixed or Closed by This PR
Fixes #597
清单 / Checklist
其他信息 / Additional Information
179 lyrics JVM/Compose tests passed. Temporary
fill = trueand600.dpmaximum-height mutations failed the short-list and tall-list height assertions, respectively; production code was restored before the passing test run.lintDebug --offlineandassembleDebugpassed; lint reported 50 warnings outside the changed files.The arm64 DEBUG APK was installed over the existing installation on OnePlus PLK110. The installed APK hash matched the build, and the original installation time and data-directory identities were preserved. On-device UI interaction has not been tested.
Documentation changes are not needed for this layout correction. No new screenshots or recordings are attached.
歌词分享面板先为操作按钮保留布局空间,再测量歌词列表。短屏幕上,复制、分享歌曲和分享歌词卡片图标保持 24dp × 24dp。歌词较多时,列表可滚动,最大高度仍为 430dp;歌词较少时,列表按内容高度布局。
新增 Compose 测试覆盖短竖屏、短横屏和高竖屏,验证图标尺寸、列表滚动、歌词选择和复制内容。另新增高竖屏短歌词测试,验证列表边界与首末歌词对齐。