mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7395] [MERGED] Add a setting to hide the "older messages not sent" note #7714
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#7714
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7395
Author: @ylli-selmani
Created: 10/10/2026
Status: ✅ Merged
Merged: 10/10/2026
Merged by: @ylli-selmani
Base:
staging← Head:feat/reply-checkup-line-toggle📝 Commits (4)
f27552aAdd a setting to quiet the "older messages not sent" note7f2c87bDocument the "older messages not sent" toggle in Settings overview98d2ce6Keep the omnibar Check row working when the trim note is hidden791a6a5Shorten the trim-note help text and changelog entry📊 Changes
11 files changed (+113 additions, -8 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
docs/settings/settings-overview.md(+2 -1)📝
packages/client/src/components/chat/ChatArea.tsx(+4 -1)📝
packages/client/src/components/chat/ReplyCheckup.tsx(+13 -3)📝
packages/client/src/components/panels/SettingsPanel.tsx(+9 -0)📝
packages/client/src/lib/omnibar-settings-toggle-bindings.ts(+4 -0)📝
packages/client/src/lib/reply-checkup.ts(+28 -3)📝
packages/client/src/lib/settings-registry.ts(+8 -0)📝
packages/client/src/localization/locales/en.json(+2 -0)📝
packages/client/src/stores/ui.store.ts(+7 -0)📝
scripts/regressions/reply-checkup.regression.ts(+35 -0)📄 Description
Linked issue
Closes #7392
Why this change
What changed
Added Settings › Advanced › Message Tools › Show "older messages not sent" note, a global display preference, defaulting to on so no existing install changes behaviour.
The line is one component serving four findings; the setting gates only
history_trimmed:history_trimmedcut_offempty_replyreply_budget_cutThat split is deliberate: a steady "your chat is long" notice is noise, but a reply that was cut off or came back empty is news the reader wants.
Opening Check still lists every finding including the trim, so the numbers stay reachable when a reply actually looks wrong. With the note hidden, nothing shows under the reply, but the Ctrl+K Fix: Check the last reply row still opens the checkup there, with Check to close it again.
Files:
lib/reply-checkup.ts(replyLineFindings()takes{ showHistoryTrimNotice }; omitting it keeps today's behaviour, so the omnibar Fix row and Professor Mari are unchanged),components/chat/ChatArea.tsx,stores/ui.store.ts(field, setter, both persistence pickers, defaulttrue),panels/SettingsPanel.tsx,lib/settings-registry.ts+lib/omnibar-settings-toggle-bindings.ts(searchable and flippable from the omnibar, since "I can't find a setting for it" was half the report),localization/locales/en.json,CHANGELOG.md,scripts/regressions/reply-checkup.regression.ts.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm check(tsc + eslint + localization + format + build) passes.node scripts/run-regressions.mjs --filter reply-checkuppasses, and was confirmed to fail when the new condition is inverted, so the proof is not vacuous.extra.generationInfo.contextFitsaved on the newest message, so one message was seeded with{ trimmed: true, droppedHistory: 1109, tokensBefore: 9800, inputBudget: 8000 }to reproduce the reporter's exact screenshot in the real dev UI (port 6971, worktree build).replyLineLeadcases in the regression.settings.controls.*keys in the registry instead of English text; every control in that registry uses canonical English paired withlocalize(), which reverse-resolves throughfindEnglishMessageKey(). The registry label was verified byte-identical to theen.jsonvalue, so it resolves — a false positive.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
The reported line under a reply (

1109 older messages not sent · Check).The new toggle in Settings › Advanced › Message Tools.
Omnibar search finding the setting.

The line gone with the setting off.

The Check panel still listing the finding with the setting off.

The setting surviving a reload.

Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.