Wire Blog Moderation Queue with Firestore Data
Overview
Connect the blog moderation interface to Firestore, enabling admins to review, approve, or reject pending blog post submissions.
Scope
- Display pending blog posts in a chronological queue
- Show post metadata: author name, title, submission date, word count, category
- Preview/read full post content with proper formatting
- Approve action: update post status to
published, make visible in blog directory
- Reject action: update post status to
rejected, notify author with optional feedback
- Show approval status and history (who approved, when)
- Bulk actions: approve multiple posts, reject with batch feedback
Acceptance Criteria
Related Files
app/admin/blog/page.tsx — create if missing
lib/services/blog.ts — add approval/rejection functions
app/blog/page.tsx — filter to show only published posts
Notification Template
Rejection email should include: post title, feedback reason, link to resubmit
Why This Matters
- Enables content quality control
- Reduces spam or off-brand content
- Provides author feedback for improvement
Wire Blog Moderation Queue with Firestore Data
Overview
Connect the blog moderation interface to Firestore, enabling admins to review, approve, or reject pending blog post submissions.
Scope
published, make visible in blog directoryrejected, notify author with optional feedbackAcceptance Criteria
status == 'draft'publishedAttimestamp/blogdirectoryRelated Files
app/admin/blog/page.tsx— create if missinglib/services/blog.ts— add approval/rejection functionsapp/blog/page.tsx— filter to show only published postsNotification Template
Rejection email should include: post title, feedback reason, link to resubmit
Why This Matters