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
Chat no longer inserts a “New” line when you return to messages that arrived while you were away.
What Changed
Remove the transcript divider, its foreground/visibility tracking, screen-reader announcement, automatic scroll-to-divider behavior, and marker-specific virtualized row pin. Delete the marker tests, unused translations and color token, and the CSS-value test containing the removed token assertion (per the repository's test guidelines). Normal transcript following, parked scroll restoration, Jump to latest, find, rail navigation, and diff reveals keep their existing owners.
Why
The divider adds unwanted visual noise. Removing its implementation also avoids retaining its tracking and scroll side effects after the visible feature is gone.
Linked Issue
Internal maintainer request; no existing issue.
Visual Proof
Same transcript row at a 640px fixture width, rendered headlessly in both themes. The temporary fixture was removed after capture; screenshots are attached outside the source diff.
Before (dark):
After (dark):
Before (light):
After (light):
Testing
Headless component screenshots in light and dark mode on macOS; visually reviewed before and after.
Ran ORCA_BACKGROUND_LAUNCH=1 pnpm check:changed --maxWorkers=2: all non-unit checks passed after staging the deleted tests and rerunning node config/scripts/check-test-file-runners.mjs. This includes both affected typecheck projects, lint/format, code quality, localization extraction/catalog/coverage, import boundaries, dead classes, and ratchets. The broad affected-test selection reached unrelated repository suites; stopped after 5m29s and used scoped tests, as permitted by AGENTS.md.
ORCA_BACKGROUND_LAUNCH=1 pnpm test src/main/agent-hooks/server-claude-helper-recovery.test.ts --maxWorkers=2: 24 tests passed while investigating the unrelated initial CI failure.
Full PR CI passed, including all 12 unit shards, static analysis/typecheck, both packaging jobs, and PR checks passed. The first run hit a timing-sensitive assertion in the unchanged hook-recovery test; retrying only failed jobs passed on the same commit.
Marker-only tests removed with the feature; no new tests for a presentational removal.
Native mobile has a separate transcript and does not render this divider. No runtime protocol, persistence, OS-specific, SSH, or workspace-path changes. Linux/Windows/full application builds are covered by CI.
Risk
Level: Low. Returning to chat now uses the existing transcript scroll restoration/follow behavior instead of jumping to the first unread divider. A mistake in the row-pin cleanup could affect find/diff/rail navigation; existing transcript/windowing suites cover those paths. A plain revert restores the feature; no data migration is involved.
Review
Self-reviewed the render path, all message-list-handle callers, row pinning, scrolling ownership, and remaining references. No correctness or security findings.
Agent skill upstream boundary
Not applicable: no upstream skill source or assets copied.
Checklist
Small and focused feature removal
Explained behavior, implementation, and reason
Risk and rollback documented
Before/after visual evidence captured
Self-reviewed for correctness, security, and performance
Cross-platform, remote, mobile, and folder-workspace impact considered
Scoped local tests and applicable non-unit gates passed; broad suite delegated to full PR CI
The change removes the native chat new-rows marker, its arrival announcement, and the tracking logic that placed the marker. The message list, transcript rows, and pinned-row selection no longer use marker state. The change also removes marker-related translations and color tokens, updates the style guide, and deletes tests for the removed behavior.
Merge Risk: Low · up to d85a4
Restore the unrelated palette assertions to retain light- and dark-theme regression coverage. No current visual defect is established.
Pre-merge checks: 4 · 1
Failed checks: 1 warning
Check name
Status
Explanation
Resolution
Docstring Coverage
Docstring coverage is 40.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documenta…
Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed checks: 4 passed
Check name
Status
Explanation
Title check
The title clearly and concisely identifies the primary change: removing the New divider from the Chat UI.
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Description check
The description covers the change, reason, visual proof, testing, risk, rollback, and checklist. The author identifies the request as internal and states that no existing issue applies. The Review sec…
Full details: Description check
Explanation
The description covers the change, reason, visual proof, testing, risk, rollback, and checklist. The author identifies the request as internal and states that no existing issue applies. The Review section is empty, but self-review findings are documented elsewhere, so this omission is non-critical.
Full details: Docstring Coverage
Explanation
Docstring coverage is 40.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 5 functions across 6 files. (1 skipped: 1 unsupported.)
Resolution
Write docstrings for the functions missing them to satisfy the coverage threshold.
Finishing Touches
Generate docstrings
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Restore the opposite-scheme assertions for retained palette roles.
The removed test covered behavior that remains in the native-chat palette: computed foreground and surface mappings, code foreground blending, and status/diff role isolation. Keep the --chat-unread assertion deleted, but restore the remaining assertions so regressions in either app/terminal scheme combination remain detectable.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.
Restores the line above messages that arrived while you were away, the scroll to it on return and the screen-reader announcement, all removed in #38044. A new Chat > Behavior switch, "Mark new messages when returning to a chat" (on by default), turns it off; off tracks nothing.
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.
ELI5
Chat no longer inserts a “New” line when you return to messages that arrived while you were away.
What Changed
Remove the transcript divider, its foreground/visibility tracking, screen-reader announcement, automatic scroll-to-divider behavior, and marker-specific virtualized row pin. Delete the marker tests, unused translations and color token, and the CSS-value test containing the removed token assertion (per the repository's test guidelines). Normal transcript following, parked scroll restoration, Jump to latest, find, rail navigation, and diff reveals keep their existing owners.
Why
The divider adds unwanted visual noise. Removing its implementation also avoids retaining its tracking and scroll side effects after the visible feature is gone.
Linked Issue
Internal maintainer request; no existing issue.
Visual Proof
Same transcript row at a 640px fixture width, rendered headlessly in both themes. The temporary fixture was removed after capture; screenshots are attached outside the source diff.
Before (dark):
After (dark):
Before (light):
After (light):
Testing
ORCA_BACKGROUND_LAUNCH=1 pnpm check:changed --maxWorkers=2: all non-unit checks passed after staging the deleted tests and rerunningnode config/scripts/check-test-file-runners.mjs. This includes both affected typecheck projects, lint/format, code quality, localization extraction/catalog/coverage, import boundaries, dead classes, and ratchets. The broad affected-test selection reached unrelated repository suites; stopped after 5m29s and used scoped tests, as permitted by AGENTS.md.ORCA_BACKGROUND_LAUNCH=1 pnpm test src/renderer/src/components/native-chat/NativeChatMessageList.windowing.test.tsx src/renderer/src/components/native-chat/native-chat-submission-navigation.test.tsx src/renderer/src/components/native-chat/native-chat-appearance-palette.test.ts --maxWorkers=2: 3 files, 23 tests passed.ORCA_BACKGROUND_LAUNCH=1 pnpm test src/main/agent-hooks/server-claude-helper-recovery.test.ts --maxWorkers=2: 24 tests passed while investigating the unrelated initial CI failure.Risk
Level: Low. Returning to chat now uses the existing transcript scroll restoration/follow behavior instead of jumping to the first unread divider. A mistake in the row-pin cleanup could affect find/diff/rail navigation; existing transcript/windowing suites cover those paths. A plain revert restores the feature; no data migration is involved.
Review
Self-reviewed the render path, all message-list-handle callers, row pinning, scrolling ownership, and remaining references. No correctness or security findings.
Agent skill upstream boundary
Checklist