Skip to content

fix(web): adopt upstream composer caret stops - #312

Merged
lastobelus merged 2 commits into
lastcode/mainfrom
port/upstream/pr-13217-composer-caret-stops
Oct 7, 2026
Merged

lastobelus merged 2 commits into
lastcode/mainfrom
port/upstream/pr-13217-composer-caret-stops

Conversation

@lastobelus

@lastobelus lastobelus commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

Styled text at a composer boundary should offer both plain and formatted typing. Upstream closed pingdotgg#13518 because pingdotgg#13217 provides that behavior with two visible caret stops; carrying both implementations would make their stored-mark policies compete.

Import the merged upstream change and remove LastCode's superseded typing-marks extension. Paste, cut, undo/redo, and sustained formatting tests now follow the upstream two-stop behavior.

Integrated verification passed in the isolated web client through T3 Browser (1280×800 capture, 1169×731 CSS viewport). The same editor setup and native ArrowLeft + literal typing produced **Note: bold** on the LastCode base and Note: **bold** on this branch. Paste/cut used synthetic clipboard events through the real editor; native ArrowRight, Cmd+Z / Cmd+Shift+Z, and sustained Cmd+I typing passed. The serialized draft persisted correctly. Fixture setup used editor commands; no provider turn ran.

Before

After

Recordings: before, after.

Imported and adapted by GPT-6-Astra through Codex in T3 Code; delivery and verification by GPT-6.1-Sol (xhigh) through Codex in T3 Code.

@lastobelus

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-07T00:52:37.164305Z a83340c Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@lastobelus
lastobelus marked this pull request as ready for review October 7, 2026 00:39
saphid and others added 2 commits October 6, 2026 17:49
…g#13217)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit d0dc458)

Carry-Group: upstream-bugfixes
Carry-Upstream: pingdotgg#13217 head 42ea6ff
Carry-Observation: Import the merged upstream squash d0dc458 ahead of nightly adoption.
Use upstream's two caret stops as the single formatting boundary policy.
Remove the competing plugin and retain paste, cut, history, and sustained
formatting coverage under the upstream navigation semantics.

Carry-Group: upstream-bugfixes
Carry-Upstream: pingdotgg#13217 head 42ea6ff
Carry-Supersedes: pingdotgg#13518 head cc1d991
Carry-Supersedes: #295
Carry-Observation: Upstream closed 13518 in favor of 13217. Remove the old marks plugin so it cannot fight the two-stop policy; preserve this removal when the nightly absorbs 13217.
@lastobelus
lastobelus force-pushed the port/upstream/pr-13217-composer-caret-stops branch from 8491b68 to a83340c Compare October 7, 2026 00:49
@lastobelus

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: a83340cef6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

@lastobelus
lastobelus merged commit 2bb9dd9 into lastcode/main Oct 7, 2026
17 checks passed
@lastobelus
lastobelus deleted the port/upstream/pr-13217-composer-caret-stops branch October 7, 2026 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants