Skip to content

fix(feedback): use the room the docked player frees above the nav bar - #1229

Merged
ashwkun merged 2 commits into
masterfrom
feedback-bottom-space
Nov 1, 2026
Merged

ashwkun merged 2 commits into
masterfrom
feedback-bottom-space

Conversation

@ashwkun

@ashwkun ashwkun commented Nov 1, 2026

Copy link
Copy Markdown
Member

Summary

  • Feedback no longer leaves an empty strip above the navigation bar while something is playing. Feedback keeps the player in its small form beside the Floating bar, but every pane still reserved room for the full mini player, which hid the "How we handle feedback" link and pushed the list's buttons up.
  • Splits the compose fields out of FeedbackComposeScreen to bring its cognitive complexity under Sonar's limit.

Motivation

  • On a phone with an episode loaded, the bottom of Share your thoughts was cut off behind an empty band.

What changed

  • feedbackBottomSpace / feedbackChromePadding (:feature:settings): each Feedback pane (form, conversation, sent screen, list buttons) subtracts the space the compact player frees as it docks (appBottomChromeOverlayOffset), never below what the navigation bar alone needs. Measured in layout, like Lore's clearance, so the docking animation doesn't recompose the page. Classic navigation and tablets keep the full clearance; the list's tail padding stays fixed.
  • ComposeFields holds the form fields; behaviour unchanged.
  • feature/settings/README.md updated.

Behavior & compatibility

  • Before: an empty band about 80dp tall above the navigation bar on every Feedback pane while an episode was loaded. After: content runs down to the navigation bar.
  • No API or payload changes.

Impact (required)

  • user-impact-critical

  • user-impact-high

  • user-impact-medium

  • user-impact-low

  • no-user-impact

  • backend-change

Release copy (verbatim)

CHANGELOG.md (required developer copy)

Fixed

  • Feedback panes give back the room the docked compact player frees above the Floating navigation bar (feedbackBottomSpace), so the privacy link and list buttons are no longer cut off or pushed up; FeedbackComposeScreen split for Sonar's complexity limit.

Listener notes (required for user-impact changes)

  • Listener notes already cover this change

Test plan

  • :feature:settings:testDebugUnitTest (new FeedbackLayoutPolicyTest case: docked, not docked yet, nothing playing, Classic, rail; adaptive resize tests unchanged and passing) and detekt
  • Built and installed on a phone; with an episode loaded the whole form, including the privacy link, shows above the navigation bar
  • Required checks are green before merge, or a maintainer explicitly authorized a check bypass for this PR

Notes (optional)

  • Adaptive states: tablets and the navigation rail keep their docked-player clearance (unchanged); phone portrait checked on a device; resize behaviour covered by the existing JVM transition tests.

@ashwkun ashwkun added the user-impact-low Minor user-facing polish — CHANGELOG yes; README optional label Nov 1, 2026
@ashwkun
ashwkun merged commit 3517153 into master Nov 1, 2026
11 of 12 checks passed
@ashwkun
ashwkun deleted the feedback-bottom-space branch November 1, 2026 22:17
@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Caution

Review failed

The pull request is closed.

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.

Share

@sonarqubecloud

sonarqubecloud Bot commented Nov 1, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

user-impact-low Minor user-facing polish — CHANGELOG yes; README optional

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant