Saltar al contenido principal

🛠️ Admin Features

The MongoDB Minute admin interface provides comprehensive tools for content management, workflow tracking, and system configuration.

Admin Dashboard

The admin dashboard (/admin) is your central hub for managing MongoDB Minute content.

Statistics Overview

The dashboard displays key metrics:

Episode Statistics

  • Total Episodes: Count of all episodes
  • By Status: Breakdown of Draft, Ready to Record, Recorded, Published
  • By Workflow Stage: Draft, In Review, Approved counts

Visual Indicators

  • Pulsing Notification: Appears when reviews are pending
  • Border Highlight: "In Review" card highlighted when items need attention
  • Color Coding: Status-specific colors for quick recognition

Review Queue

Quick access to episodes pending technical review:

  • Table View: Episode title, category, submitter, submission date
  • Notification Badge: Count of pending reviews
  • Top 5 Display: Most recent episodes with indicator if more exist
  • One-Click Access: Direct navigation to review page

Quick Actions

Common tasks accessible from the dashboard:

  • AI Generate Episode: Create episodes with AI assistance
  • Review Queue: Access pending reviews (with notification badge)
  • Create Manually: Start new episode from scratch
  • View All Episodes: Navigate to episode management table

Episode Management

Episode List (/admin/episodes)

Comprehensive table view for managing all episodes.

Desktop View

Sortable Columns:

  • Episode #
  • Title
  • Category
  • Difficulty
  • Status
  • Workflow Stage

Actions:

  • Edit: Navigate to episode editor
  • Delete: Remove episode (with confirmation)

Features:

  • Status color coding
  • Workflow status badges
  • Hover effects for better UX
  • Responsive design

Mobile View

Card Layout:

  • Full episode information
  • Edit and Delete buttons
  • Optimized for touch interaction

Episode Editor (/admin/episodes/[id])

Full-featured editor for creating and editing episodes.

Form Sections

  1. Basic Information

    • Episode number
    • Title (with auto-slug generation)
    • Category dropdown
    • Difficulty level
    • Status selection
  2. 60-Second Script

    • Hook (0-5s)
    • Problem/Context (5-15s)
    • Tip/Solution (15-45s)
    • Quick Win/Proof (45-52s)
    • CTA + Tease (52-60s)
  3. Production Details

    • Visual suggestions
    • Video URL
    • Social media links (5 platforms)
  4. Workflow Panel

    • Visual progress stepper
    • Stage-specific actions
    • Workflow history timeline
    • QR code display

Editor Features

  • Auto-save: Form persistence
  • Validation: Required field checks
  • Slug Generation: Automatic from title
  • Workflow Integration: Built-in workflow management
  • QR Code: Generate and download QR codes

Creating New Episodes

Manual Creation

  1. Navigate to /admin/episodes/new
  2. Fill out episode form
  3. Save to create episode
  4. Workflow automatically initializes

AI Generation

  1. Click "AI Generate Episode" from dashboard
  2. Provide topic or prompt
  3. Review generated content
  4. Edit and customize
  5. Save episode

Teleprompter Mode

Full-screen script display for video recording:

  • Access: Button in episode editor
  • Layout: Optimized for reading while recording
  • Sections: All 5 script sections displayed
  • Clean Interface: Minimal distractions

User Settings

Settings Page (/admin/settings)

Personal configuration for each user.

OpenAI API Key Management

  • Secure Storage: Encrypted in database
  • Show/Hide Toggle: Password-style visibility
  • 3-Tier Priority: Request → User → System
  • Personal Keys: Bring your own API key

Social Media Handles

Configure handles for:

  • YouTube
  • TikTok
  • LinkedIn
  • Instagram
  • X (Twitter)

Used in:

  • AI generation
  • Social media features
  • Episode sharing

Save Confirmation

Success message displayed on update.

Authentication

Passwordless authentication system:

  1. Request Link: Enter MongoDB.com email
  2. Email Delivery: Magic link sent via email
  3. Link Expiration: 15-minute validity
  4. Session Tokens: 7-day session duration
  5. Auto-Login: Seamless authentication flow

Security Features

  • Email Domain Restriction: MongoDB.com only
  • JWT Tokens: Secure token-based auth
  • HTTP-Only Cookies: XSS protection
  • Secure Flag: Production security
  • Middleware Protection: Route-level security

Header Navigation

  • Logo: MongoDB Minute branding
  • Admin Link: Quick access to admin
  • Mobile Menu: Responsive navigation

Episode Navigation

  • Breadcrumbs: Clear navigation path
  • Previous/Next: Sequential episode browsing
  • Episode Numbers: Number-based traversal
  • All Episodes: Center navigation option

Search & Filtering

Public Site Features

  • Full-Text Search: Across titles, descriptions, categories
  • Category Filtering: Filter by 9 categories
  • Difficulty Filtering: Beginner, Intermediate, Advanced
  • Real-Time Results: Instant filtering

Admin Features

  • Status Filtering: Filter by workflow stage
  • Category Sorting: Organize by category
  • Date Sorting: Sort by creation/update date

QR Code Generation

Features

  • Automatic Generation: For each episode
  • MongoDB Branding: Brand colors applied
  • Download Functionality: Save for video integration
  • Refresh Capability: Regenerate codes
  • Episode Links: Direct links to detail pages

Usage

  1. Navigate to episode editor
  2. Scroll to QR code section
  3. View generated code
  4. Download for video production
  5. Add to video recordings

Social Media Integration

Platform Support

  • YouTube: Full video links
  • TikTok: Short-form content
  • LinkedIn: Professional sharing
  • Instagram: Visual content
  • X (Twitter): Quick updates

Features

  • Platform-Specific Icons: Brand-consistent buttons
  • Hover Animations: Interactive feedback
  • New Tab Opening: Secure external links
  • Episode Cards: Social links on cards
  • Detail Pages: Social sharing section

Best Practices

Content Management

  1. Organize by Status: Use status filters effectively
  2. Track Workflow: Monitor review queue regularly
  3. Use Categories: Proper categorization for discoverability
  4. Complete Metadata: Fill all fields for better organization

Workflow Management

  1. Regular Reviews: Check queue daily
  2. Clear Communication: Use notes effectively
  3. Timely Approvals: Don't delay production
  4. Track History: Review audit trail when needed

Settings Configuration

  1. Secure Keys: Use encrypted storage
  2. Update Handles: Keep social media info current
  3. Personal Keys: Use your own API keys when possible

Troubleshooting

Dashboard Not Loading

  • Check authentication status
  • Verify MongoDB connection
  • Clear browser cache
  • Check console for errors

Episodes Not Saving

  • Verify required fields are complete
  • Check network connection
  • Review form validation errors
  • Try refreshing page

Workflow Actions Not Working

  • Ensure you're authenticated
  • Check episode stage
  • Verify permissions
  • Review workflow history

Next Steps