Overview
The Justina dashboard is your central hub for accessing all platform features. After logging in, you’ll land on the dashboard where you can start simulations, view reports, analyze performance data, and configure system settings.Accessing the Dashboard
After successful authentication, you’re automatically redirected to:Dashboard Layout
Header Section
The dashboard greets you with a personalized header:System Status Banner
A blue informational banner displays system availability:Navigation Bar
The persistent navigation bar (Navbar component) provides:- Quick links to key pages
- User profile information
- Logout functionality
Available Modules
The dashboard displays four primary modules in a 2-column grid:Module Configuration
Modules are defined inmodule.data.ts:
Module Descriptions
Nueva Simulación
Launch a new robotic surgical simulation in an interactive 3D environment.Features:
- Real-time 3D surgical scene
- WebSocket-based telemetry streaming
- Live coordinate tracking
- Immediate AI feedback
/simulatorReportes
Access and analyze historical simulation results.Features:
- List of completed surgeries
- Detailed trajectory visualization
- AI scores and feedback
- Performance summaries
/reports (planned)Análisis de Datos
View aggregate performance metrics and trends.Features:
- Performance graphs over time
- Average scores and trends
- Error pattern analysis
- Comparative statistics
/analytics (planned)Configuración
Customize simulation parameters and system settings.Features:
- Simulation difficulty adjustment
- Visual/audio preferences
- Account management
- System diagnostics
/config (planned)Module Interaction
Each module is rendered as a clickable card:Platform Information Panel
At the bottom of the dashboard, an informational card provides context:User Context Management
The dashboard uses a client-side hydration component to manage user state:Navigation Patterns
Typical User Journey
Footer Navigation
The dashboard includes a persistent footer with:- Copyright information
- Quick links to documentation
- Support contact information
Responsive Design
The dashboard is fully responsive: Desktop (md and above):- 2-column grid for module cards
- Expanded sidebar navigation
- Full-width information panels
- Single-column stacked layout
- Collapsed navigation menu
- Touch-optimized cards
Dynamic Status Indicators
Modules display availability status:Performance Optimization
Dynamic Rendering
The dashboard uses Next.js dynamic rendering:Component Lazy Loading
Large module components are lazy-loaded:Security Considerations
Protected Route Implementation
Role-Based Module Access
Future enhancement: Modules can be conditionally displayed based on user role:Customization
Administrators can customize the dashboard by modifyingmodule.data.ts:
Adding a new module:
modules array.
Accessibility
The dashboard implements accessibility best practices:- Semantic HTML: Proper heading hierarchy (h1, h2, h3)
- ARIA labels: Screen reader support for interactive elements
- Keyboard navigation: All modules accessible via Tab key
- Color contrast: WCAG AA compliant text/background ratios
Troubleshooting
Dashboard Not Loading
Issue: Blank screen after login Solutions:- Clear browser cache and cookies
- Check browser console for JavaScript errors
- Verify JWT token in cookies (DevTools > Application > Cookies)
- Ensure backend API is accessible
Module Cards Not Clickable
Issue: Clicking module cards has no effect Solutions:- Check that
available: truein module configuration - Verify routing is configured for the module path
- Inspect browser console for navigation errors
User Context Lost
Issue: Username not displayed or state resets Solutions:- Verify
UserHydratorcomponent is mounted - Check that URL contains
?username=parameter - Review global state management (Zustand/Redux store)
Best Practices
- Start with New Simulation to familiarize yourself with the platform
- Check Reports regularly to track your progress
- Use Analytics to identify improvement areas
- Review Configuration to optimize your experience
Next Steps
Run Simulations
Start your first surgical simulation
View Results
Learn how to interpret AI feedback
Authentication
Understand security and user management
API Reference
Explore backend API endpoints