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/bo liste territoires 636 #598

Merged
merged 1 commit into from
Nov 14, 2024
Merged

Conversation

l-scherer
Copy link
Contributor

Ajout de la liste des territoires avec les infos du territoire.
Ajout de l'écran de détail des infos du territoire, modifiable par le territoire lui même et la région si c'est un département.

Copy link
Contributor

@benjaminDNUM benjaminDNUM left a comment

Choose a reason for hiding this comment

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

Pas mal de petit trucs a changer, hesite pas si tu as des questions.

et derniere remarque, quelques tests seraient les bienvenus !

packages/backend/src/routes/territoire.js Outdated Show resolved Hide resolved
packages/backend/src/services/BoUser.js Show resolved Hide resolved
packages/backend/src/services/BoUser.js Show resolved Hide resolved
packages/backend/src/services/Territoire.js Outdated Show resolved Hide resolved
packages/backend/src/services/Territoire.js Outdated Show resolved Hide resolved
packages/frontend-bo/src/stores/territoire.js Outdated Show resolved Hide resolved
Copy link

🎉 Deployment for commit 1c5e339 :

Ingresses
Docker images
  • 📦 docker pull harbor.fabrique.social.gouv.fr/vao/vao/backend:sha-1c5e339d60247ed8af7efe9cd0e9886694f5ab9b
  • 📦 docker pull harbor.fabrique.social.gouv.fr/vao/vao/frontend-bo:sha-1c5e339d60247ed8af7efe9cd0e9886694f5ab9b
  • 📦 docker pull harbor.fabrique.social.gouv.fr/vao/vao/frontend-usagers:sha-1c5e339d60247ed8af7efe9cd0e9886694f5ab9b
  • 📦 docker pull harbor.fabrique.social.gouv.fr/vao/vao/migrations:sha-1c5e339d60247ed8af7efe9cd0e9886694f5ab9b
  • 📦 docker pull maildev/maildev:2.1.0
Debug

log.i("readTerritoires - DONE");
return {
total: userTerritoire.rows.count,
users: userTerritoire.rows,
Copy link
Contributor

@iNeoO iNeoO Nov 13, 2024

Choose a reason for hiding this comment

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

Est ce que ce ne serait pas interessant d'avoir directement de la pagination ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

On a une volumétrie maitrisée, on intègrera ton nouveau composant DSFR rapidement après.

});
if (territoires) {
this.territoires = territoires.map((territoire) => ({
territoireId: territoire.territoire_id,
Copy link
Contributor

Choose a reason for hiding this comment

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

est ce que ça ne serait pas mieux de faire ce rename en backend ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Tu peux préciser le fond de ta pensée ?

@iNeoO
Copy link
Contributor

iNeoO commented Nov 13, 2024

faudrait faire des tests unitaires sur les nouveaux endpoints

feat(BO): ficher territoire wip 2 636

feat(BO): liste territoire et détail 635-636

fix: prise en compte Issues
Copy link

sonarcloud bot commented Nov 14, 2024

@l-scherer l-scherer merged commit 9403de7 into main Nov 14, 2024
5 of 6 checks passed
@l-scherer l-scherer deleted the feat/bo-liste-territoires-636 branch November 14, 2024 18:56
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.

3 participants