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

[BO - Signalement] Pouvoir éditer la géolocalisation dans la fiche #3659

Merged
merged 2 commits into from
Feb 5, 2025

Conversation

numew
Copy link
Collaborator

@numew numew commented Feb 3, 2025

Ticket

#3594

Description

  • Modification du "Voir la carte" qui ouvre à présent une modale
  • Quand le signalement n'est pas géolocalisé, le "Voir la carte" est remplacé par un "Sélectionner le bâtiment sur la carte" qui affiche le sélecteur de bâtiments du RNB

Pré-requis

npm install
npm run watch
make load-fixtures

Tests

Se rendre sur le signalement http://localhost:8080/bo/signalements/00000000-0000-0000-2025-000000000004

  • Tester le fonctionnement du système de sélection de bâtiment
  • S'assurer qu’après la sélection d'un bâtiment la localisation "Voir la carte" est bien positionnée

Copy link
Collaborator

@emilschn emilschn left a comment

Choose a reason for hiding this comment

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

OK lecture et test

Copy link
Collaborator

@sfinx13 sfinx13 left a comment

Choose a reason for hiding this comment

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

Faudrait ajouter un feature flipping sur la fiche et remettre le l'ancien lien

@@ -238,4 +240,37 @@ public function switchValue(Signalement $signalement, Request $request, EntityMa

return $this->json(['response' => 'error'], 400);
}

#[Route('/{uuid:signalement}/set-rnb', name: 'back_signalement_set_rnb', methods: 'POST')]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Tester cette nouvelle route

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ok

@sfinx13 sfinx13 merged commit 10d28ac into develop Feb 5, 2025
5 checks passed
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