Repository navigation
chore(preview): render the real startup screen for launch scenes - #229
Merged
Merged
Conversation
The launch-error scene hard-coded the old copy that blamed the keychain. It and a new launch-waiting scene (Docker not running) now render DesktopInstallScreen over a fake Desktop bridge, so the preview can no longer drift from the app. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
Follow-up to #223 in the design preview:
launch-errorhard-coded the old copy that blamed the keychain. It now renders the realDesktopInstallScreenover a fake Desktop bridge, so it shows the current generic failure text.launch-waitingis new: Docker not running, reasondocker_unavailable. It renders the same component, showing 「本机服务需要 Docker。请先打开 Docker,OpenBot 会自动继续…」 with 重试 and 更改连接方式.Both scenes render real code, so screenshot reviews can no longer drift from the app.
Observation, not changed here: while Docker is missing, the screen shows the 「启动需要处理」 heading and the Docker message but no waiting indicator. The text already says it continues automatically; a subtle spinner could make that visible later.
Checks
tsc -p apps/web: passed.🤖 Generated with Claude Code