Skip to content

Update desktop navigation chrome and search#779

Merged
wesbillman merged 11 commits into
mainfrom
search-middle-description
May 29, 2026
Merged

Update desktop navigation chrome and search#779
wesbillman merged 11 commits into
mainfrom
search-middle-description

Conversation

@thomaspblock
Copy link
Copy Markdown
Collaborator

@thomaspblock thomaspblock commented May 28, 2026

Summary

  • Moves search into the global top chrome with inline suggestions, responsive sizing, and Cmd+K focus/open behavior.
  • Removes the legacy modal search path so the desktop app has one search surface.
  • Refines desktop header layout for channel, thread, inbox, and agent activity panels so row-two labels and dividers align with the new top chrome.
  • Moves workspace switching into the profile area and cleans up sidebar/top-right action placement.
  • Aligns the repo's Hermit pnpm shim with the package manager pin so hooks run consistently.

Test plan

  • cd desktop && pnpm check
  • cd desktop && pnpm build && pnpm exec playwright test --project=smoke tests/e2e/smoke.spec.ts
  • bin/just ci
  • Pre-commit hooks passed for all commits on this branch.
  • Pre-push hooks passed when pushing search-middle-description.

Made with Cursor

thomaspblock and others added 7 commits May 28, 2026 11:06
Move search, workspace switching, and thread controls into the top/profile chrome, including a centered live search variation.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@thomaspblock thomaspblock requested a review from a team as a code owner May 28, 2026 21:59
@wesbillman
Copy link
Copy Markdown
Collaborator

@codex please review

@thomaspblock
Copy link
Copy Markdown
Collaborator Author

Search04.mp4

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e82f6b2d00

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread desktop/src/app/AppTopChrome.tsx Outdated
Comment on lines +84 to +89
<div className="fixed right-3 top-[9px] z-[80] flex items-center gap-0.5 md:hidden">
<Button
aria-label="Search everything"
className="h-[22px] w-[22px] text-muted-foreground/70 hover:bg-muted/60 hover:text-foreground"
data-testid="open-search-compact"
onClick={() => onOpenFullSearch()}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Move compact search away from top-right actions

On viewports below the md breakpoint, this fixed compact search button is rendered at right-3 top-[9px] with z-[80], while ChatHeader top-right actions and HomeChannelActions also render their action bars at the same right-3 top-[9px] position with z-[70]. On narrow desktop windows this causes the search button to sit directly over the rightmost channel/home action (for example the manage-channel button), making that action visually overlapped and unclickable; reserve horizontal space or offset one of the fixed groups when the compact search control is visible.

Useful? React with 👍 / 👎.

thomaspblock and others added 3 commits May 28, 2026 18:40
Align desktop e2e coverage with the updated Home, search, and thread header UI so CI validates the intended layout instead of removed titles.

Co-authored-by: Cursor <cursoragent@cursor.com>
Keep the small-screen search control with the left navigation buttons so it does not overlap channel or home action controls.

Co-authored-by: Cursor <cursoragent@cursor.com>
Bring in the latest main changes while preserving the desktop Home chrome layout and adopting the new thread activity feed behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
@wesbillman
Copy link
Copy Markdown
Collaborator

@thomaspblock I love this approach! Way easier to use!

I noticed a couple small issues on this branch:

On small screens, I think the search can overlap the sidebar, which might be a bit odd
Screenshot 2026-05-28 at 6 21 44 PM

Also CMD+K seems to open the old search experience still even though the hint on the new search is also CMD+K.

This PR should also remove that old search experience to clean up the existing code.

Screenshot 2026-05-28 at 6 21 48 PM

@thomaspblock
Copy link
Copy Markdown
Collaborator Author

yes they are both being fixed (and a few more things) in a fast follow but there were already so many changes I got worried it would be too big. I can add if you want to before we merge or you can merge and ill fix these two based on the new version. You are the expert here I will follow your lead.

Focus Cmd+K on the new topbar search experience and remove the legacy modal search path so the PR has one search surface.

Co-authored-by: Cursor <cursoragent@cursor.com>
@thomaspblock
Copy link
Copy Markdown
Collaborator Author

🤖 Updated this PR with the follow-up fixes for the two search comments:

  • Removed the compact search icon from the left nav cluster and kept drawer/history controls next to the window controls, avoiding the small-screen sidebar overlap.
  • Routed Cmd+K to the new topbar search, made it open the visible search panel immediately, and removed the legacy modal search implementation.

Also added responsive search widths so it stays compact on smaller windows and expands on larger ones.

@wesbillman
Copy link
Copy Markdown
Collaborator

Nice! Fix looks good!

yes they are both being fixed (and a few more things) in a fast follow but there were already so many changes I got worried it would be too big. I can add if you want to before we merge or you can merge and ill fix these two based on the new version. You are the expert here I will follow your lead.

I tend to limit PRs to just one change if possible (but sometimes I just do "polish pass" type PRs). And for that change I just make sure it's not buggy. We release the app constantly, so we have to try to keep it in an always working state. So basically tiny changes that are bug free or at least don't break the experience.

Also, since we're kind of reviewing and merging each other's PR, you can keep the PR in "Draft" until you're ready for eyes/testing on it as well.

@wesbillman wesbillman merged commit d77b111 into main May 29, 2026
15 checks passed
@wesbillman wesbillman deleted the search-middle-description branch May 29, 2026 15:26
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.

2 participants