mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8345] [MERGED] fix(bot-browser): preserve tag picker scroll when reopening #8309
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#8309
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/8345
Author: @SpicyMarinara
Created: 10/26/2026
Status: ✅ Merged
Merged: 10/26/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/bot-browser-tag-scroll-8335📝 Commits (3)
fc430b2chore: start tag picker scroll preservation311631efix(bot-browser): keep tag panel scroll when reopened51dbbf8fix(bot-browser): reset tag scroll when provider changes📊 Changes
2 files changed (+222 additions, -123 deletions)
View changed files
➕
e2e/bot-browser-tag-scroll.e2e.ts(+96 -0)📝
packages/client/src/components/bot-browser/BotBrowserView.tsx(+126 -123)📄 Description
Linked issue
Closes #8335. Implementation owner: @SpicyMarinara via Codex.
Why this change
Closing the tag panel in Browse character cards online removed its scrolling element. Reopening kept the selected filter but returned the list to the top, forcing users to find their previous position again.
What changed
Keep the existing tag sidebar mounted while closed and hide it with
display: none. Reopening preserves its native scroll position and the existing selected tags. The closed panel stays outside layout, keyboard navigation and the accessibility tree. Changing the source provider remounts the sidebar so its unrelated tag list starts at the top. No persistent setting or scroll-restoration framework is added.Add focused browser coverage for both close controls, the selected filter, exact scroll preservation and subsequent tag searching.
Validation
Completed at
51dbbf846:pnpm install --frozen-lockfileand fullpnpm checkpass, including localization, formatting, TypeScript and the production build. One existingHomeProfessorMariChathook warning remains; no new warning is introduced.311631ebc: the new provider retained offset 1493 instead of 0. The provider-specific React key repairs that case; all six extended rows pass.311631ebcinitially recorded 16 passes and two infrastructure failures. Both failures are explicit ENOSPC errors while writing screenshots/traces; their assertions and timeouts were not changed. The two affected cases pass on separate unchanged replays after bounded disk recovery.pnpm smoke:ui: 7/7 passed. Compiled-production startup: 3/3 passed, across desktop Chromium, mobile Chromium and mobile WebKit. All fixture servers were stopped; the monitored replay stayed above the 150 MiB free-space stop boundary.311631ebccompleted with 0 findings across both files.311631ebchostedcontainer-build-testnow passes on Linux amd64. This is hosted image-build proof; a local container runtime result is not claimed. The final head must pass its own required checks and receive a viable Dottore Review before merging.Human verification remains unchecked:
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Automated mobile browser emulation does not establish physical-device proof. External card results are synthetic; no real provider or user save was used.
Docs and release impact
No user-facing wording, setting, storage format, documentation or release metadata changes.
UI evidence
Before/after desktop and mobile dark/light captures. Includes the additional provider-switch reproduction and repair. Each HTML file embeds the original PNG bytes; download/open it to view the comparison. Local failure logs and traces are retained separately.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.