mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1188] [MERGED] fix(noodle): camera for post pictures, translate posts and comments (1.4.0) #1336
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#1336
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/1188
Author: @SpicyMarinara
Created: 10/1/2026
Status: ✅ Merged
Merged: 10/2/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/noodle-camera-translate📝 Commits (8)
38c4585fix(noodle): offer the camera when adding a picture on Android0d74f78feat(noodle): translate posts and comments7fcee87docs(noodle): describe Noodle in plain wordsdad1260chore(noodle): release 1.4.04442c35fix(noodle): ignore late translation answers after a hide69d4b51Merge remote-tracking branch 'origin/staging' into fix/noodle-camera-translateb18f31adocs(noodle): say the camera option is for Chrome on Androidc359b0aMerge remote-tracking branch 'origin/staging' into fix/noodle-camera-translate📊 Changes
22 files changed (+640 additions, -277 deletions)
View changed files
📝
README.md(+1 -1)➕
artifacts/noodle-1.4.0.zip(+0 -0)📝
catalog/catalog.json(+11 -11)📝
catalog/notes.json(+6 -0)📝
catalog/v2/catalog.json(+11 -11)📝
catalog/v2/notes.json(+6 -0)📝
catalog/v3/catalog.json(+11 -11)📝
catalog/v3/notes.json(+6 -0)📝
packages/noodle/CHANGELOG.md(+6 -0)📝
packages/noodle/README.md(+2 -0)📝
packages/noodle/agents.json(+1 -1)📝
packages/noodle/client.js(+22 -21)📝
packages/noodle/locales/en.json(+2 -2)📝
packages/noodle/manifest.json(+8 -8)📝
packages/noodle/server.mjs(+205 -201)📝
packages/noodle/src/engine/packages/client/src/components/noodle/NoodleHome.tsx(+9 -3)📝
packages/noodle/src/engine/packages/client/src/components/noodle/NoodleImageComposer.tsx(+6 -0)📝
packages/noodle/src/engine/packages/client/src/components/noodle/NoodlePostCard.tsx(+67 -2)➕
packages/noodle/src/engine/packages/client/src/components/noodle/noodle-translation.ts(+87 -0)📝
packages/noodle/src/engine/packages/client/src/localization/locales/en.json(+6 -0)...and 2 more files
📄 Description
Pull request
Linked issue
Closes #1189. Fixes Pasta-Devs/Marinara-Engine#6939 and Pasta-Devs/Marinara-Engine#6940. The description change is part of #1187.
Why this change
accept="image/*", but on Android 13+ Chrome opens its photo picker for image-only inputs, and that picker has no camera.What changed
image/*,android/allowCamera. Chrome then shows the chooser with Camera and Files, and Files still lists only images. I checked this against Chromium'sSelectFileDialog.java. Aponytail:comment explains the trick and the fallback, a separate "Take photo" button./api/translate, so no Engine change is needed.Package and security impact
noodleValidation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
What I ran (not a replacement for the checklist):
New browser tests in
tests/package-noodle.e2e.ts:acceptvalues;Other package checks pass:
npm run check,typecheck:packages,test:security, the catalog and locale validators, the release-note tests andgit diff --check. A second rebuild is byte-identical.Noodle source regressions: five fail on clean
stagingtoo, and the same five fail here. "Latest Posts" fails in CI onstagingas well, because the Engine's widget dialog now folds Noodle's widgets away.Local CodeRabbit: two rounds. Round 1 found a race: a late translation answer or error could overwrite a newer one after Hide. It's fixed with a per-request token, and a new e2e test failed before the fix. Round 2 noted the release notes promised the camera on every Android phone; they now say Chrome on Android, since the app's WebView is #6953.
Staging merged: after merging staging (LTM 1.3.35/1.3.36), the Noodle rebuild changed nothing, and the catalog checks pass.
To check by hand:
Known gap: the Marinara Android app's WebView never offers a camera, for Noodle or chats. That's Engine code (
MainActivity.javaonShowFileChooser), tracked in Pasta-Devs/Marinara-Engine#6953.Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.