Skip to content

VSN-1703: Add Planification Module Implementation

yahya.elmokhtari a demandé de fusionner VSN-1703 vers develop

Planification Module Implementation

Routing & Navigation

  • Set up navigation and routing for planification feature
  • Add planification tab layout configuration for tab-based navigation
  • Create index route for main planification screen
  • Implement dynamic route for trip detail pages
  • Configure stack navigation with appropriate screen options
  • Integrate all screens using Expo Router file-based routing

Screen Components

  • Build PlanificationScreen with view mode switching (day, week, month)
  • Create TrajetDetailScreen with comprehensive trip and driver information
  • Add smooth animations for screen transitions and content loading
  • Implement driver card displaying vehicle and contact details
  • Add call functionality for direct driver contact
  • Integrate pull-to-refresh for trip data updates
  • Add search modal integration for trip filtering and lookup
  • Include week selector for quick date navigation

Calendar View Components

  • Implement DayAgendaView with timeline-style trip display
  • Create WeekCalendarView with week navigation and trip indicators
  • Add MonthCalendarView integrated with react-native-calendars
  • Support date selection and trip filtering per view
  • Add multi-dot markers for days with multiple trips
  • Create EmptyAgendaState for no-trip days with contextual messages

Reusable UI Components

  • Add TripCard component displaying key trip details and status badges
  • Implement AnimatedTripCard with staggered entrance animations
  • Create ViewModeSelector for toggling between day/week/month modes
  • Add theme-aware styling with dark mode support
  • Implement interactive touch feedback and active state visuals

Core Logic, Constants & Utilities

  • Create centralized constants for planification feature (animations, layout, locale)
  • Define French day names and week display constants
  • Add date and time formatting utilities (HH:MM format)
  • Implement helper functions for date comparison and validation
  • Add week days calculator for calendar navigation logic

Architecture & Code Organization

  • Separate routing logic from screen implementation for maintainability
  • Organize components and utilities in dedicated feature directories
  • Ensure consistent layout spacing and theme alignment
  • Adopt reusable component-driven structure for scalability

CLOSE VSN-1703

Rapports de requête de fusion