Repository navigation
Lazy-load Studio entry surfaces - #10236
Conversation
2ef7833 to
af8bd68
Compare
|
Independent review caught a split-only regression: this branch had removed the existing FloatingMonitor mount while its replacement lived in #10237. Fixed at |
|
Exact-head convergence update for
|
7a506fa to
6a9fa75
Compare
|
The lazy entry boundaries in studio/frontend/src/components/lazy-import-boundary.tsx and the SettingsDialogMount swap look right, but __root.tsx also carries a lot of unrelated brace and import reformatting that makes the real change hard to see. Could you drop the formatting-only hunks so the diff is just the lazy entry work? |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@codex review |
1 similar comment
|
@codex review |
|
Codex Review: Didn't find any major issues. 🚀 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Authenticated local Studio — Playwright evidenceVerified PR head Unauthenticated login routeThe global Settings shortcut remained inert on this route. Find in the authenticated chat shell
Lazy Settings dialog in the authenticated shell
Observed in this run: 0 page exceptions, 0 backend tracebacks, and 0 unexpected HTTP errors. The isolated server, home, and credentials were removed after capture. |
The find bar became its own lazily loaded module on main (unslothai#10236), the index grew portal surfaces and `renumbersMatches` (unslothai#10237), and unslothai#10209 landed its own Hangul handling. Resolved by keeping both sides: - `OffsetRuns`, `unsafe` and `shifted` sit alongside `rootLength` and `surfaces` on `FindTextIndex`, and `buildTextIndex` returns all of them. - `CLUSTER_PATTERN` and the Hangul spelling helpers are main's, which require the vowel and carry the lint exemption. `canonicalSource` uses `partiallyComposedHangul` for the half-composed spelling and keeps the longest-first sort the grapheme fence needs. - Every component-source assertion now reads `find-bar.tsx`, and the store tests are main's, since the store is gone. `check-bundle-budget.ts` is back to main's: the branch only reflowed its comments and added a note that the find bar is eager, which main's lazy split has made untrue.



Summary
Second follow-up split from #10209 at reviewer request. This PR contains only the lazy-entry and failure-containment work; the find correctness changes remain in #10209 and monitor persistence is in a separate follow-up.
Head:
7a506fae2c23731219d33225dac14222759d544dFailure-containment evidence
The same first-use Find module request is blocked on both sides:
#root.Delayed handoff evidence
The first-use Find chunk is held for 1.2 seconds while
coldqueryis typed. The controlled loading field and resolved Find bar retain the same query, focus, caret/selection, and untouched composer draft.Bundle evidence
Exact production build on current main:
Verification
npm run typecheck: pass