Skip to content

fix(web): project picker no longer shifts width on hover - #1089

Merged
badcuban merged 1 commit into
mainfrom
fix/project-picker-pin-shift
Nov 24, 2026
Merged

badcuban merged 1 commit into
mainfrom
fix/project-picker-pin-shift

Conversation

@badcuban

Copy link
Copy Markdown
Collaborator

Hovering a project row in the project picker menu appended a pin button on the right, which widened the popup on wide rows and shifted the computer and cloud icons left.

On hover-capable fine-pointer devices, the pin or unpin button now swaps into the left project icon's footprint on row hover, keeping the menu width and right-side icons fixed. Touch and non-hover devices keep the always-visible pin button on the right edge, and keyboard navigation keeps project icons visible while using Option+P to pin or unpin.

Verification

  • vp fmt, vp lint, and vp run typecheck passed.
  • vp run --cache '@threadlines/web#test:browser' passed (118 files, 1209 tests), including a new layout test asserting zero popup-width and trailing-icon shift on hover.
  • Visually checked dark and light hover states for both pinned and unpinned rows.

Hovering a project row appended a pin button on the right, widening the popup on wide rows and shifting the device icons left. Swap the pin or unpin button into the left project icon slot on hover for hover-capable fine-pointer devices, keeping the right-edge pin button on touch and non-hover devices.
@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated
threadlines Skipped Skipped Nov 24, 2026 8:06am UTC

Request Review

@badcuban
badcuban enabled auto-merge November 24, 2026 08:09
@badcuban
badcuban added this pull request to the merge queue Nov 24, 2026
Merged via the queue into main with commit 4d2b9be Nov 24, 2026
25 checks passed
@badcuban
badcuban deleted the fix/project-picker-pin-shift branch November 24, 2026 08:18

This branch was previously deployed

1 inactive deployment
Preview — ce5cd872 Deployed Nov 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant