mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7806] [MERGED] feat(chat): let the Author's Notes text box grow with its window #7934
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#7934
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/7806
Author: @SpicyMarinara
Created: 10/19/2026
Status: ✅ Merged
Merged: 10/19/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/7788-authors-note-resize📝 Commits (1)
cb1e6c6feat(chat): let the Author's Notes text box grow with its window📊 Changes
5 files changed (+46 additions, -6 deletions)
View changed files
📝
packages/client/src/components/chat/ChatRoleplayPanels.tsx(+2 -2)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+1 -0)📝
packages/client/src/components/ui/Drawer.tsx(+18 -4)📝
packages/client/src/features/chat-settings/ChatSettingsSection.tsx(+4 -0)📝
scripts/regressions/floating-window.regression.ts(+21 -0)📄 Description
Linked issue
Closes #7788
Why this change
resize-none(left over from when it was a small popover), so it could not be dragged taller either.What changed
Drawergains an opt-infillprop. When the drawer is popped out, the drawer and its body become a flex column that fills the window. On a phone, the sheet takes the full screen height (the existingPHONE_FULL_SHEET_CLASS). Withoutfill, every other drawer stays exactly as before.ChatSettingsSectionpassesfillthrough, and only the Author's Notes section sets it.AuthorNotesPanel, the text box wrapper is a flex column and the text box isflex-auto, so it grows with the popped-out window. It keeps a 6rem minimum (about the old four rows) before the window starts scrolling.resize-noneis removed, so the docked text box gets the normal vertical resize handle on desktop.scripts/regressions/floating-window.regression.tsnow checks thefillwiring, the Author's Notes opt-in and that the text box is no longerresize-none.Validation
pnpm checkpasses locallyCONTRIBUTING.mdCommands run by the agent:
pnpm check: passed (exit 0). The only output is an existing lint warning inHomeProfessorMariChat.tsx, which this PR does not touch.pnpm build:shared && node ./scripts/run-regressions.mjs --filter floating-window: 1/1 passed.pnpm localization:check: passed (no copy changes).prettier --checkon the changed files: clean.Manual verification notes
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)No docs changes: this changes how the text box sizes, not a documented behaviour.
UI evidence (if applicable)
Not captured by the agent; see the manual verification list.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.