Collaborative Editing
Enable collaborative content editing with GitHub PR workflows.
Overview
PraisonPressGit enables a Wikipedia-style collaborative editing experience where users can suggest edits via pull requests.
Frontend Features
Report Error Button
Allow logged-in users to suggest edits on any post:
- User clicks "Report Error" button
- Beautiful WordPress-style modal opens
- User makes suggested changes
- PR is created automatically
My Submissions Page
Users can view their submitted edits:
- Pagination (5 submissions per page)
- Status badges (Open/Merged/Closed)
- View Diff links to GitHub
- View Page links to WordPress
Admin Features
View All Submissions
Admins can view ALL users' pull requests:
- Toggle between "My Submissions" and "All Users"
- Filter buttons for easy navigation
- Full PR review interface with diffs
One-Click Approve
Merge pull requests directly from WordPress:
- Click "Approve & Merge" button
- PR is merged on GitHub
- Content auto-syncs to WordPress
Workflow
┌─────────────────┐
│ User Edit │ Clicks "Report Error"
└────────┬────────┘
│
▼
┌─────────────────┐
│ Create PR │ Automatic PR on GitHub
└────────┬────────┘
│
▼
┌─────────────────┐
│ Admin Review │ Reviews in WordPress
└────────┬────────┘
│
▼
┌─────────────────┐
│ Merge │ One-click approve
└────────┬────────┘
│
▼
┌─────────────────┐
│ Auto-Sync │ Content updated
└─────────────────┘
GitHub Integration
Connect your repository:
- Go to PraisonPress → Settings
- Click "Connect to GitHub"
- Authorize OAuth
- Select repository