Repository navigation
feat(web): remove Browser from the surface picker - #14
Conversation
Browser previews are desktop-only, so on web the "Open a surface" grid always rendered a permanently disabled Browser card. Drop it from the grid. Scope is the card alone. Browser stays in the "+" menu, keeps its preview.* keybindings, and existing browser surfaces are unaffected; elsewhere a disabled card with a tooltip is deliberate, since it tells the user the feature exists and why it is unavailable. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Before / afterCaptured from a real client per Before — Browser present but permanently disabled on web, four cards in a clean 2×2: After — Browser gone, three cards: The greyed-out Browser card in the first image is exactly the thing this removed: on web it could never be clicked, only hovered for a tooltip explaining it is desktop-only. Also visible is the consequence noted at merge time — the grid is Images live on the |


Browser previews are desktop-only, so on web the "Open a surface" grid always rendered a permanently disabled Browser card.
Dropped it from the grid, along with the now-unused
onAddBrowserandbrowserAvailableprops onRightPanelEmptyState.Scope is the card alone. Browser stays in the "+" menu, keeps its six
preview.*keybindings, and existing browser surfaces are unaffected —Globe2,SURFACE_DISABLED_REASONS.browser, and both props remain live on the parent, which the menu still uses. Left a comment at the component so its absence from the grid does not read as an oversight.Deliberately not the general "hide unavailable cards" refactor: showing a disabled card with a tooltip is intentional elsewhere, since it tells the user the feature exists and why it is unavailable.
Note for review
AGENTS.mdasks for before/after images on UI changes and I have not attached any — it needs a browser session, which I have not been given the go-ahead for. The visible change is one card removed from agrid-cols-2, taking it from four cards to three, so the grid is briefly ragged until the 3D surfaces land and restore a 2×2. Happy to attach screenshots on request.Typecheck clean,
vp lintclean,rightPanelStore.test.ts27 passed. No test covers the picker's card list directly.Closes #3.
Model: Claude Opus 5 via Claude Code.
🤖 Generated with Claude Code
Note
Remove Browser from the web surface picker in the right panel
Removes the Browser action from
RightPanelEmptyStatein RightPanelTabs.tsx, since Browser surfaces are desktop-only. TheonAddBrowserandbrowserAvailableprops are deleted and a comment is added to document the intentional omission.Macroscope summarized 5a79266.