Skip to content

[FEATURE] Créer un brouillon de version de référentiel sur la base du choix des sujets (PIX-23002)#16440

Open
rouxxi wants to merge 9 commits into
devfrom
pix-23002-add-next-button-during-creation-version
Open

[FEATURE] Créer un brouillon de version de référentiel sur la base du choix des sujets (PIX-23002)#16440
rouxxi wants to merge 9 commits into
devfrom
pix-23002-add-next-button-during-creation-version

Conversation

@rouxxi

@rouxxi rouxxi commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

🚙 Problème

On a besoin d'ajouter une nouvelle page pour configurer une version de certification.

🍃 Proposition

Créer 2 sous-route pour les 2 page et adapter la route backend pour répondre a notre besoin.

🦵 Remarques

  • gérer le grisage du bouton de création si une draft est déjà créée (peut être autre PR)
  • s'assurer que la création du draft est bien en état draft

🔗 Pour tester

1er Cas passant:

  • Aller sur la création d'une nouvelle version avec un compte superAdmin
  • Si il y a déjà une version active normalement c'est préremplit sinon non et l'url doit arriver sur /new-version/tubes
  • Au clic sur suivant il y a une redirection sur la nouvelle page avec une url de ce type /new-version/<ID>/configuration

2e cas passant:

Cas non passant:

  • Essayer de rejoindre cette url avec un compte non superAdmin => /new-version/tubes Normalement vous allez être redirigé vers la liste des certification-version

@rouxxi rouxxi requested a review from a team as a code owner June 5, 2026 13:19
@rouxxi rouxxi added 👀 Tech Review Needed 👀 Func Review Needed Need PO validation for this functionally team-certif labels Jun 5, 2026
@pix-bot-github

pix-bot-github commented Jun 5, 2026

Copy link
Copy Markdown

@rouxxi rouxxi force-pushed the pix-23002-add-next-button-during-creation-version branch from b85a9f5 to 8cdf1cf Compare June 5, 2026 13:37
@rouxxi rouxxi changed the title [FEATURE] Ajout d'un couton de redirection vers page de configuration d'une version de certification (PIX-23002) [FEATURE] Ajout d'un bouton de redirection vers page de configuration d'une version de certification (PIX-23002) Jun 5, 2026
Comment thread admin/app/components/certification-frameworks/item/framework/new-version-form.gjs Outdated
Comment thread admin/tests/mirage/factories/framework.js Outdated
@rouxxi rouxxi force-pushed the pix-23002-add-next-button-during-creation-version branch 3 times, most recently from 51ac37b to dc5720e Compare June 8, 2026 12:37
@laura-bergoens laura-bergoens force-pushed the pix-23002-add-next-button-during-creation-version branch from dc5720e to af47941 Compare June 8, 2026 15:36
@laura-bergoens laura-bergoens requested a review from a team as a code owner June 8, 2026 15:36
@laura-bergoens laura-bergoens changed the title [FEATURE] Ajout d'un bouton de redirection vers page de configuration d'une version de certification (PIX-23002) [FEATURE] Créer un brouillon de version de référentiel sur la base du choix des sujets (PIX-23002) Jun 8, 2026
@laura-bergoens laura-bergoens force-pushed the pix-23002-add-next-button-during-creation-version branch from af47941 to 208a712 Compare June 9, 2026 07:09
@rouxxi rouxxi force-pushed the pix-23002-add-next-button-during-creation-version branch from 208a712 to 896f3e6 Compare June 9, 2026 12:46
@rouxxi rouxxi force-pushed the pix-23002-add-next-button-during-creation-version branch from 896f3e6 to 59c7156 Compare June 9, 2026 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants