Commit graph

231 commits

Author SHA1 Message Date
Colin Darie
455086c1d7
fix(champs): don't fail on updated_at comparison when champ is not persisted 2024-03-19 11:46:08 +01:00
Paul Chavard
900db5624f refactor(champs): if champ not found - build it 2024-03-17 23:51:45 +01:00
Paul Chavard
cf684ffd40
Merge pull request #10050 from tchak/fix-batch-motivation
ETQ Instructeur je veux attribuer la motivation correcte à ma décision
2024-03-05 17:01:54 +00:00
Martin
436caa2305 fix(repetition): re-add repetition style and indexing 2024-03-04 10:59:11 +01:00
Paul Chavard
02591da16b refactor(section): update section components 2024-03-04 10:59:11 +01:00
Paul Chavard
529461f3b6 fix(instructeur): motivations from different states should not conflict 2024-02-28 13:42:44 +01:00
seb-by-ouidou
9ddd55d5cd feat: remove commentaire_component and replace it by message_component + replace commentaires/_form by messages/_form + few fixes 2024-02-15 07:50:20 +00:00
Paul Chavard
cf10b68d0d fix(geo_area): allow up to 50 geo_area to be edited 2024-02-13 12:09:03 +01:00
Colin Darie
f112569192
fix(haml-lint): TrailingEmptyLine 2024-02-12 09:33:23 +01:00
Colin Darie
0bb25765d9 style(carte): passe l'UI au DSFR 2024-02-08 17:25:22 +01:00
simon lehericey
560c2d763c fix(view_component): use new slot name 2024-01-08 11:57:47 +01:00
Colin Darie
e17c3bd046
Merge pull request #9839 from mfo/US/fix-filter-focus-out-with-not-selected-filter
correctif : ETQ instructeurs, lorsque je sors du composant de filtrage sans choisir une option, le site renvoie une erreur
2023-12-21 08:42:12 +00:00
Martin
d27e4fc693 amelioration(combobox): permet de passer des options au input[type=hidden], utilise cette option pour autosubmit uniquement un input [dans notre cas, ne soumet pas a l'input du combobox, mais a l'input hidden une fois le combobox selectionné] 2023-12-15 11:23:25 +01:00
Lisa Durand
f34090f8fd display last export alert in view 2023-12-13 10:26:33 +01:00
Colin Darie
968b2cfb0a
Merge pull request #9818 from colinux/correction-remove-from-message
ETQ instructeur, ma demande de correction est supprimée (résolue) lorsque je supprime son message associé
2023-12-11 13:07:43 +00:00
Colin Darie
17c4b6288d
fix(message): improve translation about correction deletion
Co-authored-by: mfo <mfo@users.noreply.github.com>
2023-12-11 11:43:54 +01:00
mfo
b56d5199e2
Merge pull request #9820 from mfo/US/filter-dossier-with-combobox
ETQ instructeur, lorsque je veux filtrer les dossiers d'une démarche, je peux utiliser un autocomplete
2023-12-11 09:48:58 +01:00
seb-by-ouidou
96adffb5f5 fix: remove brouillon from repousser_expiration 2023-12-09 06:27:00 +01:00
seb-by-ouidou
8c1bc9e62f feat: batch action for repousser_expiration depuis expirant 2023-12-09 06:27:00 +01:00
seb-by-ouidou
9031de803b feat: batch action for passer_en_instruction depuis a_suivre 2023-12-09 06:27:00 +01:00
seb-by-ouidou
5c80f6c3f0 feat: batch action for desarchiver 2023-12-09 06:27:00 +01:00
seb-by-ouidou
c0c2e35881 feat: batch action for restaurer 2023-12-09 06:27:00 +01:00
seb-by-ouidou
5ec95d781c feat: batch action for supprimer 2023-12-09 06:27:00 +01:00
Martin
1f13000537 amelioraiton(instructeur.filtres): utilise un combobox pour rechercher le type de champs 2023-12-08 16:10:18 +01:00
Colin Darie
accd7864ff feat(correction): deleting a comment resolves the related correction
Cf #9731
2023-12-07 15:41:50 +01:00
Lisa Durand
f311f9e7d8 fix actions multiples dropdown instruction 2023-12-06 16:57:29 +01:00
Colin Darie
c24a94430d style: improve dark theme messagerie buttons & iconography 2023-12-04 14:47:05 +01:00
Colin Darie
e9471d2843
style(message): replace legacy icons 2023-12-04 14:07:31 +01:00
Colin Darie
494aa2bf40
style: replace accept legacy icon 2023-12-04 14:07:29 +01:00
Colin Darie
ef8dc97a4c
style: replace legacy delete icon 2023-12-04 14:07:18 +01:00
Colin Darie
ba076357c5
feat(dossier): submit en construction resolve automatically correction except for sva 2023-11-22 12:35:42 +01:00
Eric Leroy-Terquem
694cbcd0a2 feat(rnf): add rnf type_de_champ 2023-11-07 14:21:28 +01:00
Colin Darie
21b6479ace feat(messages): re-enable simple autolink for instructeurs messages
Closes #9541
2023-11-06 19:01:25 +01:00
Colin Darie
f942610d32
Merge pull request #9473 from demarches-simplifiees/create-export-page-V2-ldu
[Export] Créer une page d'export et sortir les liens des dropdowns
2023-09-28 17:15:31 +00:00
Martin
d8220395c8 amelioration(usagers.dossiers.erreurs): ETQ usager, lorsque je soumets un dossier avec des erreurs, le format des erreurs est au format du DSFR
Update app/components/dossiers/errors_full_messages.rb
Update app/components/dossiers/errors_full_messages/errors_full_messages.html.haml

