[PR #3888] [MERGED] feat(noodle): NoodleR shell parity, pink theming, and feed interactions (Slice 6b) #6142

Closed
opened 2026-10-23 04:07:29 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3888
Author: @Gunterlie
Created: 7/21/2026
Status: ✅ Merged
Merged: 7/21/2026
Merged by: @SpicyMarinara

Base: staging ← Head: noodl-split-6b-shell-feed-interactions


📝 Commits (10+)

  • c748497 feat(noodle): render NoodleR inside the browser-chrome frame
  • fd86d75 fix(noodle): keep shell nav inside NoodleR context
  • e1f3761 feat(noodle): add an interaction model for private posts
  • b789836 feat(noodle): merge NoodleR's feed and wire up like/reply/repost
  • 800deda feat(noodle): make NoodleR a peer view of Noodle, not a back-arrow sub-page
  • 7ae5206 fix(noodle): make sidebar Home/NoodleR bidirectional peer navigation
  • 2dc02ca refactor(noodle): extract shared NoodlePostCard from NoodleHome
  • 5346340 feat(noodle): render NoodleR posts with Noodle's real PostCard
  • a4b9975 feat(noodle): drop NoodleR viewer-persona selector
  • 14ed481 feat(noodle): move stage-profile entry to the right rail

📊 Changes

14 files changed (+4927 additions, -3395 deletions)

View changed files

📝 docs/noodle/settings.md (+3 -3)
➕ packages/client/public/noodler-klusek.png (+0 -0)
📝 packages/client/src/components/noodle/GuidedPostModal.tsx (+4 -2)
📝 packages/client/src/components/noodle/NoodleHome.tsx (+3635 -3103)
📝 packages/client/src/components/noodle/NoodleShell.tsx (+128 -45)
📝 packages/client/src/components/noodle/NoodleView.tsx (+3 -3)
📝 packages/client/src/components/noodle/NoodlerHome.tsx (+730 -154)
📝 packages/client/src/components/noodle/noodle-navigation.types.ts (+1 -0)
📝 packages/client/src/hooks/use-noodle.ts (+51 -2)
📝 packages/client/src/stores/ui.store.ts (+10 -0)
📝 packages/server/src/routes/noodle.routes.ts (+114 -7)
📝 packages/server/src/services/storage/noodle.storage.ts (+210 -76)
📝 packages/shared/src/schemas/noodle.schema.ts (+37 -0)
📝 packages/shared/src/types/noodle.ts (+1 -0)

📄 Description

Linked issue

Closes #3874

Why this change

This is Slice 6b of the NoodleR rollout (noodl-split-6b-shell-feed-interactions, branched from staging after Slices 1A-6 landed: #3744, #3751, #3759, #3782, #3795, #3830, #3856). #3874 catalogued gaps discovered after Slice 6 — NoodleR reused Noodle's shell/components structurally but wasn't actually behaving or looking like Noodle: no browser-chrome frame, nav left NoodleR entirely on tap, and the composer/post surfaces were parallel hand-built UI instead of the real reused components.

While closing those gaps we found NoodleR also wasn't visually a "pink Noodle" at all — almost every reused element (post button, active tabs, Subscribe, links, active nav, tool icons) was still rendering Noodle's blue accent, and the composer/post-menu gaps traced back to the same root cause (parallel components instead of real reuse). We went a bit further than the original issue scope to fix full UI parity while we were in this code, rather than leave a half-pink NoodleR:

  • Fixed the actual theming mechanism (a single CSS var, --noodle-blue, overridden once at the shell container) rather than patching individual blue elements — the root-cause fix.
  • Removed the last parallel-built composer bits (persona dropdown, PUBLIC/Subscribers/PPV toggle bar) and reused Noodle's real composer icon row, adding a pink coin icon for monetization settings.
  • Wired the three-dot post menu (edit/delete) since NoodleR is a roleplay sandbox where the user owns every stage profile.
  • Fixed the "Manage profiles" sub-page losing its right sidebar and keeping a stray back-arrow header inconsistent with the now-flattened nav.
  • During a follow-up review pass, found BrowserChrome's mobile-viewport default URL (noodle.marinara.local/home) didn't match its desktop-viewport default URL (noodle.local) — the mock browser chrome showed a different fake host depending on screen size. Fixed to keep both viewports consistent.

What changed

  • theme(noodle): drive NoodleR accent to pink via container override — NoodleShell takes an accent prop + provides NoodleAccentContext; NoodlerHome passes pink. Every reused surface inherits it through the one CSS variable; only the few spots that portal outside the shell's CSS scope (composer popovers, guided-post modal, access modal) needed to read the accent explicitly.
  • feat(noodle): reuse Noodle's composer icon row in NoodleR with a coin popover — extracted Noodle's real toolbar (NoodleComposerToolRow); NoodleR drops the persona-picker dropdown and toggle bar, adds a pink coin icon whose popover holds visibility + PPV price. Image/poll render disabled (no attach path in the private-generation schema); emoji is wired to the shared picker. Avatar comes free from the reused shell.
  • feat(noodle): let NoodleR posts use Noodle's edit/delete overflow menu — wired real edit/delete handlers through the shared /noodle/posts endpoints; enabled the three-dot menu that was previously hard-disabled.
  • fix(noodle): keep NoodleR manage-profiles in the full shell, add refresh — manage-profiles now shares the feed's right rail and drops the lone back-arrow header; added the "Refresh timeline" button above the feed to match Noodle's placement.
  • fix(noodle): align mobile BrowserChrome default URL host with desktop default — mobileUrl default changed from noodle.marinara.local/home to noodle.local/home so the mock chrome's host matches across viewports; mobile path (/home) and every other prop unchanged.

Validation

  • pnpm check passes locally (ran after each commit, including the BrowserChrome host fix)
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

Not yet verified in a real browser — this sandbox can't launch one (chrome-headless-shell fails to load libnspr4.so, a missing system library, confirmed unrelated to this diff by isolated re-run of the same failing smoke tests on main). What did run clean: pnpm check, pnpm guard:installer-artifacts, and pnpm regression:noodle after every commit, including the BrowserChrome fix.

Still needs a human pass before this leaves draft:

  • Confirm NoodleR is pink throughout: post button, active tabs, Subscribe, links, active nav item, tool icons
  • Coin popover sets visibility/PPV correctly; default (no interaction) posts Public
  • Emoji picker inserts into the composer direction text; image/poll icons render disabled, not broken
  • Three-dot Edit/Delete works on NoodleR posts
  • Manage-profiles shows both sidebars, no back-arrow header; Refresh timeline button appears above the feed and matches Noodle's placement
  • BrowserChrome shows the same host on mobile and desktop viewports (noodle.local)
  • Light + dark mode, mobile viewport

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

Not yet captured — pending the manual browser pass above.


Title is prefixed TESTING: at the requester's explicit instruction, and this PR is opened as draft — not ready for review/merge until the manual verification checklist above is completed.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/3888 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 7/21/2026 **Status:** ✅ Merged **Merged:** 7/21/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `noodl-split-6b-shell-feed-interactions` --- ### 📝 Commits (10+) - [`c748497`](https://github.com/Pasta-Devs/Marinara-Engine/commit/c7484976f5bb9c470a916b95692622d6a8b47b53) feat(noodle): render NoodleR inside the browser-chrome frame - [`fd86d75`](https://github.com/Pasta-Devs/Marinara-Engine/commit/fd86d75cb566df05f119f95ae29b7b8ebefa35ed) fix(noodle): keep shell nav inside NoodleR context - [`e1f3761`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e1f37613ab8c2663dba8bc82ab64f7f409e17435) feat(noodle): add an interaction model for private posts - [`b789836`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b7898369f7ac2567c5fdf4a3159604da318d4e1f) feat(noodle): merge NoodleR's feed and wire up like/reply/repost - [`800deda`](https://github.com/Pasta-Devs/Marinara-Engine/commit/800dedaf51a66ff57a0e3e676947fe8113dfaa03) feat(noodle): make NoodleR a peer view of Noodle, not a back-arrow sub-page - [`7ae5206`](https://github.com/Pasta-Devs/Marinara-Engine/commit/7ae5206482192ebfd786d8de57dfdf6d11a96763) fix(noodle): make sidebar Home/NoodleR bidirectional peer navigation - [`2dc02ca`](https://github.com/Pasta-Devs/Marinara-Engine/commit/2dc02cad7c564fb338a5a8c3a9aa8d77257fbe67) refactor(noodle): extract shared NoodlePostCard from NoodleHome - [`5346340`](https://github.com/Pasta-Devs/Marinara-Engine/commit/5346340ec0446fac9630acee1b0a3ab2ac6ce7b4) feat(noodle): render NoodleR posts with Noodle's real PostCard - [`a4b9975`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a4b9975645466c63951e70f707fce30206eff732) feat(noodle): drop NoodleR viewer-persona selector - [`14ed481`](https://github.com/Pasta-Devs/Marinara-Engine/commit/14ed4817a09be9097b9a36d165246de496448028) feat(noodle): move stage-profile entry to the right rail ### 📊 Changes **14 files changed** (+4927 additions, -3395 deletions) <details> <summary>View changed files</summary> 📝 `docs/noodle/settings.md` (+3 -3) ➕ `packages/client/public/noodler-klusek.png` (+0 -0) 📝 `packages/client/src/components/noodle/GuidedPostModal.tsx` (+4 -2) 📝 `packages/client/src/components/noodle/NoodleHome.tsx` (+3635 -3103) 📝 `packages/client/src/components/noodle/NoodleShell.tsx` (+128 -45) 📝 `packages/client/src/components/noodle/NoodleView.tsx` (+3 -3) 📝 `packages/client/src/components/noodle/NoodlerHome.tsx` (+730 -154) 📝 `packages/client/src/components/noodle/noodle-navigation.types.ts` (+1 -0) 📝 `packages/client/src/hooks/use-noodle.ts` (+51 -2) 📝 `packages/client/src/stores/ui.store.ts` (+10 -0) 📝 `packages/server/src/routes/noodle.routes.ts` (+114 -7) 📝 `packages/server/src/services/storage/noodle.storage.ts` (+210 -76) 📝 `packages/shared/src/schemas/noodle.schema.ts` (+37 -0) 📝 `packages/shared/src/types/noodle.ts` (+1 -0) </details> ### 📄 Description <!-- Target branch: `staging`. --> ## Linked issue Closes #3874 ## Why this change This is **Slice 6b** of the NoodleR rollout (`noodl-split-6b-shell-feed-interactions`, branched from `staging` after Slices 1A-6 landed: #3744, #3751, #3759, #3782, #3795, #3830, #3856). #3874 catalogued gaps discovered after Slice 6 — NoodleR reused Noodle's shell/components structurally but wasn't actually behaving or looking like Noodle: no browser-chrome frame, nav left NoodleR entirely on tap, and the composer/post surfaces were parallel hand-built UI instead of the real reused components. While closing those gaps we found NoodleR also wasn't visually a "pink Noodle" at all — almost every reused element (post button, active tabs, Subscribe, links, active nav, tool icons) was still rendering Noodle's blue accent, and the composer/post-menu gaps traced back to the same root cause (parallel components instead of real reuse). We went a bit further than the original issue scope to fix full UI parity while we were in this code, rather than leave a half-pink NoodleR: - Fixed the actual theming *mechanism* (a single CSS var, `--noodle-blue`, overridden once at the shell container) rather than patching individual blue elements — the root-cause fix. - Removed the last parallel-built composer bits (persona dropdown, PUBLIC/Subscribers/PPV toggle bar) and reused Noodle's real composer icon row, adding a pink coin icon for monetization settings. - Wired the three-dot post menu (edit/delete) since NoodleR is a roleplay sandbox where the user owns every stage profile. - Fixed the "Manage profiles" sub-page losing its right sidebar and keeping a stray back-arrow header inconsistent with the now-flattened nav. - During a follow-up review pass, found `BrowserChrome`'s mobile-viewport default URL (`noodle.marinara.local/home`) didn't match its desktop-viewport default URL (`noodle.local`) — the mock browser chrome showed a different fake host depending on screen size. Fixed to keep both viewports consistent. ## What changed - `theme(noodle): drive NoodleR accent to pink via container override` — `NoodleShell` takes an `accent` prop + provides `NoodleAccentContext`; NoodlerHome passes pink. Every reused surface inherits it through the one CSS variable; only the few spots that portal outside the shell's CSS scope (composer popovers, guided-post modal, access modal) needed to read the accent explicitly. - `feat(noodle): reuse Noodle's composer icon row in NoodleR with a coin popover` — extracted Noodle's real toolbar (`NoodleComposerToolRow`); NoodleR drops the persona-picker dropdown and toggle bar, adds a pink coin icon whose popover holds visibility + PPV price. Image/poll render disabled (no attach path in the private-generation schema); emoji is wired to the shared picker. Avatar comes free from the reused shell. - `feat(noodle): let NoodleR posts use Noodle's edit/delete overflow menu` — wired real edit/delete handlers through the shared `/noodle/posts` endpoints; enabled the three-dot menu that was previously hard-disabled. - `fix(noodle): keep NoodleR manage-profiles in the full shell, add refresh` — manage-profiles now shares the feed's right rail and drops the lone back-arrow header; added the "Refresh timeline" button above the feed to match Noodle's placement. - `fix(noodle): align mobile BrowserChrome default URL host with desktop default` — `mobileUrl` default changed from `noodle.marinara.local/home` to `noodle.local/home` so the mock chrome's host matches across viewports; mobile path (`/home`) and every other prop unchanged. ## Validation - [x] `pnpm check` passes locally (ran after each commit, including the `BrowserChrome` host fix) - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes Not yet verified in a real browser — this sandbox can't launch one (`chrome-headless-shell` fails to load `libnspr4.so`, a missing system library, confirmed unrelated to this diff by isolated re-run of the same failing smoke tests on `main`). What *did* run clean: `pnpm check`, `pnpm guard:installer-artifacts`, and `pnpm regression:noodle` after every commit, including the `BrowserChrome` fix. **Still needs a human pass before this leaves draft:** - [ ] Confirm NoodleR is pink throughout: post button, active tabs, Subscribe, links, active nav item, tool icons - [ ] Coin popover sets visibility/PPV correctly; default (no interaction) posts Public - [ ] Emoji picker inserts into the composer direction text; image/poll icons render disabled, not broken - [ ] Three-dot Edit/Delete works on NoodleR posts - [ ] Manage-profiles shows both sidebars, no back-arrow header; Refresh timeline button appears above the feed and matches Noodle's placement - [ ] `BrowserChrome` shows the same host on mobile and desktop viewports (`noodle.local`) - [ ] Light + dark mode, mobile viewport ## Docs and release impact - [x] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) Not yet captured — pending the manual browser pass above. --- Title is prefixed `TESTING:` at the requester's explicit instruction, and this PR is opened as **draft** — not ready for review/merge until the manual verification checklist above is completed. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:07:29 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#6142
No description provided.