-
Notifications
You must be signed in to change notification settings - Fork 0
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
[FO - Signalement] Détecter les doublons #2416
[FO - Signalement] Détecter les doublons #2416
Conversation
cefef17
to
69ba2e8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
assets/vue/components/signalement-form/components/SignalementFormModalAlreadyExists.vue
Outdated
Show resolved
Hide resolved
28b216e
to
9f95ec2
Compare
b592919
to
86b812d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests et relecture ok (une petite remarque de code facultative)
b11d9d6
to
a572810
Compare
8497cde
to
6434ca6
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Des petits détails, pas utile de bloquer la PR
Lecture OK + Test OK
'already_exists' => true, | ||
'type' => 'signalement', | ||
'signalements' => $signalements, | ||
'uuid_draft' => $existingSignalementDraft?->getUuid() ?? null, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pas utile ici d'envoyer l'uuid_draft.
SignalementDraftRepository $signalementDraftRepository, | ||
SignalementRepository $signalementRepository, | ||
): Response { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JsonResponse
NotificationMailerRegistry $notificationMailerRegistry, | ||
Signalement $signalement, | ||
Request $request | ||
): Response { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JsonResponse
Ticket
#2327
Description
Détecter un signalement déjà créé sur adresse + mail déclarant
Si tiers déclarant, proposer une liste de signalements (le cas échéant)
Changements apportés
Pré-requis
Tests