Repository navigation
fix(requests): fill poster hover overlay - #663
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan includes up to 2 reviews per rolling hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe request poster now renders its hover/focus gradient inside the poster frame. The request button container uses full-card width without its previous gradient and padding. A component test verifies the overlay is nested within the poster frame. ChangesRequest poster overlay
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This localized frontend change is merge-ready after normal checks and review; no actionable merge-blocking risk remains. Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
Problem
Follow-up to #7.
The Requests discovery card rendered its hover gradient in an absolutely positioned sibling of the poster frame. Its sizing could diverge from the poster, leaving a visible uncovered strip and shifting the Request button away from the poster center.
Approach
.media-card-imageframe withinset-0.Testing
Browser verification on a real rendered card measured the poster, gradient overlay, and button layer at the same
184 × 276 pxhover rectangle. The browser console had no warnings or errors.Repository-wide baseline checks were also run and are not clean on this checkout:
The two jellycompat process-lock failures reproduce when that untouched package is run independently. The changed frontend files pass their focused lint, test, formatting, build, and browser checks.
AI Disclosure
Checklist
Summary by CodeRabbit
Bug Fixes
Tests