mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1379] [MERGED] fix(slurp2): 0.3.39 — full file browser for post pictures on Android #1425
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#1425
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/1379
Author: @Gunterlie
Created: 10/14/2026
Status: ✅ Merged
Merged: 10/14/2026
Merged by: @Gunterlie
Base:
staging← Head:fix/slurp-android-image-browse📝 Commits (2)
4413134fix(slurp2): 0.3.39 — full file browser for post pictures on Android (#1378)66334e3test(slurp2): make Android picker accept assertion independent of attribute order📊 Changes
16 files changed (+174 additions, -117 deletions)
View changed files
➕
artifacts/slurp2-0.3.39.zip(+0 -0)📝
catalog/catalog.json(+6 -6)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+6 -6)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+6 -6)📝
catalog/v3/notes.json(+6 -6)📝
packages/slurp2/CHANGELOG.md(+4 -0)📝
packages/slurp2/client.js(+71 -71)📝
packages/slurp2/manifest.json(+3 -3)📝
packages/slurp2/src/engine/packages/client/src/slp/app/screens/SlpScreenComposer.tsx(+8 -1)➕
packages/slurp2/src/engine/packages/client/src/slp/base/media/slp-media-accept.ts(+9 -0)📝
packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts(+7 -4)📝
packages/slurp2/src/engine/packages/client/src/slp/modules/post/SlpPostImageEditControls.tsx(+2 -1)📝
scripts/build-feature-packages.mjs(+1 -1)➕
tests/slurp2-android-image-picker.regression.ts(+33 -0)📄 Description
Pull request
Linked issue
Closes #1378
Why this change
acceptlists only image types with the system photo picker. Its Albums tab shows only a few albums (Camera, Screenshots, Downloads), so Android users cannot reach pictures in other folders when they attach a picture to a Slurp post.What changed
slpImageFileAccept()inpackages/slurp2/src/engine/packages/client/src/slp/base/media/slp-media-accept.ts: returnsundefinedon an Android user agent (noaccept, so Chrome offers its full chooser with the Files / document picker) and"image/*"everywhere else.SlpScreenComposer.tsx) and the post edit "Replace" input (SlpPostImageEditControls.tsx). Both change handlers already reject a non-image file with "Choose an image file.".0.3.38→0.3.39(patch): CHANGELOG entry and splash note. The 0.3.38 splash note is now one line soslp-release.tsstays at the 800-line architecture cap.tests/slurp2-android-image-picker.regression.ts(helper per user agent + both call sites + the non-image guard).packages/slurp2/client.js,packages/slurp2/manifest.json,artifacts/slurp2-0.3.39.zip,catalog/catalog.json,catalog/v2/catalog.json,catalog/v3/catalog.jsonand the matchingnotes.jsonfiles, rebuilt withnode scripts/build-feature-packages.mjs slurp2against a cleanorigin/stagingEngine worktree.Package and security impact
slurp2Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
44131341c, all green:node scripts/run-slurp-regressions.mjs(290/290 pass),npm run check,node scripts/test-catalog-lanes.mjs,node scripts/validate-package-locales.mjs,node scripts/validate-catalog.mjs,node scripts/tests/catalog-release-notes.regression.mjs,tests/slurp2-architecture.regression.ts,node scripts/typecheck-packages.mjs slurp2, and the new regression.slurp2-0.3.39.zipon a dev Engine (Docker) and drove the composer with Playwright (see Proof below).Documentation impact
UI evidence (if applicable)
No visual change: the button, sheet and layout are the same. Only the hidden file input's
acceptattribute changes on Android.Proof
Playwright against a dev Engine with Slurp 0.3.39 sideloaded, composer opened from the Creator profile:
<input type="file">acceptnull(attribute absent)"image/*""image/*""image/*"On the Android user agent: setting a
.txtfile showed "Choose an image file."; setting a PNG then attached it (preview with Crop / Replace / Remove) and cleared the error. Screenshots at 390, 768 and 1440 px showed the composer unchanged.Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.