Skip to content

Conversation

@Grafikart
Copy link
Collaborator

@Grafikart Grafikart commented Dec 10, 2025

Expose a partialResetInterrogation(interrogrationId: string) method

  • Create a mock for the queen api server
  • Add UI to test the partial reset behaviour
  • Expose a new federated method partialResetInterrogation()
  • Add a new endpoint /queen/interrogations/:id/synchronize to trigger a reset before redirecting to the questionnaire
  • Change useArticulationTable() into getArticulationTable() to make it easier to use.
  • Refactor the synchronizeData useCase
    • Merge all the selectors into a simpler "bars" selector to retrieve all progress bars with a simple selector
    • Remove the call to download() from the upload() thunks and use a sync() thunks instead

Fix #389

@Grafikart Grafikart changed the title feat: add partialResetInterrogation method feat: add partialResetInterrogation() method Dec 10, 2025
Add a new /interrogrations/:id/synchronize endpoint to take control of an interrogation started on the web

Fix #388
Copy link
Contributor

@laurentC35 laurentC35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @Grafikart : top le refactor sur les barres de progression !

  • Remarques SONAR à prendre en compte
  • des choses à retirer pour la production

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 7, 2026

@QRuhier QRuhier merged commit 99c0ba8 into main Jan 12, 2026
11 checks passed
@QRuhier QRuhier deleted the feat/reset-state branch January 12, 2026 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exposer une fonction de réinitialisation (partialResetInterrogation) de données pour Pearl

4 participants