Skip to content

fix(native-chat): turn off the New messages line for new users - #51129

Merged
orca-remote-automation[bot] merged 4 commits into
mainfrom
orca-remote-automation/chat-new-line-default-off
Nov 27, 2026
Merged

orca-remote-automation[bot] merged 4 commits into
mainfrom
orca-remote-automation/chat-new-line-default-off

Conversation

@orca-remote-automation

@orca-remote-automation orca-remote-automation Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

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

  • Explicit saved values (on or off) are kept.
  • The choice is frozen with the other new-profile cohort seeds (migrateCohortSeeds), which run when a profile is created (including the offline orca agent hooks path on a new install) and on its first load. A new profile gets false, while a profile saved before this change with no choice gets true, so it keeps the behavior it had. Nothing flips an existing user off.
  • The key is deliberately not added to default settings. Writers that merge defaults into saved settings (offline orca agent hooks, project transfer into an inactive profile) would otherwise save it as an explicit false before 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 from app-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.

@orca-remote-automation
orca-remote-automation Bot force-pushed the orca-remote-automation/chat-new-line-default-off branch from 0dad5cd to a9d193f Compare November 27, 2026 20:32
@orca-remote-automation
orca-remote-automation Bot merged commit 1d48a83 into main Nov 27, 2026
63 of 64 checks passed
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.

0 participants