Co-authored-by: Colin Darie <colin@darie.eu>
2023-09-28 17:50:47 +02:00
Colin Darie
d4198869fb
chore(exports): dropdown menu re-uses the same pending export or create a fresh one
Pour permettre d'avoir des données fraiches dans un export tout
en conservant l'historique des exports,
la demande d'export depuis le menu créé toujours un nouvel export sauf:
- si un autre export identique est déjà en préparation
- si un autre export identique s'est terminé il y a moins de 5 minutes

Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 15:23:31 +02:00
Colin Darie
d9687f7418
chore(exports): minor wording improvements and clarifications 2023-09-28 12:35:26 +02:00
Colin Darie
2283c7eba7
test(exports): minimal coverage for ExportLinkComponent 2023-09-28 12:35:22 +02:00
Colin Darie
daa8eac9cc
style(exports): download link instead of button 2023-09-28 12:35:21 +02:00
Colin Darie
307ba68970
feat(exports): humanize status name 2023-09-28 12:35:20 +02:00
Colin Darie
3af93735a3
feat(exports): turbo poll for pending exports 2023-09-28 12:35:19 +02:00
Colin Darie
ed057737a5
feat(exports): name the dossiers count 2023-09-28 12:35:18 +02:00
Lisa Durand
c7cd5d2189
improve UX for export page 2023-09-28 12:35:16 +02:00
Lisa Durand
58a143b2c7
improve wording and display for export page 2023-09-28 12:35:15 +02:00
Colin Darie
99f5b39dbb
fix(exports): force regenerate export with same statut filter
Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 12:35:12 +02:00
Colin Darie
fc66f4b05d
refactor(exports): drop useless exports relation dependency for exports dropdown
Since the dropdown does not list download links anymore,
we don't have to pass them a dynamic exports list.

Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 12:35:08 +02:00
Lisa Durand
5a571a3535
create export page to list all the exports and remove links from the dropdown 2023-09-28 12:35:04 +02:00
Lisa Durand
7311bcebb9
Merge pull request #9363 from demarches-simplifiees/dashboard-usager/make-search-work-with-procedure-filter
[refonte usager] Tableau de bord - rendre recherche complémentaire avec filtre par procédure
2023-09-13 12:55:42 +00:00
Lisa Durand
2f5310a470
Merge pull request #9457 from demarches-simplifiees/create-export-page-ldu
Reorganisation des boutons sur l'interface instructeur
2023-09-11 07:59:20 +00:00
Lisa Durand
bf64110b20 put back max value length 2023-09-06 14:07:26 +02:00
Lisa Durand
5fed1c0330 make dropdown filter for instructeur to DSFR 2023-09-06 12:40:01 +02:00
Lisa Durand
5fe5320127 style checkbox for notification as regular checkbox instead of switch button 2023-09-05 18:07:04 +02:00
Lisa Durand
387c89f23c move personnalize button inside the table 2023-09-05 17:14:18 +02:00
Lisa Durand
5ff5923612 make dossiers search compatible with filter by procedure 2023-09-04 16:42:19 +02:00
Eric Leroy-Terquem
ca8a3732f5 feat(DossierAssignment): add warning when dossier is reaffected 2023-07-31 14:41:37 +02:00
Martin
48925b26d6 amelioration(invite): ETQ invite, le fait que c'est au titulaire du dossier de deposer le dossier est plus visible 2023-07-26 12:31:47 +02:00
Paul Chavard
39613ed67d fix(a11y): add label and remove non unique id 2023-07-24 18:22:35 +02:00
Paul Chavard
8cdedded45 fix(dossiers): pluck procedure information for user dossiers 2023-07-24 16:48:05 +02:00
Lisa Durand
8ed1e97ee1 add filter by procedure for user for all tabs 2023-07-19 17:57:24 +02:00
Lisa Durand
3e30834644
Merge pull request #9274 from demarches-simplifiees/bach-operation-all-instruction-actions
[Actions multiples] Ajouter la possibilité pour les instructeurs de classer sans suite et refuser
2023-07-12 09:43:29 +00:00
Colin Darie
9462d66778 fix(batch): disable dropdown when alls buttons inside are disabled
Co-Authored-by: Lisa Durand <lisa.c.durand@gmail.com>
2023-07-11 18:33:50 +02:00
Paul Chavard
d5820277c0 feat(cojo): add cojo type de champ 2023-07-10 14:57:34 +02:00
Colin Darie
c46192f21e
style(demande): layout mode doc optimized with contrasted values 2023-07-07 12:14:47 +02:00
Lisa Durand
ae55655014 add placeholder for motivation field 2023-07-06 16:12:42 +02:00
Lisa Durand
a694d65911 add alert to validate action and improve translation for unique batch operation 2023-07-05 10:07:12 +02:00
Lisa Durand
b2ba15a277 add specs 2023-07-04 11:40:11 +02:00
Lisa Durand
3577bcbffa make batch instruction button disable 2023-07-04 11:13:39 +02:00
Colin Darie
0ffc14944d
refactor(demande): single champ row component everywhere 2023-07-04 10:47:41 +02:00
Colin Darie
e899fe5f5f
style(demande): layout with 2 columns 2023-07-04 10:47:41 +02:00
Lisa Durand
220b71bbf7 add classer_sans_suite and refuser to batch operation 2023-07-03 16:05:48 +02:00
Martin
71c4e93544 correctif(demande): ETQ usager, instructeur, je ne souhaite pas voir les champs conditionné et non visible dans un bloc repetable 2023-06-29 16:01:41 +02:00
Martin
dfb525892a amelioration(instructeurs/dossiers/show): ETQ instructeur, je vois les champs saisi, les champs qui ont ete vidé apres le depot du dossier, je ne vois pas les champs facultatif jamais saisis 2023-06-29 07:59:32 +02:00
Colin Darie
25015a8b8b
style(demande): modification date as badge 2023-06-29 01:18:50 +02:00
Paul Chavard
c284c678a8 fix(dossier): do not show header section title twice 2023-06-28 11:23:51 +02:00
Colin Darie
0cec8947d9 chore(demande): no facultatif word on instructeur profile 2023-06-28 09:55:57 +02:00
Colin Darie
1bdc6c02c6 style(demande): homogeneize "blank" champs and not attached files champs 2023-06-27 17:44:21 +02:00
Colin Darie
d7cc5a8091
style(demande): italic for empty champ value (accordingly to mockup) 2023-06-27 15:30:52 +02:00
Colin Darie
ea559edb92
style(demande): fix highlighted background updated at champ 2023-06-27 15:30:52 +02:00
Colin Darie
899f671aed
style(demande): improve global readability 2023-06-27 15:30:51 +02:00
Colin Darie
8358a1c9e6 style: remove oboslete class champ-updated-at 2023-06-27 11:04:26 +02:00
Martin
bc8b2e2c97 correctif(champ.pj): ETQ usager et instructeur, l'affichage des PJs etait cassé 2023-06-27 09:44:48 +02:00
Martin
217f32deca review(colin): quelques suggestions de co-linux 2023-06-23 10:45:35 +02:00
Martin
43c6f03d10 amelioration(users/dossiers#demande): passage a la nouvelle ui/ux
wip
2023-06-22 16:54:17 +02:00
Lisa Durand
52bbd47ebe add constant for 'à_corriger' 2023-06-19 16:16:44 +02:00
Lisa Durand
bcc37f4130 change states filter from checkbox to select and add 'a_corriger' 2023-06-15 18:17:36 +02:00
LeSim
d22c0f47f3
Merge pull request #9155 from demarches-simplifiees/add_info_on_export
Ajoute un lien dans le menu d'export vers la doc sur les macros
2023-06-13 08:25:49 +00:00
LeSim
898b9db960
Merge pull request #9167 from tchak/use-persisted
refactor: use persisted? instead of created_at.present?
2023-06-13 08:15:58 +00:00
simon lehericey
8c2f838fd1 wording: add doc link concerning excel macros 2023-06-13 10:14:10 +02:00
Eric Leroy-Terquem
ea9213bf90 fix typos in components 2023-06-12 15:13:25 +02:00
Paul Chavard
9551368203 refactor: use persisted? instead of created_at.present? 2023-06-12 14:25:50 +02:00
Paul Chavard
f563e210f3 refactor(carto): geo area as component 2023-06-12 10:33:56 +02:00
Colin Darie
7f871728c7
refactor(message): badges à corriger/en attente/corrigé when related to a correction 2023-06-02 16:18:33 +02:00
Colin Darie
734d88d80d
fix(pending-correction): wording alignement 2023-06-02 16:16:14 +02:00
Colin Darie
a32014d4fd
feat(correction): user can mark dossier en_construction as resolved 2023-06-02 16:16:14 +02:00
Colin Darie
ca3b127942
feat(instructeur): can flag a dossier as "pending corrections" 2023-06-02 16:16:12 +02:00
Colin Darie
d3028f5570
Merge pull request #9037 from demarches-simplifiees/fix-bug-alert-batch-incrementation
[Fix] Actions multiples - Corriger le compteur dans les alertes + ajouter des infos sur le créateur du batch
2023-05-15 10:32:31 +00:00
Lisa Durand
9deb452ac0 add info about who created the batch and when in alert 2023-05-11 17:13:02 +02:00
Lisa Durand
1e7add3b6e fix incrementation of success dossiers in batch alert 2023-05-11 15:42:23 +02:00
Colin Darie
76088d1ee8
refactor(autosave): improve en_construction feedback wording 2023-05-09 18:49:53 +02:00
Colin Darie
c35176703f
feat(dossier): inform dossier en_construction having not submitted changes 2023-05-09 18:49:52 +02:00