Repository navigation
Preserve Space editor selection and toolbar Code caret - #170
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Oct 11, 2026
BunsDev
added a commit
that referenced
this pull request
Oct 11, 2026
Preserve unique historical Space/Knowledge verification outcomes and the original WorkOS/GitHub design proposal beneath a supersession banner. Record which unfinished snapshots are already delivered, while retaining their dirty source and probes. Three documentation files only. Final independent review, build, typecheck and 475 unit passes (one optional skip); both required hosted macOS checks passed the full 175 desktop and seven site tests. The editor focus failure exposed by the first audit CI was fixed separately in #170.
This branch was successfully deployed
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.
Adding a block or applying formatting could let a queued focus callback collapse a newer selection, saving
/Secondinstead ofSecond. The new Code toolbar also placed the caret after its closing fence.BlockEditor now consumes one pending focus range in a layout effect, preserves formatting endpoints, and clears stale requests when Markdown changes externally. Toolbar Code insertion shares the slash command's caret position inside the fences; ordinary insertion and duplication retain end placement.
Verification: three native regressions reproduced the original failures; four focused checks passed afterward. Full build, workspace typecheck, 470 unit tests (one optional OpenKnowledge skip), all 171 desktop E2E tests with real Knowledge enabled, and all seven site tests passed. Independent source review is clear. The final verified tree is unchanged after aligning with merged UI #168.
Failure traces, save/relaunch coverage, and automated-versus-human acceptance limits are recorded in
docs/reviews/2026-10-11-space-focus.md.