mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #682] [MERGED] fix(noodle): restore Load more counts and missing localization keys #1087
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#1087
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/682
Author: @Gunterlie
Created: 9/1/2026
Status: ✅ Merged
Merged: 9/1/2026
Merged by: @Gunterlie
Base:
staging← Head:fix/noodle-load-more-and-missing-locale-keys📝 Commits (1)
5e1cc8ffix(noodle): restore Load more counts and missing localization keys📊 Changes
11 files changed (+106 additions, -35 deletions)
View changed files
➕
artifacts/noodle-1.2.17.zip(+0 -0)📝
catalog/catalog.json(+6 -6)📝
catalog/v2/catalog.json(+6 -6)📝
catalog/v3/catalog.json(+6 -6)📝
packages/noodle/client.js(+8 -8)📝
packages/noodle/manifest.json(+3 -3)📝
packages/noodle/src/engine/packages/client/src/components/noodle/NoodleHome.tsx(+6 -3)📝
packages/noodle/src/engine/packages/client/src/localization/locales/en.json(+25 -1)📝
packages/noodle/src/engine/packages/client/src/localization/locales/ko.json(+22 -1)📝
scripts/build-feature-packages.mjs(+1 -1)📝
scripts/validate-package-locales.mjs(+23 -0)📄 Description
Pull request
Linked issue
Closes #678
Partially addresses #677 (Noodle half; the Slurp half is in #683)
Why this change
Load more ({{visible}} of {{total}}). The invite list was worse: raw placeholders and a leftover manual count concatenation from before the string moved into the catalog, rendering...{{total}})12 of 40)with an unmatched paren. Slurp already does this correctly, so this was Noodle-only drift.client.jswere absent from the package catalog — 10 of them every string inImagePromptReviewModal. That component lives incomponents/ui/in the Engine and is bundled into the package, but packages own their locale catalog, so a shared component ships with no strings at all.What changed
NoodleHome.tsx:3430— pass{ visible, total }; delete the stray concatenation line and its unmatched paren.NoodleHome.tsx:5247— the main feed is cursor-paged and has no total, so it now uses a new count-free keyui.noodle.noodlehome.loadMorePostsinstead of a key whose value expects counts.en.json+23 keys,ko.json+21. All values come from the Engine catalog; nothing needed translating. The Engine has node/plvalues for these either, so those fall back to English exactly as the Engine does.scripts/validate-package-locales.mjs— the 23 keys added toexactSharedKeys, following the existing precedent (that allowlist already carriesui.characters.charactercliptrimmodal.resetand two other Engine keys for the same reason).noodle1.2.16→1.2.17, with manifest,client.js,artifacts/noodle-1.2.17.zip, and all catalog lanes regenerated.Package and security impact
noodleengine.minandmaxExclusiveunchangedValidation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Boxes are left unticked deliberately, per
AGENTS.md: they are a human verification list, not an agent's self-report. What was actually run, and its result:npm run check— 0 errors, 68 warnings, all pre-existing in Slurp source this PR does not touch.node scripts/test-catalog-lanes.mjs— pass.node scripts/validate-package-locales.mjs— pass (en=1349, de=13, ko=955, pl=13).node scripts/validate-catalog.mjs— pass (v2=36, v3=36).scripts/build-feature-packages.mjs noodle; verified in the rebuilt bundle thatloadMorePostsresolves to"Load more"and both counted sites now emit{visible, total}.Not performed: no manual install, restart, or in-app UI check. The button and modal text were verified by inspecting the rebuilt bundle, not by running Marinara.
Pre-existing failures, unrelated to this PR:
noodle-all-invited-reliability,noodle-conversation-schedule,noodle-generated-refresh, andnoodle-novelai-v5-runtimefail withCannot find module '@marinara-engine/shared'. Confirmed identical on a cleanorigin/stagingworktree.Documentation impact
No documentation changes are needed: no catalog entry, package name, or user-facing guidance changed.
UI evidence (if applicable)
No screenshots — verified at the bundle level rather than in a running install, as noted above.
Notes for reviewers
How the missing keys were found: extracting
"ui.*"literals from the built bundle and diffing against the catalog. A plural-aware check matters —ui.noodle.noodlerwizard.createCountlooks missing but resolves throughcreateCount_one/_other, and was a false positive on the first pass.A validator automating this check ships with #683, because it only passes once both packages are fixed. #683 should merge after this one.
Still open for #677: the review modal's body sentence is assembled from six separate lookups with the plural "s" borrowed from
ui.noodle.stageprofileview.s. That is unlocalisable regardless of the keys, and it lives in Engine code rather than this repo, so it is out of scope here.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.