Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: bouquet en mode brouillon (private) #321

Merged
merged 10 commits into from
Jan 10, 2024
Merged

feat: bouquet en mode brouillon (private) #321

merged 10 commits into from
Jan 10, 2024

Conversation

abulte
Copy link
Contributor

@abulte abulte commented Jan 8, 2024

Fix #280
Related #225
Related #178

Fonctionnalité principale

  • Crée un bouquet avec private: true jusqu'à la dernière étape (Résumé -> Publier -> private: false), aka mode brouillon
  • Filtre la liste principale des bouquets en masquant les bouquets en mode brouillon (la vue d'affichage n'est pas compatible avec un bouquet incomplet)

Détails

  • Ajoute une vue BouquetAddView pour la création du bouquet (étape 1), qui redirige ensuite vers l'édition du bouquet pour les étapes suivantes, via une URL de la forme /admin/bouquets/edit/{id-tech-du-bouquet}
  • La vue BouquetEditView tente d'afficher la bonne étape en fonction de la complétion du bouquet, il est ainsi possible de reprendre l'édition en revenant sur l'URL
  • La dernière étape publie le bouquet (private: false)
  • Il est possible de naviguer entre les différentes étapes (boutons précédent <> suivant)

Autre

  • refactor BouquetEditView en composition API

A suivre

Copy link

netlify bot commented Jan 8, 2024

Deploy Preview for ecospheres ready!

Name Link
🔨 Latest commit 30f00c2
🔍 Latest deploy log https://app.netlify.com/sites/ecospheres/deploys/659e8810b9a5450008caba28
😎 Deploy Preview https://deploy-preview-321--ecospheres.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jan 8, 2024

Deploy Preview for meteo-france ready!

Name Link
🔨 Latest commit 30f00c2
🔍 Latest deploy log https://app.netlify.com/sites/meteo-france/deploys/659e8810f8bac10008ffc97a
😎 Deploy Preview https://deploy-preview-321--meteo-france.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@abulte abulte changed the title Feat/bouquet draft feat: bouquet en mode brouillon (private) Jan 9, 2024
@abulte abulte marked this pull request as ready for review January 9, 2024 07:44
@abulte abulte requested review from streino and Jorek57 January 9, 2024 07:45
@abulte
Copy link
Contributor Author

abulte commented Jan 9, 2024

@martyKN je ne peux pas te mettre en reviewer, mais n'hésite pas à jeter un oeil sur la preview https://deploy-preview-321--ecospheres.netlify.app/

Jorek57
Jorek57 previously approved these changes Jan 9, 2024
@abulte abulte merged commit d322ac0 into main Jan 10, 2024
9 checks passed
@abulte abulte deleted the feat/bouquet-draft branch January 10, 2024 12:06
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.

Garder un bouquet en mode brouillon
2 participants