Skip to content

Amelioration: ETQ instructeur, reorganiser les onglets du dossier avec un nouvel onglet Suivi et decision#13426

Closed
mfo wants to merge 10 commits into
demarche-numerique:bettera11ycomboselectfrom
mfo:refine-feature-spec-and-workflow
Closed

Amelioration: ETQ instructeur, reorganiser les onglets du dossier avec un nouvel onglet Suivi et decision#13426
mfo wants to merge 10 commits into
demarche-numerique:bettera11ycomboselectfrom
mfo:refine-feature-spec-and-workflow

Conversation

@mfo

@mfo mfo commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

depends_on: #13461

Probleme

L'interface instructeur du dossier disperse les informations de suivi entre plusieurs onglets (Personnes impliquees, Reaffectation) et melange dans l'onglet Demande des informations de suivi (historique, decision) qui n'y ont pas leur place.

Solution

Nouvel onglet Suivi et decision qui regroupe dans des sections en accordeon :

  • Historique et decision rendue — traitements du dossier + justificatif/motivation/attestation si termine
  • Suivi du dossier — envoi a un autre instructeur + liste des followers
  • Affectation du dossier — historique des affectations (auto + manuelles) + formulaire de reaffectation (conditionnel au routage)
  • Avis externes — personnes sollicitees pour avis
  • Invites par l'usager — personnes invitees a modifier le dossier

Les anciens onglets Personnes impliquees et Reaffectation redirigent en 301 vers Suivi et decision.

L'onglet Demande est simplifie pour l'instructeur : le heading affiche "Depot du dossier" et les informations de suivi (dates, corrections, decision) sont masquees car elles vivent desormais dans Suivi et decision.

Captures

Barre d'onglets

Maquette :
maquette-tabs

Implementation :
capture-tabs

Onglet Demande — heading "Depot du dossier"

Maquette :
maquette-demande

Implementation :
capture-demande

Onglet Suivi et decision

Maquette :
maquette-suivi

Implementation :

Screenshot 2026-07-07 at 13-52-45 Suivi et décision · Dossier n° 29933051 (AB TRANSPORTS) · demarche numerique gouv fr

Generated with Claude Code

@mfo
mfo marked this pull request as draft July 6, 2026 14:30
@mfo
mfo force-pushed the refine-feature-spec-and-workflow branch 5 times, most recently from 0736b63 to 59fe364 Compare July 6, 2026 15:32
@mfo
mfo marked this pull request as ready for review July 6, 2026 15:40
@mfo
mfo marked this pull request as draft July 7, 2026 07:59
@mfo mfo changed the title Amelioration: ETQ instructeur, reorganiser les onglets du dossier avec un nouvel onglet Suivi et decision WIP – Amelioration: ETQ instructeur, reorganiser les onglets du dossier avec un nouvel onglet Suivi et decision Jul 7, 2026
@mfo
mfo force-pushed the refine-feature-spec-and-workflow branch 4 times, most recently from 340b896 to 79dc548 Compare July 7, 2026 11:55
@mfo
mfo marked this pull request as ready for review July 7, 2026 13:09
@mfo mfo changed the title WIP – Amelioration: ETQ instructeur, reorganiser les onglets du dossier avec un nouvel onglet Suivi et decision Amelioration: ETQ instructeur, reorganiser les onglets du dossier avec un nouvel onglet Suivi et decision Jul 7, 2026
@mfo
mfo force-pushed the refine-feature-spec-and-workflow branch 3 times, most recently from f66b335 to 9e7a323 Compare July 10, 2026 09:00
@mfo
mfo changed the base branch from main to bettera11ycomboselect July 10, 2026 09:06
@mfo mfo changed the title Amelioration: ETQ instructeur, reorganiser les onglets du dossier avec un nouvel onglet Suivi et decision WIP – Amelioration: ETQ instructeur, reorganiser les onglets du dossier avec un nouvel onglet Suivi et decision Jul 10, 2026
@mfo
mfo force-pushed the bettera11ycomboselect branch from 5cef0c0 to fa19ba7 Compare July 10, 2026 15:35
@mfo mfo changed the title WIP – Amelioration: ETQ instructeur, reorganiser les onglets du dossier avec un nouvel onglet Suivi et decision Amelioration: ETQ instructeur, reorganiser les onglets du dossier avec un nouvel onglet Suivi et decision Jul 16, 2026
@mfo
mfo force-pushed the bettera11ycomboselect branch from fa19ba7 to e21c199 Compare July 17, 2026 09:15
@mfo
mfo force-pushed the refine-feature-spec-and-workflow branch from 9e7a323 to e52db58 Compare July 17, 2026 09:17
mfo and others added 5 commits July 17, 2026 11:17
Allows external <label for="..."> to point to the select's trigger
<button> via a known id. Also adds label/description rendering
support inside AriaSelect for accessible form patterns.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add keys for renamed tab "Suivi et décision", section titles
(historique, suivi, affectation, avis, invités), and renamed
"Dépôt du dossier" heading in both FR and EN locales.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
New GET endpoint /suivi-et-decision with data loading for followers,
experts, invites, assignments, and routing groups. Placeholder view
template to be fleshed out in next commit.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
5+1 DSFR accordion sections (all expanded by default):
- Historique et décision rendue (traitements + decision block)
- Suivi du dossier (send to instructeur + followers)
- Affectation du dossier (conditional on routing, with reassignment form)
- Avis externes (expert emails)
- Invités par l'usager (invite emails)
- Archivage (conditional on archived dossier)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Reorder tabs: Demande | Pièces jointes | Suivi et décision |
Messagerie | Rendez-vous | Annotations privées | Avis externes.
Remove standalone Réaffectation tab (now in Suivi et décision).
Update send_to_instructeurs redirect and test assertions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
mfo and others added 5 commits July 17, 2026 11:17
Rename "Historique du dossier" to "Dépôt du dossier" for instructeur
profile, keeping only 3 events (submission, user update, instructeur
update). Hide decision-related info (en_instruction_at, termine dates,
justificatif, motivation, attestation) which now live in Suivi et
décision tab. Usager profile unchanged.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
personnes_impliquees and reaffectation GET actions now redirect
permanently to suivi_et_decision. Remove them from before_action
lists to avoid unnecessary DB queries. Update reaffecter error
redirect to point to new tab. Update specs accordingly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Controller specs verify data loading (followers, experts, invites,
assignments) and routing-specific data (groupe_instructeur,
groupes_instructeurs) when routing is enabled.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Delete personnes_impliquees.html.haml and reaffectation.html.haml
(now served via redirect 301). Remove tab_steps.involved_persons
and tab_steps.reaffectation i18n keys from both locales.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace inline forms with Instructeurs::EnvoyerDossierFormComponent
and Instructeurs::ReaffectationFormComponent. Both use DSFR
fr-input-group/fr-select-group patterns with proper label[for]
binding and i18n translations (fr/en).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mfo
mfo force-pushed the refine-feature-spec-and-workflow branch from e52db58 to ccc246c Compare July 17, 2026 09:17
@mfo
mfo deleted the branch demarche-numerique:bettera11ycomboselect July 17, 2026 09:29
@mfo mfo closed this Jul 17, 2026
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.

1 participant