Skip to content

Move desktop search and bell to TopBar - #53

Merged
BotCoder254 merged 1 commit into
mainfrom
feat/event-driven-orchestration
Jul 18, 2026
Merged

Move desktop search and bell to TopBar#53
BotCoder254 merged 1 commit into
mainfrom
feat/event-driven-orchestration

Conversation

@BotCoder254

Copy link
Copy Markdown
Owner

Extracts desktop search and notifications from Sidebar into a new TopBar component and wires it into AppShell, keeping mobile behavior in MobileTopBar and simplifying sidebar props/usages. Also fixes a command palette hotkey closure issue by adding dependencies to the useHotkeys binding so mod+k properly toggles open and closed state.

Extracts desktop search and notifications from `Sidebar` into a new `TopBar` component and wires it into `AppShell`, keeping mobile behavior in `MobileTopBar` and simplifying sidebar props/usages. Also fixes a command palette hotkey closure issue by adding dependencies to the `useHotkeys` binding so `mod+k` properly toggles open and closed state.
@netlify

netlify Bot commented Jul 18, 2026

Copy link
Copy Markdown

Deploy Preview for overup-app ready!

Name Link
🔨 Latest commit 4b04166
🔍 Latest deploy log https://app.netlify.com/projects/overup-app/deploys/6a5b2a8c3888760008709098
😎 Deploy Preview https://deploy-preview-53--overup-app.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@vercel

vercel Bot commented Jul 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
overup Building Building Preview, Comment Jul 18, 2026 7:26am

@BotCoder254
BotCoder254 merged commit 9da907b into main Jul 18, 2026
6 of 10 checks passed
@coderabbitai

coderabbitai Bot commented Jul 18, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@BotCoder254, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 40 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 6af5716d-0559-4fd4-98ab-608d274c2028

📥 Commits

Reviewing files that changed from the base of the PR and between de5e8aa and 4b04166.

📒 Files selected for processing (4)
  • src/components/layout/AppShell.tsx
  • src/components/layout/CommandPalette.tsx
  • src/components/layout/Sidebar.tsx
  • src/components/layout/TopBar.tsx
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/event-driven-orchestration

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.

@amazon-q-developer amazon-q-developer Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR successfully extracts the desktop search and notification bell from Sidebar to a new TopBar component, improving separation of concerns. The CommandPalette hotkey fix correctly addresses the closure issue by adding dependencies to the useHotkeys callback.

Critical Issue:

  • Fix the deprecated navigator.platform API in TopBar.tsx to ensure reliable Mac detection across browsers

Once the deprecated API is addressed, this refactoring will be ready to merge.


You can now have the agent implement changes and create commits directly on your pull request's source branch. Simply comment with /q followed by your request in natural language to ask the agent to make changes.

onSearch: (seed?: string) => void;
}

const IS_MAC = /Mac|iPhone|iPad/.test(navigator.platform);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛑 Deprecated API: navigator.platform is deprecated and may not work in all browsers. Use navigator.userAgentData or navigator.userAgent for more reliable platform detection.

Suggested change
const IS_MAC = /Mac|iPhone|iPad/.test(navigator.platform);
const IS_MAC = typeof navigator !== 'undefined' &&
(navigator.userAgentData?.platform?.toLowerCase().includes('mac') ??
/Mac|iPhone|iPad/.test(navigator.userAgent));

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