Skip to content

fix: keep the website's Store review sheet inside its window - #527

Merged
M4n0x merged 1 commit into
mainfrom
fix/526-store-sheet-row
Nov 10, 2026
Merged

M4n0x merged 1 commit into
mainfrom
fix/526-store-sheet-row

Conversation

@M4n0x

@M4n0x M4n0x commented Nov 10, 2026

Copy link
Copy Markdown
Collaborator

Problem

On the website, clicking Get on a Store package opens a review sheet that runs past the Settings window and over the caption below it. With animations on, its Add to bar button also disappears once the focus leaves its row, for example after tabbing to Cancel.

Fixes #526

Changes

The review's last row was <div class="foot">, and foot is also the page footer's class, so the footer's rules styled the row:

  • its padding (0 0 14vh 5vw, or 0 var(--m) 10vh on narrow screens) added 90–126 px under the row and indented the note;
  • .has-dive .foot:not(:focus-within) hid the row visually, at 1×1 px, whenever the focus wasn't in it.

The row is now class="actions" (site/main.js, site/style.css), a name nothing else on the site uses. The bar's Add here popup builds its package review from the same reviewHTML, so it's fixed too. Nothing else changes.

Testing

In headless Chrome at 577 px and 1440 px wide, with animations on and off, I clicked Get on AI usage, measured the sheet, then moved the focus to Cancel:

Before After
Sheet height 389–425 px, ends 33–70 px below the window 299 px, ends 56 px inside it
Last row 119–155 px; 1×1 px after tabbing to Cancel with animations on 29 px, focus or not

The screens bot captures the page without clicking Get, so it won't show this change; these captures do.

Before After
Narrow (577 px), after clicking Get
Desktop with animations, after tabbing to Cancel

scripts/check.sh --quick passes. Not checked: Safari and Firefox, and the bar's Add here review, which shares the markup but wasn't opened.

Merging

One commit: any merge method works.

Claude Opus 5.5 via Claude Code

The review's last row was a "foot", the page footer's class, so the
footer's rules styled it too: their padding stretched the sheet past
the Store window and over the caption, and while the dive is on, the
row shrank to 1 px whenever the focus left it, hiding Add to bar. The
row is now "actions", in the Store's sheet and in the bar's Add here.

Fixes #526
@M4n0x
M4n0x requested a review from Seb-GRAF as a code owner November 10, 2026 17:14
@coderabbitai

coderabbitai Bot commented Nov 10, 2026

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Store review row uses the class actions instead of foot. Its CSS selector changes to match. The maintainer notice, Add button, and style declarations remain unchanged.

Changes: Store review row

Layer / File(s) Summary
Review row markup and styling
site/main.js, site/style.css
The review container and its CSS selector change from foot to actions. The existing styles and row contents remain unchanged.

Possibly related PRs

Severity of issue fixed: Medium

Merge Risk: Minimal · up to 95196

No actionable merge-blocking risk is established for the review-sheet change.

Architecture risk: Low · up to 95196

The change affects 1 system.

Changed systems: site

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — site (service) was modified; 2 changed files map to changed impact.

Before / after behavior

  • observed — Modified behavior in site/main.js: The package review changes the container class from foot to actions, retaining the maintainer notice and button.
  • observed — Modified behavior in site/style.css: The Add popup’s footer styles now target .actions instead of .foot; the declarations are unchanged.
Pre-merge checks: Passed 3

Check name Status Explanation
Description check Passed The description covers the problem, changes, testing results and limitations, and merging requirements. It also includes the issue reference and the required final line naming the model and harness.
Linked Issues check Passed Issue #526 requires the Store review sheet to fit its content, keep the maintainer note positioned correctly, and keep Add to bar visible when focus moves. The change renames the review row to `action…
Out of Scope Changes check Passed The only changes rename the review row class in site/main.js and its styling selector in site/style.css. Both directly implement issue #526. No unrelated changes appear in the whole-PR diff.
Full details: Linked Issues check

Explanation

Issue #526 requires the Store review sheet to fit its content, keep the maintainer note positioned correctly, and keep Add to bar visible when focus moves. The change renames the review row to actions in reviewHTML and updates its .addpop styling selector. This prevents the row from matching the page footer’s .foot rules while preserving the review-row layout. The reported Chrome checks cover the issue’s widths and animation states. The bar’s Add here review uses the same markup, so it receives the same fix; that path was not opened during testing.

Finishing Touches

Generate docstrings

  • Commit to this branch
  • Create a new PR
Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between a6b5371 and 9519645.

Files selected for processing: 2

  • site/main.js
  • site/style.css

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Before and after

main at a6b5371 → this pull request at 9519645 · 16 screens drawn in one CI job · 0 changed

16 unchanged screens

site/404-desktop-dark, site/404-desktop, site/404-phone-dark, site/404-phone, site/index-desktop-dark, site/index-desktop, site/index-phone-dark, site/index-phone, site/privacy-desktop-dark, site/privacy-desktop, site/privacy-phone-dark, site/privacy-phone, site/terms-desktop-dark, site/terms-desktop, site/terms-phone-dark, site/terms-phone

Visual review: 16 screens, none changed.

@M4n0x
M4n0x merged commit a80a1de into main Nov 10, 2026
15 checks passed
@M4n0x
M4n0x deleted the fix/526-store-sheet-row branch November 10, 2026 19:44
@stablebar-releases

Copy link
Copy Markdown

🎉 This PR is included in version 0.13.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The website's Store review sheet runs past its window and can lose its Add to bar button

1 participant