fix(web): hide the browser preview button on the web build - #214
Merged
Conversation
The header showed the globe button in any browser, including phones, but the preview is a Chromium webview that only the desktop app can host. Tapping it opened a panel that could only say so. The button and panel now require the desktop app as well as a project thread. The agent's automation mount stays on the web build as before: it reads the bridge at effect time and refuses to connect without one.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The header showed the browser preview button in web browsers, including phones. The preview needs the desktop app, so tapping it opened an unusable panel.
The button and panel now require the desktop app and a project thread. The agent automation mount keeps its existing desktop-bridge check.
The Claude settings browser test now waits for the outer panel animation and clicks the disclosure control itself. Its visibility assertions remain intact.
Validation: formatting, lint, full repository typecheck, and all 529 browser tests pass locally. The earlier CI failure did not reproduce locally; the test change removes an animation timing hazard.
CI: all checks passed for 402f908, including Browser Test, the full validation and desktop build, release smoke, package build, and CodeQL. Publish and deploy jobs were skipped for this PR.