Skip to content

feat(settings): fold rarely changed rows under More settings - #3132

Merged
devswha merged 3 commits into
mainfrom
feat/settings-fold-rare
Nov 6, 2026
Merged

devswha merged 3 commits into
mainfrom
feat/settings-fold-rare

Conversation

@devswha

@devswha devswha commented Nov 6, 2026

Copy link
Copy Markdown
Owner

What

Settings keeps a few more rarely changed rows out of the first view, under each page's More settings fold (the SettingsFold from #3096). Nothing is removed, no default changes, and no stored value moves.

Page Row Now
Alerts Needs input, Needs permission, Finished More settings, in a new Alert me when group (alert-kinds) with Stopped on an error
Chat Dictation language More settings, at the top of the voice group (voice-more)
Chat Wrap long lines More settings, File viewer (file-viewer-more)
Chat Quick replies list shown only while Show above the message box is on
Devices and PCs Keep screen on More settings, new Phone group (phone-more)
Appearance Name tabs from the first message More settings, Sidebar (sidebar-more)
  • The fold's "n changed" count now also counts alertInput, alertDone, voiceLanguage, wrapCode, keepScreenOn and autoTabNames, so a moved value is never hidden without a trace.
  • Settings search shows folded rows as if unfolded, and a link naming a group inside a fold opens it. Both behave as before (feat(settings): fold each page's rarely changed rows under More settings and Experimental #3096).
  • One new string, "Alert me when" (ko/ja/zh added). A changelog fragment and the DESIGN.md Settings entry are updated.
  • First view: Alerts goes from 6 rows to 3, Chat from 11 to 9 (plus the 5-field list, which is now hidden while off), Devices and PCs from 5 to 4, and Appearance from 9 to 8.

Design: same rule as #3096. Rows few people change go into the fold, the way herdr-app keeps its Settings short.

Validation

  • bun run check fast on 4aa8523: green (typecheck, build, unit 12617 pass / 0 fail). DESIGN.md commit: conventions tests 59 pass.
  • Browser regressions in the self-hosted CI runner image (herdr-ci-runner:local, isolated herdr), all PASS: settings-pages-demo, wake-lock, push-settings, alert-webhook-demo, droplet-demo, droplet, pane-mute-demo, split-view, file-viewer, ui-regression.
  • alert-sound-regression fails at setup ("the status subscription includes the new panes"). It fails the same way on origin/main 74976f2 in the same image, so this PR did not cause it.
  • Screenshots before/after at 1280 and 390, light and dark (Alerts, Chat, Devices and PCs, Appearance), from the demo build. Shared with the maintainer.

Which alerts come (Needs input, Needs permission, Finished), Dictation language, Wrap long lines, Keep screen on and Name tabs from the first message move into their page's More settings; the quick replies list shows only while they are on. Nothing is removed and no stored value changes.
@coderabbitai

coderabbitai Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 11 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 74976f2 and ffa3d2f.

Files selected for processing: 12

  • DESIGN.md
  • changelog.d/settings-fold-rare-rows.md
  • scripts/settings-pages-demo-regression.ts
  • src/components/SettingsControls.tsx
  • src/components/SettingsDialog.tsx
  • src/lib/alertFilters.test.ts
  • src/lib/alertFilters.ts
  • src/lib/i18n/settings.ja.ts
  • src/lib/i18n/settings.ko.ts
  • src/lib/i18n/settings.zh.ts
  • src/lib/paletteSettings.test.ts
  • src/lib/paletteSettings.ts
  • 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

…om the palette

The Alerts fold counts Needs permission and Stopped on an error, kept outside the settings record; Chat's fold counts the voice keys only while their rows show; the palette names Dictation language in voice-more; the folded Keep screen on group has no second Phone heading; settings-pages checks the quick replies list hides while off.
@devswha

devswha commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

Fix round after omo and Codex review (head ffa3d2f):

  • MEDIUM (omo, Codex): Needs permission and Stopped on an error live in ovis:alert-filters, so the Alerts fold missed them in its "n changed" count. SettingsFold takes elsewhere, fed by alertFiltersChanged() (unit-tested).
  • MEDIUM (Codex): the palette's dictation led to the Voice input group only. It now has a Dictation language entry on voice-more (matrix rows en/ko; they fail without the entry).
  • LOW: the folded Keep screen on group is untitled, so Devices and PCs has one Phone heading (wake-lock regression with UI_EVIDENCE_DIR passes).
  • LOW: Chat's fold counts the voice keys only while their rows render (mic not off).
  • LOW: settings-pages-demo checks the quick replies list is gone while off and back when on.

Validation: bun run check fast green (unit 12618 pass / 0 fail). In the CI runner image: settings-pages-demo, wake-lock (with UI_EVIDENCE_DIR), push-settings, alert-webhook-demo all PASS.

@devswha

devswha commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

omo re-review at ffa3d2f: CLEAR. Remaining LOWs, left for a follow-up (the one fix round is used):

  • The palette's page entries for Alerts ("needs input finished") and Devices ("keep screen on") land on the page with those rows inside a closed fold. Settings' own search finds them unfolded; a section entry per moved row (alert-kinds, phone-more, file-viewer-more, sidebar-more) would land on them directly.
  • The Dictation language palette entry points at voice-more, which is not shown while the microphone button is Off, like the existing Voice input rows.
  • The Sound row's "chimes for these alerts" now sits above the folded alert kinds; it could name "Alert me when".

@devswha

devswha commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

CodeRabbit did not review head ffa3d2f (review limit reached). Reviews at this head: omo CLEAR (receipt), Codex adversarial review (its two MEDIUMs fixed in ffa3d2f), unresolved threads 0.

@devswha

devswha commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

Local merge gate: FAIL

Local merge gate: FAIL #3132 merge=b922917134af head=ffa3d2fd138a main=340cefb9badf on herdr-ci-runner:local on devswha-ThinkStation-P620 CPUs 64-127 in 579s, reruns=1

The Linux suites of the required checks (Fast checks, Integration and browser), run on main 340cefb with this PR's head ffa3d2f merged in (local merge b922917134af, not pushed), as groups side by side in the self-hosted CI runner image on herdr-ci-runner:local on devswha-ThinkStation-P620 CPUs 64-127 (7% busy before the start, host load 86.24; shards=4 unit_workers=8 browser_main_workers=2 browser_other_workers=16). Scope: full. Native Windows install and the macOS checks are not part of this gate.

Step Command Result Seconds Counts
fast-install bun install --frozen-lockfile pass 0 -
release-guards bun scripts/release-guards.ts --base 340cefb9badf pass 0 -
fast bun run check fast pass 199 tests 12630 pass / 0 fail; check steps 6 ok / 0 failed
integration-install bun install --frozen-lockfile pass 0 -
integration bun run check integration pass 209 tests 1232 pass / 0 fail; check steps 3 ok / 0 failed
browser-main-install bun install --frozen-lockfile pass 0 -
browser-main-build bun run build pass 14 -
browser-main BROWSER_SCRIPTS=ui-regression,ui-contexts-regression bun run check run -- bun scripts/ci-browser-parallel.ts pass 503 browser scripts 2/2 passed
browser-other-install bun install --frozen-lockfile pass 0 -
browser-other-build bun run build && bun run build:shell pass 17 -
browser-other BROWSER_EXCLUDE=<those two> bun run check run -- bun scripts/ci-browser-parallel.ts fail (exit 1) 554 check steps 0 ok / 1 failed; browser scripts 173/174 passed

Reruns:

  • browser scripts/terminal-view-replay-demo-regression.ts failed, then passed on its automatic second run

Total 579s.

@devswha

devswha commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

Merge note (merge pass) at head ffa3d2f:

  • omo review receipt: CLEAR at this exact head after one fix round; Codex MEDIUMs fixed. Unresolved review threads: 0 (GraphQL). CodeRabbit: rate-limited, no review ran on this head; gated on the two reviewers and the checks instead.
  • The local merge gate on main 340cefb (comment above) failed only on scripts/relay-e2e-regression.ts: the relay terminal did not draw its prompt within 20 s, under host load ~90. The same script flaked once in an unrelated PR's gate today. GitHub's required checks on this head then passed in full, relay-e2e included, so this merges on GitHub's green checks.
  • No settings removed and stored values kept; owner OK'd the folds.

@devswha
devswha merged commit 79f7333 into main Nov 6, 2026
13 checks passed
@devswha
devswha deleted the feat/settings-fold-rare branch November 6, 2026 06:46
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