Commit graph

15937 commits

Author SHA1 Message Date
Colin Darie
2d7eca9dd2 feat(combo): debounce only with address / autocomplete binded on API 2022-10-10 21:09:30 +02:00
Colin Darie
5ab880aae7 chore(yarn): +use-debounce 2022-10-10 17:37:26 +02:00
Paul Chavard
402d0dd3db
Revert "refactor(react): useDeferredValue"
This reverts commit cd4d7b5d36.
2022-10-10 17:36:33 +02:00
LeSim
668f5a70f5
Merge pull request #7832 from betagouv/perf_dossier_save
perf(dossier_controller): améliore la performance d'affichage d'un dossier
2022-10-10 12:52:10 +02:00
simon lehericey
157c3778df refactor(dossier_preloader): add option to laod pj_template 2022-10-10 12:31:40 +02:00
simon lehericey
7e03f0c825 refactor(dossier_preloader): add load_one api 2022-10-10 12:31:40 +02:00
simon lehericey
5920168077 refactor(dossier_preloader): preload piece_justificative_template 2022-10-10 12:31:40 +02:00
simon lehericey
1f95f68fcc refactor(dossier_preloader): assign champ.parent 2022-10-10 12:31:40 +02:00
simon lehericey
01f6e5a06b spec(dossier_preloader): add spec 2022-10-10 12:31:40 +02:00
simon lehericey
5df76d9fec refactor(dossier_preloader): remove weird set_inverse_instance 2022-10-10 12:31:40 +02:00
simon lehericey
f32b05e8b4 perf(dossier controller): use DossierPreloader 2022-10-10 12:31:40 +02:00
mfo
b04f3499c9
Merge pull request #7879 from mfo/US/export-destroyed
fix(export): quand on essaie d'exporter la liste des dossiers recemment supprimé, celle ci est vide
2022-10-10 12:07:53 +02:00
Martin
c921e6e1ee fix(ProcedureExportService): downloadable_sorted_batch is scoped by export, no need to re-filter them via downloadablable_sorted_batch otherwise export for supprimes_recemment does not includes dossier.supprimes_recemment 2022-10-10 11:11:21 +02:00
Eric Leroy-Terquem
8f2d0168e5
Merge pull request #7827 from E-L-T/7807-fix-etq-admin-ne-pas-activer-routage-sans-groupe
7807 fix améliore la validation sur le libellé de routage
2022-10-10 10:06:17 +02:00
Eric Leroy-Terquem
1177d861f4 add validation on routing_criteria_name 2022-10-10 09:48:11 +02:00
mfo
d9e2c89c2f
Merge pull request #7861 from mfo/US/cleanup-procedure-dead-col
chore(clean) : drop useless procedures.direction
2022-10-07 19:04:08 +02:00
Martin
1f8bf201a2 feat(procedure_serializer): just add an empty string for direction 2022-10-07 18:39:17 +02:00
Martin
6752da40a9 test(procedure.direction): can we drop this column ? 2022-10-07 18:39:17 +02:00
LeSim
69ef54a173
Merge pull request #7871 from mfo/fix-clean-migrate-type-de-champs-engagement
fix(data): move type de champs engagement to checkbox
2022-10-07 18:37:10 +02:00
Martin
c52b06a84f fix(data): move type de champs engagement to checkbox 2022-10-07 18:30:56 +02:00
LeSim
acdbf5ed5e
Merge pull request #7875 from betagouv/fix_draft_reset
fix: supprime les types de champ orphelins due au reset de la version brouillon
2022-10-07 18:29:35 +02:00
simon lehericey
ceaf8ebbe7 fix: orphan tdc due to reset_draft 2022-10-07 17:44:30 +02:00
mfo
1c37fd7a6f
Merge pull request #7873 from betagouv/remove-zones-validation
a procedure without zone is finally valid
2022-10-07 17:31:20 +02:00
krichtof
44018a86de a procedure without zone is finally valid 2022-10-07 16:59:12 +02:00
LeSim
c773fea916
Merge pull request #7849 from betagouv/bump_haml
chore: bump haml
2022-10-07 14:01:45 +02:00
simon lehericey
15ed3f07d9 fix: pluralize (?) 2022-10-07 13:56:05 +02:00
simon lehericey
f54407aa1e fix: last_week_overview 2022-10-07 13:56:05 +02:00
simon lehericey
e86375046b fix: label in linked_drop_down 2022-10-07 13:56:05 +02:00
simon lehericey
3dc0ed7695 fix: label in multiple_drop_down_list 2022-10-07 13:56:05 +02:00
simon lehericey
87d0334c1c fix: label in champ component 2022-10-07 13:56:05 +02:00
simon lehericey
daed0d6d5e chore: bump haml, haml-lint 2022-10-07 13:56:05 +02:00
mfo
978a4c7713
Merge pull request #7870 from mfo/US/fix-champs-and-type-de-champs-without-revision
fix(type_de_champ.donnée): supprime les orphelins des tables type_de_champs et champs n'étant pas rattaché à une révision et étant attaché à un dossier
2022-10-07 13:54:11 +02:00
Martin
285c7d704a fix(type_de_champ.data): drop former orphan from type_de_champ and champ without coordinates 2022-10-07 11:08:36 +02:00
krichtof
23de1bff65
Merge pull request #7815 from betagouv/7692-multizone
Un administrateur peut associer plusieurs zones à une démarche
2022-10-07 10:55:39 +02:00
Christophe Robillard
272c8cae09 cannot publish a procedure if no zones 2022-10-07 10:48:35 +02:00
Christophe Robillard
bdcb451d3c procedure publiee must have one zone at least 2022-10-07 10:48:35 +02:00
Christophe Robillard
2985295a00 use normal font weight for checkbox labels 2022-10-07 10:48:35 +02:00
Christophe Robillard
a6928e7ca2 add ZonesComponent 2022-10-07 10:48:35 +02:00
Christophe Robillard
4d2c37ffdf extract checkboxes zones to dedicated page 2022-10-07 10:48:35 +02:00
Christophe Robillard
94ca93e130 can choose multiple zones 2022-10-07 10:48:35 +02:00
Christophe Robillard
6d90f65159 backfill procedures_zones 2022-10-07 10:48:34 +02:00
Christophe Robillard
bffd9d61a9 add habtm between procedures and zones 2022-10-07 10:48:34 +02:00
mfo
5a6dddc6d5
Merge pull request #7868 from mfo/US/fix-migration-backfill
fix(migration): backfill max_duree_conservation_dossiers_dans_ds with…
2022-10-06 20:47:16 +02:00
Martin
f2a6697ebe fix(migration): backfill max_duree_conservation_dossiers_dans_ds without typo 2022-10-06 20:08:48 +02:00
LeSim
6054bf68a7
Merge pull request #7867 from betagouv/fix_mail_previewers
Fix: aperçu des mails
2022-10-06 18:02:37 +02:00
simon lehericey
ba805a7436 fix: invite_mailer previews 2022-10-06 17:43:09 +02:00
simon lehericey
6cba489a54 fix: send_notifications preview 2022-10-06 17:43:09 +02:00
simon lehericey
878958b23b fix: invite_instructeur preview 2022-10-06 17:43:09 +02:00
simon lehericey
b9ef8c5001 fix: add_instructeur preview 2022-10-06 17:43:09 +02:00
simon lehericey
0e75f9960b fix: send_dossier_decision preview 2022-10-06 17:43:09 +02:00