Skip to content

Recettes jetables : ajout de Slack et Sendgrid#1641

Draft
celine-m-s wants to merge 6 commits intomainfrom
recettes/sendgrid_slack
Draft

Recettes jetables : ajout de Slack et Sendgrid#1641
celine-m-s wants to merge 6 commits intomainfrom
recettes/sendgrid_slack

Conversation

@celine-m-s
Copy link
Collaborator

@celine-m-s celine-m-s commented Dec 2, 2025

  • Distinguer les environnements : local, dev, démo et prod
  • Activer Slack : ajouter un préfixe à tous les messages avec le nom de l'environnement.
  • Activer Sendgrid : ajouter un préfixe à tous les messages avec le nom de l'environnement.
  • Ajout d'une variable dans tous les gabarits Sendgrid pour y intégrer le nom de l'environnement.
  • Nettoyage de isDev.
  • L'environnement de prod est l'environnement par défaut.

Ajout de la préposition correspondant à l'environnement.

Les recettes jetables et la démo tournent dans un environnement de production. On ne peut donc pas utiliser isDev. Ajouter le nom de l'environnement et le récupérer dans Nuxt me semble être la meilleure solution.

Cela nous permettra aussi d'afficher le nom de l'environnement dans un bandeau statique, comme évoqué par l'équipe précédemment.

@celine-m-s celine-m-s self-assigned this Dec 2, 2025
@celine-m-s celine-m-s marked this pull request as draft December 2, 2025 10:45
@celine-m-s celine-m-s changed the base branch from main to review_apps December 10, 2025 20:17
@celine-m-s celine-m-s added the recette-jetable Crée une recette jetable label Dec 10, 2025
@celine-m-s celine-m-s added recette-jetable Crée une recette jetable and removed recette-jetable Crée une recette jetable labels Dec 10, 2025
@celine-m-s celine-m-s closed this Dec 10, 2025
@celine-m-s celine-m-s reopened this Dec 10, 2025
@celine-m-s celine-m-s closed this Dec 10, 2025
@celine-m-s celine-m-s reopened this Dec 10, 2025
@celine-m-s celine-m-s removed the recette-jetable Crée une recette jetable label Dec 10, 2025
@celine-m-s celine-m-s force-pushed the review_apps branch 7 times, most recently from af91122 to 8d528a6 Compare December 11, 2025 14:52
@celine-m-s celine-m-s closed this Dec 11, 2025
@celine-m-s celine-m-s reopened this Dec 11, 2025
@sonarqubecloud
Copy link

@celine-m-s celine-m-s force-pushed the review_apps branch 3 times, most recently from bfd6324 to 60650ec Compare December 16, 2025 18:34
@celine-m-s celine-m-s force-pushed the review_apps branch 4 times, most recently from 19e7047 to b65fea1 Compare January 20, 2026 17:37
@celine-m-s celine-m-s force-pushed the review_apps branch 3 times, most recently from 3fc1495 to a64f89d Compare January 21, 2026 15:22
@celine-m-s celine-m-s linked an issue Jan 21, 2026 that may be closed by this pull request
@celine-m-s celine-m-s force-pushed the review_apps branch 5 times, most recently from 02a6d36 to e5220c8 Compare January 28, 2026 16:22
Base automatically changed from review_apps to main January 28, 2026 16:48
@celine-m-s celine-m-s force-pushed the recettes/sendgrid_slack branch from a55b202 to b632597 Compare January 30, 2026 15:02
With the arrival of review apps and demo environment, we need to
refine the actual production environment represented by the NODE_ENV.
Introduce a new USER_ENVIRONMENT variable to specify which environment
the user is using.

Also, consider that the default environment is the production one
to avoid all unwanted debugging or information leak.

Start to clean up the isDev property mainly used to create fixture data.
Cleaning can't be done completely because a table column is still using it.
To do next: remove the column and do a data migration.
@celine-m-s celine-m-s force-pushed the recettes/sendgrid_slack branch from b632597 to 0e2d88d Compare February 26, 2026 14:37
@sonarqubecloud
Copy link

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.

Recettes jetables : ajout de Slack et Sendgrid

1 participant