Skip to content

feat(settings): remove History page size, the composer's New tab button, Markdown width and Diff layout rows - #3089

Merged
devswha merged 4 commits into
mainfrom
feat/settings-removals
Nov 6, 2026
Merged

devswha merged 4 commits into
mainfrom
feat/settings-removals

Conversation

@devswha

@devswha devswha commented Nov 6, 2026

Copy link
Copy Markdown
Owner

What

Four Settings rows go, as the owner chose in the Settings simplification. Each behaviour stays at today's default, and a value an older version saved for a removed row is ignored.

Row What happens now
Chat → History page size A chat's history loads 10 prompts a page (the old default). A search's pick still reads back a page of the server's cap (50).
Chat → Composer → New tab button The composer has no New tab button. New tab with agent… stays in the tab menu (right-click a tab, or its ⋯ on a phone), the command palette and its shortcut.
Chat → File viewer → Markdown width A Markdown preview keeps the readable width (the chat's lane, centered).
Chat → File viewer → Diff layout The Settings row goes; the diff viewer's own Unified / Split switch in its header still sets and keeps diffStyle, as it did.

Removed with the button: #3056's chat prefill (ChatLaunch, recordedChoices, the dialog's chat target, and their tests and unreleased changelog fragment). Only that button passed a chat's agent, model and effort to the New tab dialog. The tab menu, the palette and the shortcut always opened on the last agent picked, and still do.

Kept on purpose:

  • Telemetry still reports markdownWidth, now always readable, so the event schema and the Worker are unchanged.
  • The pinned legacy settings fixture (settings.legacy-fixture.ts) keeps markdownWidth as that old version had it, so the old-tab migration tests still read the old shape.

No new control, nothing added to the composer.

Validation

  • bun run check fast on the merged head: all green (typecheck, build, unit 12524 pass / 0 fail).
  • Unit: settings.test.ts has a new test, "ignores what was saved for the rows Settings no longer has": sanitizeSettings drops historyPrompts, composerNewTabButton and markdownWidth, and telemetry reports markdownWidth: "readable". Also updated: i18n (unused keys dropped; Diff layout / Unified / Split moved to the files part, now that only the diff viewer uses them), paletteSettings (matrix 46), preferencesSync, NewSessionDialog and agentLaunchMode.
  • Browser, all PASS on the merged head:
    • settings-pages-demo-regression.ts (20).
    • new-session-skills-browser-qa.ts (7). It now opens New tab from the tab menu at every width, and checks that the composer has no button and Settings no switch even with composerNewTabButton: true stored.
    • chat-history-browser-qa.ts (15): older pages are asked for at 10.
  • Before the merge, also all PASS: repo-diff-browser-qa.ts (56; its Unified/Split switch still works) and file-viewer-regression.ts (79).
  • Not run locally: bun run check full and the rest of the browser lane (CI runs them).

Screenshots (demo build, old values stored: historyPrompts 50, composerNewTabButton true, markdownWidth full)

Light Dark
1280 Composer
1280 File viewer
390 Composer
390 File viewer

…on, Markdown width and Diff layout rows

Owner-chosen removals from the Settings simplification. Each behaviour stays at today's default and a value saved for a removed row is ignored: a chat's history loads 10 prompts a page, the composer has no New tab button (the tab menu, the palette and its shortcut open New tab with agent...), a Markdown preview keeps the readable width, and the diff viewer's own Unified/Split switch still sets the diff layout. The chat prefill only that button used (#3056) goes with it. The pinned legacy settings fixture keeps markdownWidth as that version had it; telemetry keeps reporting markdownWidth as readable so its schema is unchanged.
# Conflicts:
#	src/lib/settings.legacy-fixture.ts
#	src/lib/settings.ts
@coderabbitai

coderabbitai Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

Summary

Summary by CodeRabbit

  • Changes
    • Markdown previews now consistently use a readable width, and history page size is fixed.
    • Removed the New tab button from the composer and its Settings option. You can still start a new tab from the tab menu, command palette, or shortcut.
    • Removed the History page size, Markdown width, and Diff layout options from Settings. Use the Unified/Split switch in the diff header to change the layout.
    • New-tab dialogs now use default or remembered agent settings rather than choices recorded in the current chat.

The Settings page removes controls for history page size, the composer New tab button, Markdown width, and diff layout. History paging and Markdown preview width now use fixed values. The New tab dialog remains available through other entry points and no longer receives chat-derived launch choices.

Changes: Settings and entry-point simplification

Layer / File(s) Summary
Remove settings from the model and persistence
src/lib/settings.ts, src/lib/settings.test.ts, src/lib/settings.legacy-fixture.ts, src/lib/preferencesSync.test.ts
Settings and persistence no longer include history page size, the composer New tab button, or Markdown width. Tests and fixtures cover the updated settings and telemetry behavior.
Remove retired controls from Settings
src/components/SettingsDialog.tsx, src/lib/i18n/settings.*.ts, src/lib/i18n/settings-composer.*.ts, src/lib/paletteSettings.ts, src/lib/paletteSettings.test.ts, scripts/settings-pages-demo-regression.ts, DESIGN.md, changelog.d/settings-fewer-rows.md
The Settings page and its search data no longer list the removed controls. The changelog and design listing describe the removed rows.
Set Markdown width and document diff controls
src/components/TextFileView.tsx, src/components/FileViewer.css, docs/guide.md, src/lib/i18n.*.ts, src/lib/i18n/files.*.ts
Markdown previews always use readable width. The guide identifies the diff-header layout switch, and diff layout translations are provided in the file translation dictionaries.
Remove composer launch and chat-derived defaults
src/components/Composer.tsx, src/components/PaneTerminal.tsx, src/App.tsx, src/lib/actions.ts, src/components/NewSessionDialog.tsx, src/lib/agentLaunchMode.ts, scripts/new-session-skills-browser-qa.ts, src/components/NewSessionDialog.test.tsx, src/lib/agentLaunchMode.test.ts, src/lib/i18n/composer.*.ts, changelog.d/new-tab-from-chat-carries-agent.md
The composer New tab button and its pane callback are removed. The new-tab action no longer passes chat data, and the dialog no longer uses chat-derived launch choices. Browser QA opens the dialog through the tab menu.
Use a fixed history page size
src/components/ChatView.tsx, src/lib/usePaneLens.ts, scripts/chat-history-fixture.tsx, scripts/chat-history-browser-qa.ts
Conversation reads and pane prefetches use the fixed history page size. Search pagination uses a fixed largest-page size, and browser QA checks the fixed request size.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Change: Other

Possibly related PRs

  • devswha/ovis#3056: Adds the chat-derived agent, model, and effort defaults that this PR removes.

Suggested reviewers: jpcarranza94

Merge Risk: Low · up to 74db9

The simplification is mergeable with bounded follow-up: returning to a busy conversation can reset the displayed history and reading position, and the changelog should clarify that saved diff layout remains effective.

- [ ] 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.

Share

@devswha

devswha commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

Review (omo + Codex Terra xhigh)

omo: CLEAR at 74db92b. Codex: no HIGH or MEDIUM; two LOW.

Finding Severity Status
The changelog line read as if a saved Diff layout were ignored too; the viewer keeps using it LOW Fixed in the changelog fragment (docs-only commit)
The new unit test checks sanitizeSettings drops historyPrompts, not that loadSettings ignores the old ovis:history-prompts key LOW Not changed: loadSettings no longer reads that key at all (the reader and HISTORY_PROMPTS_STORAGE_KEY are gone), so there is no path left to pin; chat-history-browser-qa.ts checks older pages are asked for at 10

CodeRabbit had not reviewed when this was written (review limits). Validation after the docs commit and merging main: bun run check fast green (unit 12524 pass / 0 fail).

@devswha

devswha commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

Local merge gate (owner-approved): bun run check fast passed at this head, omo CLEAR at this head, Codex no HIGH/MEDIUM, threads resolved, merges cleanly; settings-pages, new-session, chat-history, repo-diff and file-viewer regressions pass; screenshots 390/1280 light/dark. Removes the settings the owner chose ("지울 설정: 기록 페이지 크기, 입력칸 새 탭 버튼, Markdown 너비·비교 보기 방식"): behaviour stays at today's default, stored old values are ignored, changelog added. The diff view's own one-column/side-by-side switch still saves the choice. Merged without waiting for GitHub CI.

@devswha
devswha merged commit 1427e1c into main Nov 6, 2026
12 checks passed
@devswha
devswha deleted the feat/settings-removals branch November 6, 2026 00:20
Ladegeraet added a commit to Ladegeraet/herdr-web-ui that referenced this pull request Nov 9, 2026
A comment's field reads "Enter sends" as the composer now does
(enterSendsOn): left unset, a touch screen's Return is a new line
(devswha#2597). Drop the New tab icon import upstream removed (devswha#3089).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ladegeraet added a commit to Ladegeraet/herdr-web-ui that referenced this pull request Nov 11, 2026
A comment's field reads "Enter sends" as the composer now does
(enterSendsOn): left unset, a touch screen's Return is a new line
(devswha#2597). Drop the New tab icon import upstream removed (devswha#3089).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ladegeraet added a commit to Ladegeraet/herdr-web-ui that referenced this pull request Nov 12, 2026
A comment's field reads "Enter sends" as the composer now does
(enterSendsOn): left unset, a touch screen's Return is a new line
(devswha#2597). Drop the New tab icon import upstream removed (devswha#3089).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ladegeraet added a commit to Ladegeraet/herdr-web-ui that referenced this pull request Nov 16, 2026
A comment's field reads "Enter sends" as the composer now does
(enterSendsOn): left unset, a touch screen's Return is a new line
(devswha#2597). Drop the New tab icon import upstream removed (devswha#3089).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ladegeraet added a commit to Ladegeraet/herdr-web-ui that referenced this pull request Nov 19, 2026
A comment's field reads "Enter sends" as the composer now does
(enterSendsOn): left unset, a touch screen's Return is a new line
(devswha#2597). Drop the New tab icon import upstream removed (devswha#3089).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ladegeraet added a commit to Ladegeraet/herdr-web-ui that referenced this pull request Nov 20, 2026
A comment's field reads "Enter sends" as the composer now does
(enterSendsOn): left unset, a touch screen's Return is a new line
(devswha#2597). Drop the New tab icon import upstream removed (devswha#3089).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ladegeraet added a commit to Ladegeraet/herdr-web-ui that referenced this pull request Nov 21, 2026
A comment's field reads "Enter sends" as the composer now does
(enterSendsOn): left unset, a touch screen's Return is a new line
(devswha#2597). Drop the New tab icon import upstream removed (devswha#3089).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ladegeraet added a commit to Ladegeraet/herdr-web-ui that referenced this pull request Nov 22, 2026
A comment's field reads "Enter sends" as the composer now does
(enterSendsOn): left unset, a touch screen's Return is a new line
(devswha#2597). Drop the New tab icon import upstream removed (devswha#3089).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.

1 participant