mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #314] [MERGED] fix(noodle): honour the bottom safe area only on WebKit (1.0.7) #906
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#906
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-Agents/pull/314
Author: @Gunterlie
Created: 8/12/2026
Status: ✅ Merged
Merged: 8/12/2026
Merged by: @Gunterlie
Base:
staging← Head:fix/noodle-android-safe-area📝 Commits (1)
6391b13fix(noodle): honour the bottom safe area only on WebKit (1.0.7)📊 Changes
8 files changed (+96 additions, -52 deletions)
View changed files
➕
artifacts/noodle-1.0.7.zip(+0 -0)📝
catalog/catalog.json(+7 -7)📝
catalog/v2/catalog.json(+7 -7)📝
catalog/v3/catalog.json(+7 -7)📝
packages/noodle/client.js(+24 -24)📝
packages/noodle/manifest.json(+3 -3)📝
packages/noodle/src/engine/packages/client/src/components/noodle/NoodleShell.tsx(+47 -3)📝
scripts/build-feature-packages.mjs(+1 -1)📄 Description
Linked issue
Closes #313
Why this change
viewport-fit=cover, soenv(safe-area-inset-bottom)also reports the Android system navigation bar (about 48px with the 3-button bar).AppShellspaces only the top safe area (h-[env(safe-area-inset-top)]), so nothing else reserves the bottom inset for the Noodle panel. Removing the inset outright would hide the nav under the home indicator on iOS, so the shell gates it by engine instead.What changed
packages/noodle/src/engine/packages/client/src/components/noodle/NoodleShell.tsx: newBOTTOM_SAFE_INSETconstant,env(safe-area-inset-bottom)whenCSS.supports("-webkit-touch-callout", "none")and0pxotherwise. The mobile<nav>, the<main>scroll reserve, and the mobile drawer read that constant instead of usingenv()unconditionally.useWideShell()keeps the<main>reserve off the >=1024px layout, where the bottom nav is hidden. Both simplifications carryponytail:comments (the WebKit check is a sniff; the media query stands in for the@containerbreakpoint).scripts/build-feature-packages.mjs: Noodle version 1.0.6 → 1.0.7.packages/noodle/manifest.json,packages/noodle/client.js,catalog/catalog.json,catalog/v2/catalog.json,catalog/v3/catalog.json,artifacts/noodle-1.0.7.zip.Package and security impact
noodleengine.minstays 2.4.2 and the lane routing is unchanged (v2=32, v3=32)Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
node scripts/build-feature-packages.mjs noodle, thennode scripts/test-catalog-lanes.mjs,node scripts/validate-package-locales.mjs,node scripts/validate-catalog.mjs, andgit diff --check. All passed.packages/noodle/client.jskeeps exactly oneenv(safe-area-inset-bottom)use, and that it comes from the shared EngineModalfullscreen sheet, which is flush with the viewport and correct.env(safe-area-inset-bottom)is a diagnosis from the report plus the viewport meta, not a measurement. Still to check on devices: Android Firefox (the reported device) and Android Chrome show no strip below the nav and the last timeline post scrolls clear of the bar; iOS Safari keeps the nav clear of the home indicator; desktop >=1024px is unchanged with the bottom nav hidden and no reserved gap.Documentation impact
UI evidence (if applicable)
No device screenshots available. The reporter's Android screenshot is attached to #313.
Follow-up
The Engine's own
packages/client/src/components/noodle/NoodleShell.tsxsnapshot carries the same unconditional insets and needs the same change in the Engine repo, so a build without the package installed behaves the same.Summary by CodeRabbit
Bug Fixes
Improvements
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.