mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3856] [MERGED] feat(noodle): add subscriptions and access controls #6130
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#6130
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-Engine/pull/3856
Author: @Gunterlie
Created: 7/20/2026
Status: ✅ Merged
Merged: 7/20/2026
Merged by: @SpicyMarinara
Base:
staging← Head:noodl-split-6-subscriptions-access📝 Commits (10+)
4f2da3dfeat(noodle): add subscriptions and access controls9e37a56feat(noodle): allow deleting NoodleR stage profiles87248aafeat(noodle): render NoodleR inside the shared Noodle shell94d73b8feat(noodle): drive NoodleR access rules by the global persona, not a preview togglebc12492docs(noodle): update settings guide for the removed Browse-as-persona togglef906a0cfeat(noodle): move stage profile subscriber access settings into a modal1e0dbc9Merge branch 'staging' into noodl-split-6-subscriptions-access5801695fix(noodle): close self-access and N+1 gaps in NoodleR subscriptionsfcbb4a1fix(noodle): make subscribe/unlockPost atomic and enforce hidden-viewer rules in storagea2ba850fix(noodle): give NoodleR a working mobile drawer trigger, trim shell API📊 Changes
16 files changed (+1895 additions, -570 deletions)
View changed files
📝
docs/noodle/settings.md(+17 -3)📝
packages/client/src/components/noodle/GuidedPostModal.tsx(+49 -4)📝
packages/client/src/components/noodle/NoodleHome.tsx(+73 -447)➕
packages/client/src/components/noodle/NoodleShell.tsx(+514 -0)📝
packages/client/src/components/noodle/NoodlerHome.tsx(+480 -74)📝
packages/client/src/hooks/use-noodle.ts(+77 -3)📝
packages/server/src/db/file-backed-store.ts(+18 -0)📝
packages/server/src/db/schema/noodle.ts(+25 -1)📝
packages/server/src/routes/noodle.routes.ts(+142 -0)📝
packages/server/src/services/noodle/noodle-private-generation.service.ts(+2 -0)➕
packages/server/src/services/noodle/noodler-access.ts(+16 -0)📝
packages/server/src/services/storage/noodle.storage.ts(+222 -10)📝
packages/shared/src/schemas/noodle.schema.ts(+43 -11)📝
packages/shared/src/types/noodle.ts(+51 -0)📝
scripts/regressions/noodle-prompt.regression.ts(+82 -1)📝
scripts/regressions/noodle-settings.regression.ts(+84 -16)📄 Description
Linked issue
Closes #3855
Why this change
NoodleR stage profiles (Slice 5) had no way to gate who can see a private post. Creators need subscriber-only and pay-per-view (PPV) post access, plus a way to hide a stage profile entirely from selected personas, before any fan-facing NoodleR experience can be built on top. Along the way, NoodleR was also found to render outside Noodle's shared navigation shell and to gate the access-controlled viewer behind a redundant local preview toggle instead of the app's existing global persona selection — both fixed here as prerequisites.
What changed
public,subscriber,ppv) with PPV price entry when guiding a post.NoodleShellfromNoodleHomeand mounted bothNoodleHomeandNoodlerHomeinside it, so NoodleR keeps Noodle's left nav, mobile drawer, and bottom nav instead of a standalone frame.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm check(workspace lint, TypeScript checks, and production builds) and thenoodle-settings/noodle-promptregression scripts, which cover idempotent subscribe/unlock, hidden-from-viewer filtering, and the public/subscriber/PPV access matrix (includingsubscriptionIncludesPpv)./noodler/viewer), not by the/noodler/accounts/:id/subscribeor/noodler/posts/:id/unlockendpoints themselves — a direct API call with your own persona id would currently succeed. Low severity (no real payment is processed, single-user local app) but flagging for reviewer judgment on whether it should block this PR.Docs and release impact
docs/noodle/settings.md) for the new subscriptions/access controls and the removed preview toggle.UI evidence (if applicable)
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.