mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
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#7445
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/7049
Author: @SpicyMarinara
Created: 10/4/2026
Status: ✅ Merged
Merged: 10/4/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/chat-window-redesign-7034📝 Commits (10+)
f502a1ffeat(ui): shared floating window and drawer with theming contracte5de2c6feat(ui): Chat Settings opens as a movable window from the topbar9e35a25test(e2e): Chat Settings window7bf5054docs: Chat Settings window, its new button and theming hooksa0d0beffix(ui): a remounted window no longer takes focus637e42bfix(ui): Chat Settings toggles, Escape and Help stay reliableb52db5ffix(ui): Help layout takes focus on its first open and stays readablef8c0c17fix(ui): every Chat Settings section is a shared drawer that fits the windowe7ab536fix(ui): Chat Settings window clears the Tracker Panel and closes chat popovers6cc452edocs: Chat Settings button wording, Game actions on phones and theming example📊 Changes
152 files changed (+16654 additions, -7171 deletions)
View changed files
📝
CHANGELOG.md(+2 -2)📝
e2e/advanced-memory.e2e.ts(+11 -14)📝
e2e/agent-private-context.e2e.ts(+2 -1)📝
e2e/assigned-issue-sweep.e2e.ts(+2 -1)📝
e2e/author-notes.e2e.ts(+11 -11)➕
e2e/chat-control-windows.e2e.ts(+492 -0)📝
e2e/chat-insights.e2e.ts(+2 -9)📝
e2e/chat-lorebook-entry-scope.e2e.ts(+0 -4)➕
e2e/chat-settings-tools.e2e.ts(+216 -0)➕
e2e/chat-settings-tools.ts(+71 -0)➕
e2e/chat-settings-window.e2e.ts(+1124 -0)➕
e2e/chat-widget-style.e2e.ts(+468 -0)➕
e2e/chat-window-favorite.e2e.ts(+242 -0)➕
e2e/chat-window-intro.e2e.ts(+241 -0)➕
e2e/chat-window-migration.e2e.ts(+292 -0)📝
e2e/core-flows.e2e.ts(+142 -188)➕
e2e/drawer-popout.e2e.ts(+807 -0)📝
e2e/game-native-dice.e2e.ts(+0 -3)📝
e2e/game-one-request-dice.e2e.ts(+0 -20)📝
e2e/game-terrain-restore.e2e.ts(+0 -3)...and 80 more files
📄 Description
Why this change
Chat tools were spread across a crowded toolbar and fixed popovers. This gives them a movable Chat Settings window and separate movable buttons, with arrangements saved per chat and reusable for future chats. Older chats retain their familiar tools; fresh installations start with the sections inside Chat Settings. The same controls work on computers and phones.
The new Default, Dottore and Mari widget presets also let users change the appearance of these windows, sections and buttons without writing a custom theme. Default preserves the existing look.
Linked issue
Closes #7034
Closes #7036
Translation follow-up: #7054. Documentation companion: #7057 (merged to staging at
8fb5f5953ba5b20c2c8479507dfa3f2dece714b6). Characters-sidebar companion: #7058 (merged to staging at94ce3d6851ab635f4b08c8570dcaed5973f93fbc).What changed
mari-window,mari-drawerandmari-window-bubbleclasses, CSS variables and state attributes cover windows, sections, buttons, locks and the favorite star. Custom colors preserve shaped frames; decorative corners leave resize handles and focus indicators accessible. Theme-sized buttons are measured for placement and bounds. Default adds no preset palette or font override.Validation
Final candidate:
c4dbde13727cbfddecd8e41e5b8019c3ece3cf38. This includes the final ornament, spacing, border and preview refinements, the requested Appearance help text, and Professor Mari's widget-theme guidance. Evidence below identifies each tested revision; all eight required hosted checks and the full Linux regression run passed on this revision.pnpm checkc4dbde137, including localization, formatting, lint, TypeScript, E2E types and production build.c4dbde137, with no intervening source edits. Desktop Chromium, phone Chromium and phone WebKit cover both themes, presets, fonts/shapes, custom colors, drag/resize/pop-out, persistence and Default restoration. New checks cover touching sections, protected scrolling borders, top-only ornaments, preview insets, removed divider and clipped custom header paint. All nine new screenshots were visually inspected.c4dbde137: compiled app startup and reload on desktop Chromium, phone Chromium and phone WebKit. 7/7 shell smoke passed onc4dbde137; the required hosted validation also passed.marinara-7049-polish:c4dbde137built and ran for full SHAc4dbde13727cbfddecd8e41e5b8019c3ece3cf38. Image ID:sha256:d68e4b4ee086673bce394d69af4c83e684bcf16a420e377f4ff2261cd80ce4bf. Health and baked commit/branch matched; root HTML, both multiplayer guest assets, tutorial video and both widget SVGs returned HTTP 200 with the expected content types. The temporary container was removed.1cfc3f22, full floating-window regression passed 1/1, with focused browser cases 4 passed / 5 intentional device skips for desktop trackers and phone Assets. At10d779674, focused layout/mobile Help passed 30 cases / 18 device-specific skips, and Roleplay command edits/whispers/continue passed 12/12. At7f4e6ae98, introduction and Characters-sidebar coverage passed 16 cases / 2 intentional skips; the video decoded and played in all three browser projects. Earlier focused cases cover migration, favorites/profile precedence, pins, keyboard bounds, timestamps and Search help.1cfc3f22(completed hosted job); its merge candidate had the same source tree. This confirms the whitespace-tolerant CSS fallback assertion repair. Finalc4dbde137full Linux lane also passed 505/505, zero failed (completed final job). The tested merge candidatefc85718269af8c337143d785697ad7997a1b8424and the final head share tree0ed0d43559a7d14f36feb74c317549c7294b415e. Local macOS limitation below.c4dbde137follow-up reviewed all seven changed files with zero findings. Previous reviews covered all 17 widget files at8f0d42d18and all six review-fix files at1cfc3f22, both with zero findings. Earlier valid touch-click/test-cleanup findings were fixed. Documentation review covered all 38 files; its minor wording finding and two hosted reference corrections were fixed.3dd2cd90d: 147 selected files, with 13 reporting no reviewable changes. Eight minor/trivial comments: four fixed, four received code-based dispositions; all eight threads resolved. The1cfc3f22incremental review completed all six changed files with zero new actionable findings. Finalc4dbde137incremental review completed all seven changed files with zero actionable comments (run95d77257-0fa7-4faf-8ab9-491a8efa09eb, completed 2026-10-04 20:39 UTC). All review threads remain resolved.The companion split preserves review coverage: documentation in #7057 and the independent Characters-sidebar fix in #7058 received their own normal review and are merged to staging. This branch incorporates that base. The current implementation diff contains 152 files; all source files are eligible under the existing review filters. The full 3dd review covered its 147 selected source files, and later changed files receive incremental review. The two SVG ornaments and bundled video are filtered assets under the unchanged configuration. Both SVGs were included in the completed 17-file local review; all three assets were covered by browser/visual and container checks. No excluded-path configuration or skipped run is counted as completed review.
Review dispositions: measured button size already drives placement and clamping; fixture extraction and package-window consolidation were optional refactors; the repeated Game helper call only allocates a React element and has no duplicated effects. Reset guidance, Mari navigation text, Assets action locator and tracker test opener were corrected. The top-center issue warning is superseded by the maintainer's top-right request. The alleged unrelated Game logic is byte-identical to staging; PresetEditor's Escape handling keeps its nested menu from closing Chat Settings. CodeRabbit's auxiliary docstring tool was inconclusive because of its own file limit, and its Biome parser did not accept existing Tailwind directives; neither is presented as a passing tool result.
Earlier review dispositions remain unchanged: branch-deletion cleanup, the Summary model guard and draft deletion were traced to pre-existing code; the suggested favorite-button subscription optimization was unnecessary because live dragging stays in component state until drop. The maintainer-provided introduction paragraph was retained after a copy-style suggestion, with the requested spelling corrections.
Local macOS limitation:
decision-sidecar-runtime.regression.tsreturnsunsupportedwhere its disk-space assertion expectsnot_enough_disk. The test and Decision runtime were byte-identical to staging8c96996d73a8edd96db0e30168e1fa64eeb99c28when traced. This known local limitation is not a passing check and does not replace the final hosted Linux result; both the preceding1cfc3f22and finalc4dbde137Linux runs passed all 505 cases.pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Automated browser proof uses desktop Chromium at 1440 × 900, Pixel-sized Chromium and iPhone-sized WebKit. Screenshots were visually inspected in addition to checking computed styles and interactions. Physical phones and their native keyboard/browser chrome have not been verified.
Manual checks for the reviewer:
Docs and release impact
The documentation companion #7057 explains Chat Settings, drawers, pop-outs, favorites, profiles, phone controls and theming hooks. Widget appearance guidance and release notes are updated with the implementation. #7054 tracks translated documentation and FAQ changes. No version bump is included.
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence
Inspected before/after gallery: 25 inspected PNGs at immutable URLs, with every downloaded image verified against its local SHA-256 hash. The original 16 images and their provenance are preserved. Nine new polish images were captured from the frozen working tree immediately before commit
c4dbde13727cbfddecd8e41e5b8019c3ece3cf38, with no intervening source edits. The seven earlier8f0d42d18widget images are pre-polish historical evidence.All screenshots use synthetic data. The historical before images show preserved staging
45f13f16fe6fd503a70ce5f133b7afde40464bd7, not current staging; the layout/Tracker/Help images show10d77967476c18d4f875a58a8b0fc1a3741f61ba, and the introduction/New Folder images show7f4e6ae98ffe65661b1a6b1c3f3e2c20fa34c50f. Phone images use browser emulation, not physical devices.View final polished widgets, scrolling borders and Appearance previews
Polished: Dottore, desktop dark mode
Polished: Mari, desktop dark mode
Polished: Dottore, desktop light mode
Polished: Mari, desktop light mode
Polished: Dottore, phone dark mode
Polished: Mari, phone light mode
Polished: Appearance preview title and close-icon padding
Polished: Dottore scrolling content stays inside the frame
Polished: Mari scrolling content stays inside the frame
View earlier widget screenshots (8f revision, before final polish)
After: Dottore chat widgets, desktop dark mode
After: Mari chat widgets, desktop dark mode
After: Dottore chat widgets, desktop light mode
After: Mari chat widgets, desktop light mode
After: Dottore chat widgets, phone dark mode
After: Mari chat widgets, phone light mode
After: readable preset cards in the narrow Appearance sidebar
View the before and after screenshots
Before: desktop Roleplay toolbar, dark mode
Before: mobile Roleplay More options menu, dark mode
After: Chat Settings at top right, collapsed Search, layout star and dismissible tips
After: Tracker Panel and Agent activity, dark mode
After: Tracker Panel and Agent activity, light mode
After: mobile Chat Settings Help icon guide, scrolled to the final item
After: one-time chat introduction, desktop light mode
After: one-time chat introduction, phone dark mode
After: full-width New Folder in the Characters sidebar
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.