mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8795] [MERGED] soup/ Phone bottom sheets for dialogs and menus #8810
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#8810
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/8795
Author: @Gunterlie
Created: 11/3/2026
Status: ✅ Merged
Merged: 11/6/2026
Merged by: @Gunterlie
Base:
staging← Head:oh-sheet-waddup📝 Commits (10+)
7aab3c0feat(client): bottom sheets for phone dialogs and menusd51192afix(client): action-sheet dim layer catches the outside tap4120f49fix(client): blur behind the action sheet so rows stay readabled640e20Merge remote-tracking branch 'origin/staging' into oh-sheet-waddupe7e31d9fix(client): dialog main action first in DOM; document Modal as the phone sheet9747663feat(client): pull-to-close phone sheets, sheet header and sticky footerd7482ccfix(client): review sheet has no X on phones, Stop generating label, discard guard on Create Characterce8d40bfeat(client): restyle phone sheets to the sheet rulesb8eb58bfix(client): sheet review pass - no X with Cancel, no pull on confirms, red deletes, verb+object labels66ab0b7fix(client): sheet delete buttons use the Settings danger style📊 Changes
72 files changed (+2153 additions, -1841 deletions)
View changed files
📝
packages/client/.instructions.md(+2 -0)📝
packages/client/src/components/agents/AgentUpdateDialog.tsx(+43 -49)📝
packages/client/src/components/bot-browser/BotBrowserView.tsx(+33 -30)📝
packages/client/src/components/characters/CharacterBulkTagsModal.tsx(+39 -36)📝
packages/client/src/components/characters/CharacterEditor.tsx(+46 -50)📝
packages/client/src/components/characters/CharacterOnboardingModal.tsx(+38 -47)📝
packages/client/src/components/characters/CharacterPickerList.tsx(+1 -1)📝
packages/client/src/components/characters/CharacterSelect.tsx(+6 -6)📝
packages/client/src/components/characters/DescriptionSplitDialog.tsx(+40 -34)📝
packages/client/src/components/chat/AgentSuiteModal.tsx(+51 -44)📝
packages/client/src/components/chat/CharacterScheduleEditorModal.tsx(+96 -96)📝
packages/client/src/components/chat/CharacterScheduleManagerModal.tsx(+13 -13)📝
packages/client/src/components/chat/ChatArea.tsx(+16 -19)📝
packages/client/src/components/chat/ChatCharacterDropOptions.tsx(+12 -19)📝
packages/client/src/components/chat/ChatCommonOverlays.tsx(+51 -32)📝
packages/client/src/components/chat/ChatModeSelectorModal.tsx(+4 -2)📝
packages/client/src/components/chat/ChatProfileBuilder.tsx(+15 -16)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+50 -50)📝
packages/client/src/components/chat/ConversationTimeZoneSelect.tsx(+4 -4)📝
packages/client/src/components/chat/HomeBrowserHub.tsx(+16 -11)...and 52 more files
📄 Description
Why
On phones, dialogs float as small centred cards and menus open as tiny popovers near the finger. Buttons are small and out of thumb reach, text inside sheets is often under 13px, and many tap targets are 30px or less. Bottom sheets are the native phone pattern for short tasks, and one set of sheet rules makes every dialog behave the same way.
No linked issue: planned S.O.U.P. polish work. The branch ran on the maintainer's production install for phone testing during development.
What changed
Shared sheet (phones, below 640px; desktop unchanged)
Modalslides up from the bottom as a sheet with rounded top, safe-area padding and a stickyfooterslot (main action first, stacked). Full-screen (mobileFullscreen), modeless and drag-through modals keep their shape.pullToClose, default on) with a grab handle only where a pull closes: menus, pickers, info and forms. Confirms, reviews and running tools have no handle and no pull.closeDisabledblocks closing while a job runs.ContextMenuopens as an action sheet on touch phones (pointer: coarse) with 48px rows.AppDialogRendererconfirms/prompts/alerts stack full-width with the main action on top.neutral-surface-styles.ts(SHEET_BUTTON_PRIMARY / SECONDARY / DESTRUCTIVE / QUIET,SHEET_CHOICE_*). Deletes use the Settings danger style (mari-chrome-control--danger).AboutMeViewerModal,CharacterSelect) moved onto the shared one.Sheet rules applied to about 100 modals
.mari-chrome-control(unlayered CSS) overrides Tailwind utilities, the phone classes usemax-sm:!variants.Not changed on purpose
PHONE_SHEET_CLASS(Drawer, GameMap, GamePartyBar) drops from the top bar and stays a panel.ModelRowand friends) are left as they are.Validation
tsc --noEmit -p packages/clientpasses after merging the lateststaging.pnpm localization:checkpasses.<Modal>callers opened at 390px (dark, some light) and 1440px, judged against the sheet rules, then the failing sheets re-checked after each fix round. Desktop 1440px shots matched the earlier ones.pnpm check, regression and smoke suites (left to CI).Manual verification
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.