Skip to content

implement interaction versioning system for frontend history navigation

zakariae yahya a demandé de fusionner feauture/IA-439 vers develop
  • Add new endpoint GET /history/{userId}/{discussionId}/latest to retrieve only latest versions
    • Extend ChildHistoryResponse with versioning metadata (hasVersions, versionCount, isLatest, originalInteractionId)
    • Improve editInteractionInPlace method with debug logging and anti-duplicate validation
    • Fix getInteractionVersions logic to correctly handle root interactions and versions
    • Add repository methods for duplicate prevention (findRecentDuplicates, existsRecentDuplicate)
    • Update convertInteractionToHistory to include version counting logic

Closes IA-439

Rapports de requête de fusion