Skip to content

IA-1016: feat(japrends): full assistant configuration module — settings, stores, and testing panel

khadija.elbachouri a demandé de fusionner feature/IA-1016 vers develop

Summary

Implements the complete J'apprends assistant configuration module, mirroring the existing Devoir assistant structure with japprends-specific microservice routing.

Changes

New stores

  • detailLevelJapprendsStore — detail level CRUD scoped to japprends API
  • exerciseResponseConfigStore — response config with toggles, motivational phrases, and config history
  • assistantLanguageConfigJapprendsStore — language config scoped to japprends API
  • japrendsFilteringConfigStore — filtering config with blocked terms and custom rules
  • assistantJapprendsTestingStore — full testing session lifecycle with active config snapshot

Updated shared components

  • AIAssistantDetailLevel — accepts assistantType prop to switch between devoir/japprends store
  • AIAssistantLanguages — accepts assistantType prop
  • AIAssistantFiltering — accepts assistantType prop; splits rule save path by type

New components

  • AIAssistantJapprendsTestingValidation — full testing panel with image/PDF/audio attachment, session scoring, paginated history, and statistics
  • ai-assistant-japprends-settings — settings layout with exerciseId prop

Routing

  • Settings page resolves exerciseId from assistant UUID before rendering

Rapports de requête de fusion