Skip to content

Conversation

@mattwoberts
Copy link
Contributor

No description provided.

Successfully merged the no-page-reloads branch with content-moderation. This merge combines:

- Content moderation features (pending status, approve/decline)
- No page reload navigation (PostDetails overlay on home page)
- Updated dependencies (testify v1.11.1)
- New UI improvements (welcome header, add idea button styling)

Resolved conflicts in:
- go.mod/go.sum: Updated testify version, kept stripe dependency
- Home.page.tsx: Merged new UI with overlay navigation
- ListPosts.tsx: Combined moderation indicators with click handlers
- PostsContainer.tsx: Added onPostClick while keeping layout wrapper
- ShowPost.page.tsx: Kept full implementation with moderation controls

The merge preserves all moderation functionality while adding the PostDetails
component for overlay navigation on the home page.
@mattwoberts mattwoberts marked this pull request as ready for review January 9, 2026 14:34
@mattwoberts mattwoberts requested a review from Copilot January 9, 2026 14:34
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR implements a commercial content moderation system for Fider. It introduces a new billing model based on Stripe, adds user trust levels, and provides moderation capabilities for posts and comments.

Key changes:

  • Migration from Paddle to Stripe billing with a simplified free/pro plan structure
  • Addition of content moderation features requiring posts/comments approval from untrusted users
  • Introduction of a commercial feature folder structure with dynamic imports
  • Complete UI redesign for post display, home page, and voting interfaces

Reviewed changes

Copilot reviewed 215 out of 228 changed files in this pull request and generated no comments.

Show a summary per file
File Description
webpack.config.js, tsconfig.json, package.json Add support for @commercial module alias and folder inclusion
migrations/*.sql Database schema changes for moderation, billing, and user trust
scripts/generate_license_keys.go New script to generate Ed25519 key pairs for commercial licensing
main.go Import commercial modules after core to allow override patterns
public/models/*.ts Add isApproved, isTrusted, isModerationEnabled, isCommercial fields
public/services/actions/*.ts Add moderation API endpoints and remove old billing code
public/pages/Home/*.tsx Major redesign with post overlay functionality
public/pages/ShowPost/*.tsx Extract PostDetails component for reusability
public/pages/Administration/*.tsx Update billing page, add moderation settings, refactor members page
public/components/*.tsx Multiple UI improvements including VoteCounter, Avatar, Pagination
locale/*/client.json Add empty translation keys for new moderation features

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

mattwoberts and others added 3 commits January 12, 2026 14:26
Adds a workflow_dispatch workflow to build and publish PR Docker images
with both amd64 and arm64 architectures on demand.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@mattwoberts mattwoberts changed the title Draft WIP for content moderation. Content Moderation, revamped UI, and new "open core" licensing for some features. Jan 15, 2026
mattwoberts and others added 6 commits January 15, 2026 13:56
The static route was added but the directory wasn't included in the
Docker build, causing the container to panic on startup.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@mattwoberts mattwoberts merged commit ac4a175 into main Jan 16, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants