Skip to content

fix(webapp): let the player's cover take its clicks, and give the bar room - #294

Merged
InstaZDLL merged 1 commit into
mainfrom
fix/webapp-player-cover-and-queue
Oct 21, 2026
Merged

InstaZDLL merged 1 commit into
mainfrom
fix/webapp-player-cover-and-queue

Conversation

@InstaZDLL

@InstaZDLL InstaZDLL commented Oct 21, 2026 •

Copy link
Copy Markdown
Owner

Summary

Three follow-ups to the Fluid Editorial pass (#289), reported from use.

Changes

  • The player's cover only took clicks along its top edge. .player-track shares the cover's grid cell and was pushed beside it with padding-left, so its box lay over the cover and swallowed clicks on its middle. It is now pushed with margin-left, so the box starts after the cover. Measured with elementFromPoint at 15 %, 50 % and 85 % of the cover's height: before, only the first reached the link; now all three do.
  • A taller player bar: 4.25 → 5.25 rem, cover 3.25 → 3.75 rem, play button 2.5 → 2.75 rem, title at body size; the rail's bottom clearance grows with it.
  • Queue rows: rows get inline padding, so the cover no longer sits against the open row's accent edge, and the row's own button stays transparent and square on hover instead of drawing a ghost pill inside the card.

Dark themes only, like the rest of fluid.css.

Test plan

  • bun run lint (the 7 warnings left are in refresh.css, unchanged)
  • bun run build
  • bun run test — 179 passed
  • Playwright — 161 passed, 11 skipped
  • Manual smoke in bun run dev: the player bar's height and cover hit test, the queue with the playing row

By submitting this pull request, I confirm that my contribution is made under the terms of the AGPL-3.0-only license and is signed off via the Developer Certificate of Origin (git commit -s).

Summary by CodeRabbit

  • Style
    • Augmentation de l’espace inférieur du rail desktop.
    • Amélioration de l’alignement et de l’apparence des lignes de file d’attente et de favoris.
    • Ajustement des espacements et des dimensions du lecteur desktop, notamment de la couverture et du bouton principal.

… room

- The names beside the player's cover shared its grid cell and were set
  beside it by a padding, so their box lay over the cover and took every
  click aimed at its middle; only the strip above the names reached the
  album link. They are set beside it by a margin now.
- The bar grows from 4.25 to 5.25 rem, the cover from 3.25 to 3.75 rem and
  the play button with them; the rail ends above the taller bar.
- Queue and saved-position rows get room inside them, so the cover no
  longer sits against the open row's accent edge, and the row's own button
  no longer turns into a ghost pill when hovered.

Signed-off-by: InstaZDLL <github.105mh@8shield.net>
@github-actions github-actions Bot added type: fix Bug fix scope: web Embedded web player (React) size: s 10-50 lines and removed type: fix Bug fix labels Oct 21, 2026
@coderabbitai

coderabbitai Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: InstaZDLL/waveflow-server/.coderabbit.yaml
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: ccd2b2dc-f93a-4497-ba09-eab2b7317964
📥 Commits

Reviewing files that changed from the base of the PR and between 86b82b2 and 695bbea.

📒 Files selected for processing: 1
  • webapp/src/styles/fluid.css

Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 4 reviews per hour.

📝 Walkthrough

Les styles desktop ajustent les espacements et les dimensions du rail, des listes de file d’attente et de favoris, ainsi que du lecteur.

Changes: Mise en page desktop

Layer / File(s) Summary
Espacement du rail et des listes
webapp/src/styles/fluid.css
Le rail reçoit davantage de remplissage inférieur. Les lignes de file d’attente et de favoris gagnent un retrait horizontal. Leurs boutons de piste deviennent transparents et sans arrondi, y compris au survol.
Dimensions du lecteur desktop
webapp/src/styles/fluid.css
La grille du lecteur gagne en hauteur minimale, en espacement et en remplissage vertical. La couverture et le bouton principal grandissent. Le texte utilise une marge gauche à la place du remplissage interne et adopte la taille var(--fe-body).

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to 695bb

No actionable merge-blocking risk is established for these scoped desktop styling changes.

Architecture risk: 🔵 Low · up to 695bb

The change affects 1 system.

Changed systems: webapp

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — webapp (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in webapp/src/styles/fluid.css: Le remplissage inférieur du rail desktop passe de 4.75rem à 5.75rem, en conservant l’espacement additionnel existant.
  • observed — Modified behavior in webapp/src/styles/fluid.css: Les éléments des listes de file d’attente et de favoris reçoivent un retrait horizontal de var(--space-3).
  • observed — Modified behavior in webapp/src/styles/fluid.css: Les boutons de piste de la file d’attente et des favoris perdent leur arrondi et leur arrière-plan, y compris au survol, afin de rester transparents plutôt que d’afficher un panneau arrondi imbriqué.
  • observed — Modified behavior in webapp/src/styles/fluid.css: La grille du lecteur desktop remplace l’absence d’espacement entre lignes par var(--space-1), augmente sa hauteur minimale de 4.25rem à 5.25rem et son remplissage vertical de var(--space-2) à var(--space-3).
Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed Le titre décrit clairement les deux changements principaux : la zone cliquable de la couverture et l’augmentation de l’espace de la barre du lecteur.
Description check Passed La description contient un résumé, une liste des changements, un plan de test détaillé et la confirmation DCO. La section Notes est omise, ce qui est autorisé lorsqu’elle n’est pas nécessaire.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Some tools did not complete. Review the errors below.

🔧 Biome (2.5.14)
webapp/src/styles/fluid.css

Biome could not lint this file: nested root configuration. Check the repository's Biome configuration and plugins.

Comment @coderabbitai help to get the list of available commands.

@InstaZDLL InstaZDLL self-assigned this Oct 21, 2026
@github-actions github-actions Bot added the type: fix Bug fix label Oct 21, 2026
@InstaZDLL
InstaZDLL merged commit 0a9db82 into main Oct 21, 2026
16 checks passed
@InstaZDLL
InstaZDLL deleted the fix/webapp-player-cover-and-queue branch October 21, 2026 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: web Embedded web player (React) size: s 10-50 lines type: fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant