ECHO-503 Scroll to QR code section mobile#319
Conversation
WalkthroughAdds an optional qrCodeRef prop through ProjectSidebar → ProjectAccordion → ConversationAccordion. On mobile, ConversationAccordion intercepts “project overview” anchor clicks to smoothly scroll the QR code container into view instead of navigating. Imports updated to include RefObject and useMediaQuery. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Pre-merge checks and finishing touches✅ Passed checks (5 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: ASSERTIVE Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (3)
🧰 Additional context used🧬 Code graph analysis (2)echo/frontend/src/components/project/ProjectSidebar.tsx (2)
echo/frontend/src/components/project/ProjectAccordion.tsx (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (13)
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 |
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - New Features - On mobile, tapping “Project overview” now smoothly scrolls the QR code into view instead of navigating away. - Improved responsiveness for project pages, making the QR code quicker to access on small screens. - Refactor - Updated project and conversation components to support a shared reference to the QR code container, enabling coordinated scrolling behavior without changing existing desktop behavior. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
New Features
Refactor