mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7398] [MERGED] Add Professor Mari window height slider #7716
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#7716
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/7398
Author: @Gunterlie
Created: 10/10/2026
Status: ✅ Merged
Merged: 10/10/2026
Merged by: @Gunterlie
Base:
staging← Head:a-tall-order-prof-mari📝 Commits (1)
9054e28Add Professor Mari window height preference📊 Changes
8 files changed (+182 additions, -5 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)➕
e2e/mari-window-height.e2e.ts(+113 -0)📝
packages/client/src/components/layout/GlobalOmnibar.tsx(+13 -4)📝
packages/client/src/components/layout/omnibar/OmnibarSettingsMenu.tsx(+22 -1)📝
packages/client/src/hooks/use-settings-sync.ts(+4 -0)📝
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(+18 -0)📄 Description
Linked issue
Closes #7397
Why this change
Professor Mari's new window needs a little more reading room on larger screens, and users should be able to choose its height with a single slider.
What changed
Validation
Observed on commit
9054e285a:heavy pnpm checkpassed after the final changes, including localization, formatting, TypeScript, lint and production builds. An existing HomeProfessorMariChat hook-dependency warning remains.heavy pnpm regression:ui e2e/mari-window-height.e2e.ts --project=desktop-chromium --project=mobile-chromium --workers=1: 2 passed. Covers default height, the existing minimum, maximum, keyboard controls, reload persistence, viewport fitting and shorter-desktop sizing.heavy pnpm smoke:ui: 7 passed.Local CodeRabbit found an ineffective slider on shorter desktop screens in the first review. Fixed the viewport cap and added regression proof. The follow-up returned no new findings, with a warning about the stored prior finding; that prior finding is addressed by the final code and browser test.
Mobile WebKit could not launch locally because this host lacks WebKit runtime libraries; this coverage is unverified locally.
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
Manually verify the default height and slider behavior in the browser, including minimum, maximum, persistence after reload and Search-to-Mari handoff. Verify populated conversations and phone keyboard behavior on a real device. Container execution and real-device testing were not performed locally.
Docs and release impact
Adds an Unreleased changelog entry. No version bump or user-documentation changes.
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
Automated screenshots were generated and visually inspected at 390px, 768px and 1440px, in default and SillyTavern themes, light and dark modes. The focused regression writes window and settings screenshots under
.tmp/mari-window-height/for reproduction. The local browser proof used Mari's empty/no-connection state.Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.