Repository navigation
fix(native-chat): turn off the New messages line for new users - #51129
Merged
orca-remote-automation[bot] merged 4 commits intoNov 27, 2026
Merged
orca-remote-automation[bot] merged 4 commits into
orca-remote-automation[bot] merged 4 commits into
Conversation
orca-remote-automation
Bot
force-pushed
the
orca-remote-automation/chat-new-line-default-off
branch
from
November 27, 2026 20:32
0dad5cd to
a9d193f
Compare
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.
What
New profiles no longer draw the chat UI's "New" line (the divider above messages that arrived while you were away; Settings → Chat → "Mark new messages when returning to a chat"). It now defaults off for new users.
Choice note: the only "new line" visible in the chat UI is this unread-messages divider, so that is the setting changed. Shift+Enter newline in the composer is a keybinding, not a setting, and is untouched.
Existing users are unchanged
migrateCohortSeeds), which run when a profile is created (including the offlineorca agent hookspath on a new install) and on its first load. A new profile getsfalse, while a profile saved before this change with no choice getstrue, so it keeps the behavior it had. Nothing flips an existing user off.orca agent hooks, project transfer into an inactive profile) would otherwise save it as an explicitfalsebefore the profile's next load. With no default, a missing key stays missing until load, where the pin applies.Test
existing-profile-default-cohorts.test.ts(renamed fromapp-rail-default-cohort.test.ts): a fresh profile is off across restart, an existing profile with no choice stays on across restart, an explicit off is kept, an existing profile written by the offline hooks writer still loads with the line on, and profiles created before their first load (profile creation, offline hooks on a new install) start off. The new cases fail if the seed is removed or the value is moved into default settings.Comparable products: no comparable, this is a mechanical default flip.
Performance
No runtime cost: one boolean check in the existing load-time cohort migration, which runs once per profile load. No new timers, IPC, or renders.