Skip to content

Allow fan club text posts to be public (not members-only)#14058

Merged
dylanjeffers merged 1 commit intomainfrom
fan-club-public-posts
Apr 5, 2026
Merged

Allow fan club text posts to be public (not members-only)#14058
dylanjeffers merged 1 commit intomainfrom
fan-club-public-posts

Conversation

@dylanjeffers
Copy link
Copy Markdown
Contributor

Artists can now toggle the "Members Only" checkbox when creating fan club text posts. When unchecked, the post is visible to all users regardless of coin ownership. Existing fan club posts remain gated (is_members_only defaults to true for FanClub entity type in the indexer).

  • Add is_members_only column to comments table (default false for safety; indexer sets true explicitly for fan club posts)
  • Python indexer reads is_members_only from entity manager metadata
  • Go API includes is_members_only in FullComment and skips redaction for public posts
  • SDK and mutation layer pass isMembersOnly through create comment flow
  • Web: Checkbox is now toggleable (was checked+disabled)
  • Mobile: Added Switch toggle for Members Only
  • Both platforms show Members Only badge only when the post is gated
  • Tests for Go API (3 cases) and Python indexer (4 cases)

Artists can now toggle the "Members Only" checkbox when creating fan club
text posts. When unchecked, the post is visible to all users regardless
of coin ownership. Existing fan club posts remain gated (is_members_only
defaults to true for FanClub entity type in the indexer).

- Add is_members_only column to comments table (default false for safety;
  indexer sets true explicitly for fan club posts)
- Python indexer reads is_members_only from entity manager metadata
- Go API includes is_members_only in FullComment and skips redaction
  for public posts
- SDK and mutation layer pass isMembersOnly through create comment flow
- Web: Checkbox is now toggleable (was checked+disabled)
- Mobile: Added Switch toggle for Members Only
- Both platforms show Members Only badge only when the post is gated
- Tests for Go API (3 cases) and Python indexer (4 cases)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 4, 2026

⚠️ No Changeset found

Latest commit: 8a6e559

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 4, 2026

🌐 Web preview ready

Preview URL: https://audius-web-preview-pr-14058.audius.workers.dev

Unique preview for this PR (deployed from this branch).
Workflow run

@dylanjeffers dylanjeffers merged commit 72522e9 into main Apr 5, 2026
15 checks passed
@dylanjeffers dylanjeffers deleted the fan-club-public-posts branch April 5, 2026 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant