Fix #658: extend image viewer navigation hover and click area#808
Fix #658: extend image viewer navigation hover and click area#808PrathamMehta101 wants to merge 1 commit into
Conversation
|
|
WalkthroughTwo distinct areas are modified: the OpenAPI schema documentation is updated with parameter schema compositions and metadata object adjustments, while the NavigationButtons React component's styling is refactored from inline classes to group-wrapped containers with enhanced hover effects. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 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 |
|
|
|
Hi, I see there’s already an open PR for this issue. |
|
Hi, I noticed this PR is still open. If it’s not assigned yet, I’d be happy to take it up. I have experience in UI/UX and can handle this. |
Issue
Closes #658
Problem
Currently, the navigation arrows in the image preview / fullscreen mode only respond when the cursor is placed precisely on the icon. This requires pixel-perfect mouse positioning, which can feel unintuitive and cumbersome—especially when viewing large images or navigating quickly.
Solution
This change introduces a larger, invisible interaction zone around each navigation arrow:
This behavior mirrors that of native photo viewers (e.g., Windows Photos, macOS Preview) and significantly improves overall UX.
This change is purely UI/UX-focused and does not modify business logic or application state. No additional tests were added as the behavior is visual and interaction-based.
Screen.Recording.2025-12-20.160857.mp4
This change makes image navigation feel more natural and forgiving, aligning PictoPy’s behavior with standard photo viewing experiences.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.