Repository navigation
Conversation
saphid
marked this pull request as ready for review
September 30, 2026 00:44
Contributor
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — The PR is a localized web composer bug fix that renumbers only the affected ordered-list run and preserves existing behavior for other composer paths. Its production changes are self-contained and accompanied by focused regression coverage, with no schema, deployment, security, billing, or static-analysis changes. Notes:
No code changes detected at You can add or adjust custom eligibility rules. Learn more. |
macroscopeapp
Bot
dismissed
their stale review
October 1, 2026 20:52
Dismissing prior approval to re-evaluate d630285
saphid
force-pushed
the
fix/composer-renumber-ordered-list
branch
from
October 5, 2026 04:43
d630285 to
3ba1166
Compare
Contributor
Author
|
Review requested
Logged so this PR shows when a maintainer was asked to review it. |
Contributor
Author
|
Review requested
Logged so this PR shows when a maintainer was asked to review it. |
2 tasks done
… the composer Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…bers unpadded Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
saphid
force-pushed
the
fix/composer-renumber-ordered-list
branch
from
October 11, 2026 23:34
3ba1166 to
7a14a35
Compare
This branch has not been 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.
Model: Claude Opus 5.5 and Claude Sonnet 5.5. Rebased onto current main with Claude Opus 5.5 on 2026-10-12.
What Changed
In the composer, Shift+Enter inside a numbered list now renumbers the items below the new one, not just the new item itself.
listContinuationForEnter(apps/web/src/composer-list-continuation.ts) now also rewrites the numbers of the ordered items that follow:01.) keep their width; others don't gain padding.The edit now carries an explicit expanded
cursorAfterso the caret still lands right after the new marker even though the replaced range extends past it. Tab uses the same field with its previous offset.Why
Put the caret at the start of an earlier item's text and press Shift+Enter to push it down. The pushed item gets the next number, but everything below keeps its old number, leaving duplicates (
1. 2. 3. 3.). Enter only ever inserted a single marker and never looked at later lines. Fixing it where the marker is inserted keeps both composer modes identical, because they share this store-replacement path.Bullets, tasks, the empty-item exit path, and non-list lines behave as before.
UI Changes
Fresh attached-preview verification on disposable data. Same project, list and viewport on current main c18e5ea and clean candidate d630285. At the end of item 2, press Shift+Enter and type into the inserted item.
Before (current main): the following item keeps 3, leaving duplicate numbers.
After (candidate): the following item becomes 4; typing stays in the inserted item.
Full recordings: before · after. GIFs show the first seven seconds sampled at 10 fps, at real-time speed, cropped to the full composer and heading. Recordings retain the full viewport. Screenshots: before · after.
Verification
Original implementation: Claude Sonnet 5.5 and Claude Opus 5.5 in Claude Code. Readiness audit: GPT-6.1 Sol through Codex. Independent review and attached-preview verification: GPT-6 Astra through Codex in T3 Code.