mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7073] [MERGED] fix(ui): remove redundant minimize button and unpin new pop-outs #7459
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#7459
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/7073
Author: @SpicyMarinara
Created: 10/4/2026
Status: ✅ Merged
Merged: 10/4/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/window-controls-unpinned📝 Commits (2)
d133948fix(ui): simplify window controls and unpin new pop-outs024079atest(ui): uncover the detached button before reopening it📊 Changes
11 files changed (+59 additions, -45 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
docs/appearance/custom-css-themes.md(+2 -2)📝
docs/chats/chat-settings.md(+2 -2)📝
docs/roleplay/hud-and-trackers.md(+2 -2)📝
e2e/chat-control-windows.e2e.ts(+4 -4)📝
e2e/drawer-popout.e2e.ts(+41 -15)📝
packages/client/src/components/ui/Drawer.tsx(+2 -2)📝
packages/client/src/components/ui/FloatingWindow.tsx(+2 -14)📝
packages/client/src/localization/locales/en.json(+0 -2)📝
packages/client/src/styles/globals.css(+1 -1)📝
scripts/regressions/floating-window.regression.ts(+2 -1)📄 Description
Linked issue
Closes #7071. Follow-up to #7062; targets
staging.Why this change
Floating chat windows have two controls that perform the same action: minus and Close (X). New detached sections also start pinned, so clicking away leaves them open when the user expects them to shrink to their buttons.
What changed
Validation
Candidate:
024079a00a4f7498830529c48e8bcce9d3b4e3e9. App source is identical tod1339485460a6ce82a4248b8459c45b67af910db; the last commit only closes an obstructing window in an existing browser test.Passed
pnpm checkand the floating-window regression (1/1) atd13394854.Passed native ARM64 Docker build/runtime at
d13394854, including health, compiled assets and exact build metadata. Image:sha256:2d0ae7e8f69a42532980f66e8166887f3cb0bd1a8e860b7cb0a9946f4d52c57c.Desktop control/drawer coverage: 14 passed and 2 intentional mobile-only skips in the initial run. One existing test tried to click a bubble behind open Chat Settings; closing that unrelated window fixes the fixture, and the affected case passed on rerun (1/1). Product code did not change.
Local CodeRabbit completed at
d13394854, reviewed all 11 changed files, and reported zero findings. The later four-line fixture-only adjustment was inspected separately.Passed targeted phone coverage: 8/8 across mobile Chromium and mobile WebKit, including docking and saved desktop pin/lock/geometry. Shell smoke passed 7/7 and compiled production startup passed 3/3 on the candidate. Hosted build/test checks subsequently passed, including
pnpm-validate, the container build and both code scans. The maintainer merged the PR while hosted checks were running; hosted CodeRabbit changed toReview skippedafter merge, so it is not claimed as a completed hosted review. The completed local review is recorded above.pnpm checkpasses locallyContainer (Docker / Podman) built and ran without issue
Ran the app, clicked through the changes manually
Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
Above manual verification completed (describe below)
Read and followed
CONTRIBUTING.mdManual verification notes
Automated browser runs exercised click/drag detachment, outside-click hiding, Close and Escape, explicit pin persistence after reload, and phone sheets. Before/after renders were visually inspected. The unchecked items below remain a maintainer checklist.
Docs and release impact
Updated three English guides, removed the two unused English minimize-control labels, and added an Unreleased changelog entry. All ten translated packs are being updated in #7065, #7068, #7069 and #7070 under #7054. No version or storage-format change.
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue openedUI evidence
Before/after gallery — five inspected screenshots using synthetic data in disposable containers. All uploaded PNG hashes were verified.
Before: minus and pinned by default → After: Close and unpinned by default. After clicking outside shows the detached section's movable button.
Before captures use
b0219a345; after captures used13394854, whose app source is unchanged in final candidate024079a00. Phone tests use browser emulation; physical phone verification remains manual.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.