You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…e React mounts
The startup sequence flashed three different gray cards (preload skeleton
→ React loading card that jumped position twice → chat), which read as
'a config page flashing by'. CDP screencast of a real launch confirmed
the intermediate .maka-onboarding-loading card at ~3.0s and ~3.3s.
main.tsx now prefetches onboarding:getSnapshot before createRoot renders
(one retry + 2.5s fail-open timeout). The preload skeleton stays visible
until the first React commit, which already has sessions + connections
seeded, so the app paints the real chat surface directly — verified by
re-running the CDP screencast probe: preload skeleton → chat, no
intermediate card.
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
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.
问题
启动时会闪过'像配置页一样'的灰色卡片(用户反馈的启动闪屏)。
根因(CDP screencast 实测)
真实启动序列闪过 三张不同的灰卡:
.maka-onboarding-loading卡(位于内容面板内,几何位置不同 → 肉眼可见跳动)修复
main.tsx在createRoot().render()之前预取onboarding:getSnapshot(失败重试一次 + 2.5s fail-open 超时)。preload 骨架保持到 React 首次 commit,而首次 commit 已带 sessions + connections,直接绘制真实聊天界面。验证
npm --workspace @maka/desktop test:1892/1892 通过