mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7033] [MERGED] fix(chat): Chat Summary ranges fit long message numbers, with quiet borders #7439
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#7439
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/7033
Author: @SpicyMarinara
Created: 10/3/2026
Status: ✅ Merged
Merged: 10/4/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/summary-range-selector-7029📝 Commits (6)
d128bf8fix(chat): give Chat Summary ranges full-width rows and quiet bordersb61c8c2fix(chat): keep Chat Summary ranges steady on phones and slow loadsddf0bbefix(chat): let a late message count still move an untouched Chat Summary range32d21e7Merge remote-tracking branch 'origin/staging' into fix/summary-range-selector-7029585b854test(chat): pin the full-width Chat Summary range rows in the summary regressionb9db946docs(changelog): note the Chat Summary range limit on the narrowest phones📊 Changes
4 files changed (+298 additions, -107 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
e2e/summary-controls.e2e.ts(+172 -0)📝
packages/client/src/components/chat/SummaryPopover.tsx(+116 -99)📝
scripts/regressions/conversation-summary.regression.ts(+8 -8)📄 Description
Linked issue
Closes #7029
Why this change
On desktop, Chat Summary's Range footer had three problems:
The pulse comes from the invalid style using
--destructive, which isvar(--primary). Accent Pulse, on by default on desktop, cycles--primaryevery 500 ms.There was also a false warning. Range mode remembers one range app-wide, so a range picked in a longer chat opened pre-filled in a shorter one. It showed "This range is outside the chat history." right away and still counted "121 messages selected".
What changed
min(16rem, 30dvh), so short windows keep room above the footer.w-[5.5rem]fits five digits on desktop. Belowsm, the native stepper is hidden (the patternInlineControlsalready uses), so four digits fit at 320px and five at 360px. Every row has one fixed status slot, so fields don't shift as a run progresses.--border, like the other sections. An invalid range shows an amber warning icon, amber text and amber field rings witharia-invalid, the same as an overlapping range already did. Nothing pulses.e2e/summary-controls.e2e.tscovers full width, a 4-digit value fully visible, the neutral border, the remembered-range cases (including a late message count) and the "0 messages selected" header. Each fails before the fix.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Run by the agent:
pnpm checkandpnpm localization:checkpass.e2e/summary-controls.e2e.tson desktop-chromium, mobile-chromium and mobile-webkit: 13 passed and 2 skipped. The skips are the phone-keyboard tests on desktop, by design. The two range tests passed 18/18 across three repeats on all three projects.Known limit: five digits at 320px still don't fit. That needs a chat over 9,999 messages on a 320px screen. It's marked with a
ponytail:comment.Still to verify by hand:
Throttle the network on a long chat, open Chat Summary in Last, and switch to Range before it loads. Once loaded it shows the chat's latest messages, the same as switching after it loads.
Throttle again, click into a range field without typing, and click away after the chat loads. The range updates to match the loaded chat.
On desktop, in a long Roleplay chat, open Chat Summary, choose Range, and enter 4-digit numbers. The row spans the footer, every digit shows, and the border matches the other sections with Accent Pulse on.
Open Chat Summary in a short chat after using Range in a long one. No "outside the chat history" warning appears.
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)CHANGELOG updated; no user docs change.
Summary by CodeRabbit
New Features
Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.