Skip to content

feat(mobile): add Dashboard link to sidebar for easy navigation - #296

Merged
2witstudios merged 1 commit into
masterfrom
mobile-home
Jan 31, 2026
Merged

2witstudios merged 1 commit into
masterfrom
mobile-home

Conversation

@2witstudios

@2witstudios 2witstudios commented Jan 31, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Add a Dashboard link at the top of the mobile sidebar sheet
  • Clicking it navigates to /dashboard and automatically closes the sheet
  • Improves UX by allowing users to return to dashboard without closing sidebar first

Test plan

  • Open the app on mobile (or narrow browser window < 1024px)
  • Open the left sidebar sheet
  • Tap the Dashboard link at the top
  • Verify navigation to dashboard AND sheet closes automatically
  • On desktop, verify the link works normally without side effects

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Added a Dashboard link to the left sidebar for quick navigation to the dashboard from any page.
    • Improved mobile responsiveness with better sidebar behavior on smaller screens.

✏️ Tip: You can customize this high-level summary in your review settings.

Add a Dashboard link at the top of the left sidebar that allows users
to navigate back to the dashboard without closing the mobile sheet first.
The link automatically closes the sheet when tapped on mobile devices.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented Jan 31, 2026 •

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

The left sidebar component now includes a responsive Dashboard link at the top that leverages the layout store to manage sheet visibility on smaller breakpoints. The implementation adds imports for responsive hooks and icon components, then conditionally closes the sheet overlay when clicked on small screens.

Changes

Cohort / File(s) Summary
Dashboard Link Addition
apps/web/src/components/layout/left-sidebar/index.tsx
Added responsive Dashboard navigation link with Home icon. Imports useBreakpoint and useLayoutStore to close sheet on small breakpoints. Positioned before DriveSwitcher component.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Poem

🐰 A dashboard link hops to the fore,
With responsive grace on every shore,
The sheet closes smooth on screens so tight,
Navigation flows left and right! ✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: adding a Dashboard link to the sidebar for mobile navigation. It accurately summarizes the primary objective of the pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch mobile-home

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.

❤️ Share

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

@2witstudios
2witstudios merged commit 366d18e into master Jan 31, 2026
3 checks passed
@2witstudios
2witstudios deleted the mobile-home branch February 6, 2026 01:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant