Overview
The Admin Dashboard is your central hub for managing content, monitoring performance, and accessing administrative tools. This guide covers all dashboard features and how to use them effectively.Accessing the Dashboard
Navigate to/admin after logging in to access the admin dashboard.
Dashboard features vary based on your user role. Administrators see all features, while authors see limited personal statistics.
Dashboard Layout
The dashboard consists of several key sections:Header Section
Left Side:- Page Title: “Dashboard”
- Description: “Resumen de actividad y métricas principales”
- Create Post Button: Quick access to post creation (if you have
crear_postpermission) - Last Update Timestamp: Shows when data was last refreshed
Main Content Areas
Statistics Cards
Dynamic statistics based on your role:Administrator View
Total Vistas
Total Vistas
Site-wide page views
- Total views across all content
- Percentage change vs. previous month
- 7-day trend mini-chart
- Color: Blue
- Icon: Eye 👁️
Total Posts
Total Posts
All posts in the system
- Includes published, draft, and pending
- Month-over-month growth percentage
- Content production trend
- Color: Green
- Icon: FileText 📄
Usuarios Activos
Usuarios Activos
Registered and active users
- Total user count
- New user growth rate
- User activity trend
- Color: Purple
- Icon: Users 👥
Posts Pendientes
Posts Pendientes
Posts awaiting approval
- Number requiring editor review
- Change from previous period
- Review queue trend
- Color: Orange
- Icon: Clock ⏰
Editor View
Focused on moderation tasks:-
Posts para Revisar (Posts to Review)
- Pending post count
- Direct link to review queue
-
Comentarios Moderación (Comments for Moderation)
- Pending comment count
- Quick access to comment moderation
-
Posts Publicados Hoy (Posts Published Today)
- Today’s publication count
- Daily productivity metric
- Percentage change from yesterday
Author View
Personal content statistics:-
Mis Posts (My Posts)
- Total posts created by you
- All statuses included
-
Vistas Totales (Total Views)
- Views on your posts
- Personal reach metric
- Trend indicator
-
Posts en Borrador (Draft Posts)
- Incomplete posts count
- Reminder to finish drafts
Commenter View
Engagement metrics:-
Mis Comentarios (My Comments)
- Total comments posted
-
Posts Comentados (Posts Commented On)
- Unique posts engaged with
-
Likes Recibidos (Likes Received)
- Likes on your comments
- Engagement indicator
Quick Actions Panel
Frequently used actions for rapid access:Available Actions (Role-Based)
For All Users
For All Users
- Ver Mi Perfil (View My Profile)
- Cambiar Contraseña (Change Password)
- Configuración (Settings)
For Authors & Above
For Authors & Above
For Editors & Admins
For Editors & Admins
- Revisar Posts Pendientes (Review Pending Posts)
- Moderar Comentarios (Moderate Comments)
- Ver Analytics (View Analytics)
- Gestionar Categorías (Manage Categories)
For Administrators Only
For Administrators Only
- Gestionar Usuarios (Manage Users)
- Configuración del Sistema (System Configuration)
- Ver Logs de Actividad (View Activity Logs)
- Gestionar Roles y Permisos (Manage Roles & Permissions)
Activity Feed
Real-time platform activity stream:Activity Types Displayed
-
New Posts
- Author name
- Post title
- Timestamp
- Status badge
-
Post Status Changes
- Post published
- Post submitted for review
- Post approved/rejected
-
Comments
- New comments posted
- Comments moderated
- Comment replies
-
User Activity
- New user registrations
- Role changes
- User status updates
-
System Events
- Configuration changes
- Category updates
- Important system notifications
- Auto-updates every 30 seconds
- Shows last 20 activities
- “View All Activity” link for full history
- Filterable by activity type
- Searchable by user or content
Recent Posts Widget
Quick overview of latest posts:Post Card Information
Displays:- Featured image thumbnail (60x60px)
- Post title
- Author name
- Publication/creation date
- Status badge (Published, Pending, Draft, Rejected)
- 🟢 Published: Green
- 🟡 Pending: Yellow/Orange
- ⚪ Draft: Gray
- 🔴 Rejected: Red
- Click post title to view full post
- Click author name to view author profile
- Hover for quick preview
Shows last 5 posts by default. Click “View All” to see complete post list.
Analytics Overview
High-Level Metrics
Four Key Performance Indicators:Vistas Totales (Total Views)
Vistas Totales (Total Views)
Site-wide page views
- Example: 125K views
- Aggregated across all content
- Color: Blue
Likes Totales (Total Likes)
Likes Totales (Total Likes)
Engagement metric
- Example: 1.2K likes
- Likes across all posts
- Color: Green
Posts Publicados (Posts Published)
Posts Publicados (Posts Published)
Content output
- Example: 156 posts
- Only published posts
- Color: Purple
Engagement Rate
Engagement Rate
Interaction percentage
- Example: 68%
- Calculated from views, likes, comments
- Color: Orange
- Time-series charts
- Detailed breakdowns
- Export capabilities
- Custom date ranges
Navigation Sidebar
Persistent navigation for all admin sections:Main Menu Items
-
Dashboard 📊
- Overview and statistics
- Quick actions
- Activity feed
-
Posts 📝
- All posts list
- Create new post
- Manage categories
-
Comments 💬
- Comment moderation
- Spam management
- Comment settings
-
Users 👥 (Admin only)
- User management
- Role assignment
- User statistics
-
Analytics 📈 (Editor & Admin)
- Detailed reports
- Performance metrics
- Export data
-
Categories 🏷️
- Manage categories
- Category statistics
- SEO settings
-
Configuration ⚙️ (Admin only)
- System settings
- Platform configuration
- Integration management
-
Roles & Permissions 🔐 (Admin only)
- Role definitions
- Permission management
- Access control
Notification Badges
Key menu items show notification counts:- Posts 📝 (8) - Pending posts count
- Comments 💬 (23) - Pending comments count
Mobile Responsiveness
The dashboard adapts to different screen sizes:Desktop View (> 1024px)
- Full sidebar navigation
- Multi-column grid layouts
- Expanded statistics cards
- Side-by-side content panels
Tablet View (768px - 1024px)
- Collapsible sidebar
- 2-column grid layouts
- Compact statistics cards
- Stacked content panels
Mobile View (< 768px)
- Bottom navigation bar
- Single-column layouts
- Swipeable cards
- Hamburger menu
- Floating action button (FAB) for quick post creation
Customization Options
Dashboard Preferences
Customizable elements:- Widget arrangement (drag and drop)
- Visible statistics (show/hide)
- Activity feed filters
- Default date ranges
- Theme (light/dark mode)
- Click ⚙️ icon in dashboard header
- Select “Dashboard Settings”
- Adjust preferences
- Click “Save Changes”
Refresh and Updates
Auto-refresh intervals:- Statistics: Every 5 minutes
- Activity feed: Every 30 seconds
- Recent posts: Every 2 minutes
- Click refresh icon in header
- Pull-to-refresh on mobile
- Keyboard shortcut:
Ctrl/Cmd + R
Performance Monitoring
Key Metrics to Watch
-
Content Production
- Posts per week/month
- Author activity levels
- Draft completion rate
-
Moderation Health
- Pending post queue depth
- Average approval time
- Rejection rate trends
-
Engagement Metrics
- Comments per post
- Like rate
- Share statistics
-
Traffic Patterns
- Page views trend
- Peak traffic times
- Traffic sources
Set up alerts for critical metrics:
- Pending queue > 10 posts
- Traffic drop > 20%
- Error rate increase
Troubleshooting
Dashboard not loading
Dashboard not loading
Common causes:
- Network connection issues
- Browser cache problems
- Session timeout
- Check internet connection
- Clear browser cache
- Log out and log back in
- Try incognito/private mode
Statistics showing incorrect data
Statistics showing incorrect data
Possible reasons:
- Data cache not refreshed
- Permission scope changed
- Analytics processing delay
- Manual refresh (F5)
- Check time range filters
- Verify your current role
- Wait a few minutes for processing
Missing menu items
Missing menu items
Can't see recent activity
Can't see recent activity
Reasons:
- No recent activity exists
- Activity filters too restrictive
- Auto-update paused
- Reset activity filters
- Expand time range
- Manually refresh feed
Best Practices
Daily Dashboard Routine
Morning checklist:- ✅ Review pending posts count
- ✅ Check comment moderation queue
- ✅ Scan activity feed for issues
- ✅ Verify no spike in errors
- Monitor pending queues
- Respond to notifications
- Track key metrics
- Review statistics changes
- Clear pending items
- Plan next day priorities
Dashboard Efficiency Tips
-
Use Keyboard Shortcuts
D- Go to DashboardP- Go to PostsC- Go to CommentsN- Create new post
-
Bookmark Key Views
- Pending posts page
- Comment moderation
- Your drafts list
-
Set Up Notifications
- Browser notifications enabled
- Email digests configured
- Mobile app alerts active
Related Resources
- Creating Posts - Create content from dashboard
- Managing Users - User management features
- Content Moderation - Moderation workflow
Technical Reference
Source Code References:- Dashboard Component:
src/components/admin/AdminDashboard.tsx:30 - Stats Cards:
src/components/admin/AdminStatsCards.tsx:138 - Quick Actions:
src/components/admin/AdminQuickActions.tsx - Activity Feed:
src/components/admin/AdminActivityFeed.tsx - Admin Layout:
src/components/admin/ResponsiveAdminLayout.tsx