Commit graph

416 commits

Author SHA1 Message Date
Lisa Durand
34609ffffe
Merge pull request #9210 from demarches-simplifiees/design-harmonize-header-admin
[design ADMIN] Mettre le libellé de la procédure en h1 et harmoniser le header
2023-06-26 08:15:15 +00:00
Lisa Durand
87347d34c6 change date with status + add a title on the page regarding to Olivier Figma 2023-06-22 15:38:49 +02:00
Lisa Durand
9338a73362 add possibility to override generated pj list by admin 2023-06-22 09:50:38 +02:00
Lisa Durand
33cc696d81 replace info and warning old cards by DSFR components 2023-06-21 12:24:45 +02:00
Lisa Durand
7ee62a170d harmonize admin header for dashboard view 2023-06-19 15:42:24 +02:00
Paul Chavard
b3aeb46c1b fix(prefill): it should be possible to prefill a dossier on a test procedure 2023-06-14 09:14:12 +01:00
Eric Leroy-Terquem
4b1389ac7e
Merge pull request #9188 from demarches-simplifiees/add-confirm-modal-before-reset-draft-revision
ETQ admin je vois une modale pour confirmer la réinitialisation des modifications de la procédure
2023-06-13 15:05:01 +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
Eric Leroy-Terquem
04e11aa609 add a confirm modal before reset draft 2023-06-13 09:34:48 +02:00
Eric Leroy-Terquem
6bc15b8342 feat(groupe instructeur): add import - export partial in group page 2023-06-12 17:08:34 +02:00
Eric Leroy-Terquem
bd846e721d fix typos in views 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
Lisa Durand
84909b8597 improve design to make it more like figma 2023-06-05 17:18:14 +02:00
Lisa Durand
968f05f648
Merge pull request #9107 from demarches-simplifiees/remove-previsualisation-from-admin-procedure-creation
[Refonte page accueil demarche] Formulaire de création admin full page - plus de prévisualisation
2023-06-05 12:10:31 +00:00
Lisa Durand
5dcf7e4ab4 fix z-index on sticky footer and fix breadcrumb putting back .sub-header class 2023-06-05 11:11:09 +02:00
Paul Chavard
c040cf5a65 chore(coldwired): data-turbo-force needs to be explicit 2023-06-02 08:58:52 +02:00
Colin Darie
619c470170
fix(procedure): more details about auto archive behavior 2023-06-01 16:49:57 +02:00
Lisa Durand
4fdcce45c5 fix specs 2023-05-31 17:33:49 +02:00
Lisa Durand
6b1c80ebc9 remove form previsualisation button from dashboard and improve design action buttons 2023-05-31 12:24:42 +02:00
simon lehericey
9004dd9758 remove old logic 2023-05-31 11:38:16 +02:00
simon lehericey
2e1b8b9ef2 add import export view 2023-05-31 11:38:16 +02:00
simon lehericey
01caa498d3 add simple_routing 2023-05-31 11:38:16 +02:00
simon lehericey
8b568c2035 add ajout 2023-05-31 11:38:16 +02:00
simon lehericey
6b3447d71b add options 2023-05-31 11:38:16 +02:00
simon lehericey
c77450382c admin groupe instructeur show : use menu and one groupe management 2023-05-31 11:38:16 +02:00
simon lehericey
174f7a7c53 add one_groupe_management_component 2023-05-31 11:38:16 +02:00
simon lehericey
5b0e0ced3c add groupes_management_component 2023-05-31 11:38:16 +02:00
simon lehericey
171a6b35fb use instructeur_menu 2023-05-31 11:38:16 +02:00
simon lehericey
588efc8b34 admin instructeur index: fix breadcrumb 2023-05-31 11:38:16 +02:00
simon lehericey
6bfbf8ca0e reset admin groupe instructeur index 2023-05-31 11:38:16 +02:00
Lisa Durand
c6f13f63b5 remove previsualisation from procedure creation form 2023-05-31 11:33:59 +02:00
Lisa Durand
a20ec44841
Merge pull request #9074 from demarches-simplifiees/add-more-info-on-procedure-description
[Refonte page accueil demarche] Détailler la description pour plus de clarté pour l'usager
2023-05-30 09:45:32 +00:00
Lisa Durand
31969b290b create a new layout without procedure for login and use same layout full_screen without description for identite step 2023-05-25 16:15:31 +02:00
Lisa Durand
1c409f0145 use DSFR input components for form 2023-05-25 10:18:26 +02:00
Christophe Robillard
1bda86be03 suggest default zones 2023-05-24 17:40:00 +02:00
Lisa Durand
7340206f81 rollback - add just one new field and use actual description field 2023-05-24 11:31:24 +02:00
Lisa Durand
8291d58dbb add dsfr style and add depreciated field description for older procedure 2023-05-23 17:22:19 +02:00
Lisa Durand
6274594c70 add new layout to handle new full screen design 2023-05-23 16:49:37 +02:00
Lisa Durand
4a51a9a351 add two more fields for procedure description what et and for_who 2023-05-22 15:36:48 +02:00
Kara Diaby
c2296630fa Ajout de la prévisualisation de la démarche dans la page toutes les démarches 2023-05-04 10:56:59 +02:00
LeSim
4c5e903673
Merge pull request #8887 from demarches-simplifiees/8839-filter-by-siret
Filtrer les démarches par service
2023-04-26 19:44:08 +00:00
Lisa Durand
f5ffd1ad5e
Merge pull request #8947 from demarches-simplifiees/user-dashboard/add-pagination
[refonte usager] Tableau de bord - Améliorer pagination
2023-04-24 14:08:08 +00:00
Lisa Durand
75415cf6dc
Fix typo issue
Co-authored-by: Colin Darie <colin@darie.eu>
2023-04-24 10:26:03 +02:00
Lisa Durand
1c20a9160c add dsfr style pagination for all users 2023-04-21 17:19:17 +02:00
Eric Leroy-Terquem
06de9bf4b4 do not use notifier verb in the wrong way 2023-04-21 09:56:32 +02:00
Paul Chavard
586286cb08
Merge pull request #8916 from demarches-simplifiees/can-update-defaut-groupe-instructeur-2
feat(routage): permet de changer le groupe par défaut
2023-04-20 08:28:46 +00:00
Martin
b9faa26560 amelioration(editeur-de-champs): permet de choisir un niveau de titre (de 1 à 3) pour les champs de type Champs::HeaderSectionChamp. Gère les erreurs dans le cas ou un administrateur supprimerait un HeaderSection qui casserait l'ordre des titre [ex: titre 1,2,3. et l'admin supprime le titre 1 et il reste que 2,3]. 2023-04-20 08:22:02 +02:00
simon lehericey
b3ce3820a9 refactor(ui): use proper title 2023-04-19 13:52:41 +02:00
simon lehericey
43b0eae3ee refactor(ui): enough space for button 2023-04-19 13:52:41 +02:00
krichtof
6ed6f1ae58 add service siret filter in all demarches view 2023-04-12 18:53:57 +02:00
Eric Leroy-Terquem
eda48567ef fix link for csv example file 2023-04-11 14:36:35 +02:00
mfo
54d88e7dd0
Merge pull request #8699 from mfo/US/8661
a11y(bloc-repetable): amélioration des interactions avec les répétitions d'un bloc répétable
2023-03-31 14:39:23 +00:00
Martin
035da4403f chore(a11y): mutualise la gestion des <button> qui font des action POST/DESTROY dans un composant unique 2023-03-31 16:15:40 +02:00
Eric Leroy-Terquem
6f6bbd6ca1 feat(routing): put routing logic behind a feature flag 2023-03-30 10:52:53 +02:00
simon lehericey
e950363d21 feat(routing): add routing component 2023-03-30 10:51:20 +02:00
Kara Diaby
12e0b232dc Garde les tags dans les params lors de la pagination 2023-03-28 21:47:02 +02:00
Kara Diaby
2f9c375fad layout 2023-03-27 14:14:18 +02:00
Martin
0b3f279012 correctif(procedure.maj): utilise procedure.max_duree_conservation_dossiers_dans_ds plutot que duree_conservation_etendue_par_ds pour contraindre la saisie du champs duree_conservation_dossiers_dans_ds 2023-03-10 10:18:29 +01:00
Colin Darie
88efef0718
Merge pull request #8749 from colinux/fix-tags-persistence
Administrateur: ne supprime pas les tags quand on n'interagit pas avec la liste de sélection
2023-03-09 15:25:15 +00:00
Colin Darie
c112018ec3 fix(administrateur): tags persistence when non interacting with tags combobox 2023-03-08 11:27:31 +01:00
Eric Leroy-Terquem
9f0f5b0dc5 feat(groupe instructeur): allow import of many groups when procedure is not routed yet 2023-03-08 10:48:02 +01:00
Kara Diaby
cb0417aad4 Possibilité de selectionner plusieurs tags dans la page toutes les demarches 2023-03-03 11:50:47 +01:00
Martin
81c389a465 correctif(admin/procedures#champs): ajoute le formulaire pour supprimer une PJ 2023-03-02 13:51:00 +01:00
Paul Chavard
c339f609c0 fix(demarches): improuve turbo refresh on demarches page 2023-02-28 14:05:23 +01:00
Christophe Robillard
4e8a6f6b11 show published_at only if exist 2023-02-24 17:45:01 +01:00
Eric Leroy-Terquem
d516d2a3eb feat(groupe instructeur): add a confirm modal before import 2023-02-23 10:56:55 +01:00
Eric Leroy-Terquem
25df48f255 feat(groupe_instructeurs): import instructeurs in unrouted procedure with a proper CSV 2023-02-22 09:49:26 +01:00
Martin
f6fb1ceca5 correctif(attachement_edit): ajoute le cmmposant <form> pour supprimer un attachment via le nouveau <button> 2023-02-21 16:41:18 +01:00
Christophe Robillard
9bab4f9d76 display dossiers count for each procedure 2023-02-21 10:06:07 +01:00
Colin Darie
31c99e935a refactor(admin): migrate password form to DSFR components 2023-02-16 16:15:40 +01:00
Martin
0fe027f408 a11y(main_menu): utilise aria-current=true plutot que avec page 2023-02-16 09:45:32 +01:00
Colin Darie
1de936e1d6 fix(procedures/all): table layout issue 2023-02-15 15:33:50 +01:00
Martin
c45f15ff61 correctif(procedure/all.xsls): deconnecte le lien de telechargement de toutes les demarche de turbo 2023-02-15 11:26:21 +01:00
Colin Darie
e626eb69ce feat(admin): import groupe instructeurs csv when procedure is closed 2023-02-09 11:17:13 +01:00
Kara Diaby
f212fa1008 Permet de cloner une démarche depuis la page toutes les démarches 2023-02-09 08:28:30 +00:00
Julie Salha
b39d658c06 fix translations tabs menu 2023-02-03 09:17:16 +01:00
Julie Salha
0e4a332706
Update app/views/administrateurs/procedures/index.html.haml
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2023-02-03 08:17:08 +01:00
Julie Salha
2db959531a optimization navigation accessibility 2023-02-02 16:04:42 +01:00
Paul Chavard
3ad5e7d3b9 fix(tags): can edit tags on published demarches 2023-02-01 11:11:04 +01:00
Martin
2be0f5aa99 amelioration(menu): extraction des menu dans un composant ruby pour ne pas dupliquer les changements aria partout ds la codebase 2023-01-26 11:13:23 +01:00
Colin Darie
587a4c4d95 style(spinner): replace legacy spinner 2023-01-26 09:06:30 +01:00
Paul Chavard
5b9e534b3f chore(turbo): morph all the things 2023-01-25 13:45:26 +01:00
Martin
a73c3d8bdf fix(attestation): re-essaie une fois de telecharger le logo/signature au moment de generer l'attestation. sinon on peut se retrouver avec des dossier qui restent en status en construction alors qu'ils devraient etre automatiquement soit en instruction, soit accepte 2023-01-23 14:24:07 +01:00
mfo
1926aa283d
Merge pull request #8425 from adullact/fix/procedure-custom-retention
Fix du support d'une durée personnalisée de conservation des dossiers
2023-01-23 12:11:29 +01:00
Kara Diaby
b81c36c6b8 layout 2023-01-18 18:46:42 +01:00
Paul Chavard
a9d4ff85e6 refactor(js): more autosubmit controllers 2023-01-16 15:59:43 +01:00
François Vantomme
d60d626a91
fix(procedure): use NEW_MAX_DUREE_CONSERVATION as number field max limit 2023-01-12 14:37:37 +01:00
Paul Chavard
c7c6d50df6 refactor(js): use autosubmit controller in procedure/all pages 2023-01-12 12:01:19 +01:00
Paul Chavard
3e0adc15db refactor(demarches): use turbo-frame 2023-01-12 11:30:14 +01:00
Martin
e22038784d typo(page.dossier-envoye): typo 2023-01-12 11:01:06 +01:00
Paul Chavard
5641c2b078 fix(groupe_instructeur): only show to administrators the number of visible files 2023-01-11 21:49:08 +01:00
simon lehericey
9043bed3a0 refactor(procedure_presentation): add required tags 2023-01-11 14:05:17 +01:00
Paul Chavard
5128b9a086 refactor(demarches): use turbo_stream template 2023-01-10 09:48:32 +01:00
Sébastien Carceles
22ecbc2ffb
remove preremplir admin button (#8366) 2023-01-05 10:31:48 +01:00
Eric Leroy-Terquem
f82fba3e2f add folders number for instructor group 2023-01-02 15:43:13 +01:00
Kara Diaby
f7cb24ce40 Supprime le feature flag pour que tous les administrateurs puissent ajouter des tags sur les démarches 2023-01-02 11:13:31 +01:00
Damien Le Thiec
775eb16d95 Add link to prefill description from procedure show 2022-12-29 16:11:59 +01:00
Paul Chavard
0e73415904 feat(revision): improuve changes dashboard 2022-12-27 11:06:51 +00:00
Paul Chavard
9b3fa4dd3c refactor(revision): changes should be domain objects 2022-12-27 10:58:53 +00:00
Paul Chavard
7aa6f172dc feat(revision): show number of pending dossiers for each revision 2022-12-27 10:58:53 +00:00
Christophe Robillard
cfc2aec334 display all demarches only if zonage enabled 2022-12-21 09:02:16 +01:00
Christophe Robillard
11a18516b2 remove feature flag zonage 2022-12-21 09:02:16 +01:00
Christophe Robillard
a0da04e83c use config.ds_opendata_enabled
don't use anymore opendata feature flag
2022-12-20 12:52:56 +01:00
Martin
2be4441a70 amelioration(attestion.et.mail): deduplique les message d'erreur, améliore les messages d'erreur, gère la pluralisation des erreurs lorsque plusieurs tags sont concernés 2022-12-19 09:28:46 +01:00
Martin
dd74834689 amelioration(attestation.et.mail): desactive les tags sur les champs conditionnés et informe l'usager que ca arrivera 2022-12-19 09:28:46 +01:00
Martin
ef389eab41 amelioration(attestation.et.mail): repositionne les messages d'erreur lié à la substitution des balises a proximité du formulaire pour faciliter la comprehension. passage des champs au DSFR 2022-12-19 09:28:46 +01:00
Christophe Robillard
f1595d1f50 wrap resultset tuples in ProcedureDetail 2022-12-16 15:51:49 +01:00
Christophe Robillard
5de0c8722e i18n for procedure attributes and values 2022-12-16 15:51:49 +01:00
Christophe Robillard
f3f8bc74c7 fetch procedure info on demand
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
Co-authored-by: Colin Darie <colin@darie.eu>
Co-authored-by: Martin <martin@sharypic.com>
2022-12-16 15:51:49 +01:00
Christophe Robillard
112fae8f00 improve style 2022-12-16 15:51:49 +01:00
Christophe Robillard
cea92c0488 perf: remove n+1 queries to count admin 2022-12-16 15:51:49 +01:00
Paul Chavard
8c173e45bf fix(admin): go to the right tab when click on breadcrumb link 2022-12-13 15:55:10 +01:00
Colin Darie
4824363879 refactor(attachment): rename user_can_download -> explicit view_as
- link: shows a simple link to open attachment
- download: shows complete DSFR download UI
2022-12-08 20:36:15 +01:00
Colin Darie
00e1e90cb6 fix: multipart upload on instructeurs import & acceptation avec PJ
Les options html dans un `form_tag` ne doivent pas être définies
sous la clé `html` mais directement à la "racine".

Fix régression introduite dans #7958
2022-12-05 17:28:12 +01:00
Colin Darie
e3ddb7779f fix(form): multipart option must be set under "html" to ensure rendering as expected 2022-12-05 10:47:10 +01:00
Colin Darie
0a114270af refactor(attachment): update Attachment::EditComponent everywhere 2022-12-05 10:47:10 +01:00
Colin Darie
a726350f0d feat(procedure): allow admin to enable multiple uploads for piece justificative on existing procedures 2022-12-05 10:47:10 +01:00
Paul Chavard
00556715d6 fix(typography): fix quotes 2022-12-01 17:59:11 +01:00
Paul Chavard
886a409abf fix(dossier): fix links to empty pdf templates 2022-12-01 17:35:01 +01:00
Eric Leroy-Terquem
76605f2c0b fix pagination 2022-11-29 17:46:30 +01:00
Christophe Robillard
3539b00652 search admins by email 2022-11-24 15:05:46 +01:00
Paul Chavard
405d2a695f refactor(attestation_template): remove from revisions 2022-11-23 12:26:26 +01:00
Paul Chavard
cafda4f6f0 refactor(attestation_template): move to procedure 2022-11-23 12:26:26 +01:00
Christophe Robillard
8e95c6a2ba search procedures by libelle 2022-11-22 17:08:17 +01:00
simon lehericey
bcccd57573 refactor(procedure_admins): delete old partial 2022-11-22 16:41:20 +01:00
simon lehericey
066c441b61 refactor(procedure_admins): use component 2022-11-22 16:41:20 +01:00
Paul Chavard
29bdd82b59 refactor(procedure): types_de_champ -> active_revision.types_de_champ_public 2022-11-17 13:54:14 +01:00
Christophe Robillard
cc35788d26 extract computation to controller 2022-11-10 18:02:20 +01:00
Christophe Robillard
3a15178cee use common layout for all procedures and admins 2022-11-10 18:02:20 +01:00
Christophe Robillard
5f5b6bf7c7 use specific route for all admins 2022-11-10 18:02:20 +01:00
Christophe Robillard
c96781cfad list all admins 2022-11-10 18:02:20 +01:00
Christophe Robillard
3b2df47ba0 add style for all admins link 2022-11-10 18:02:20 +01:00
Christophe Robillard
c1dad54483 fix padding for checkbox group
due to dsfr 1.8 upgrade
2022-11-09 13:32:55 +01:00
Christophe Robillard
f80adb4287 improve wording 2022-11-09 10:58:02 +01:00
Christophe Robillard
7ef114c910 add debounce for date_publication autosubmit 2022-11-09 10:41:06 +01:00
Christophe Robillard
a5fa21ca1b add from_publication_date filter 2022-11-09 10:41:06 +01:00
Martin
b3f80dc5f9 amelioration(Procedure.revision_changes): ajout du support pour les texte complementaire affichable au clique des champs de type explication
Co-authored-by: Paul Chavard <github@paul.chavard.net>
2022-11-08 17:49:24 +01:00
Christophe Robillard
2138835f43 make status filter removable 2022-11-08 12:14:26 +01:00
Christophe Robillard
c0231dffa2 extract ProceduresFilter class 2022-11-08 12:14:26 +01:00
Christophe Robillard
296183cc26 improve accessibility 2022-11-08 12:14:26 +01:00
Paul Chavard
b020cb31b6 fix(publication): improuve publication warnings 2022-11-08 10:20:35 +00:00
Eric Leroy-Terquem
aca2775874 remove routee? method 2022-11-04 12:03:44 +01:00
Eric Leroy-Terquem
110953e450 constraint logic to active groups 2022-11-04 12:03:43 +01:00
Eric Leroy-Terquem
63ae328bee update wording and cards order 2022-11-04 12:03:43 +01:00
Eric Leroy-Terquem
b419c48262 toggle routing when adding or deleting groupe_instructeurs 2022-11-04 12:03:43 +01:00
Paul Chavard
33fc8a45ab feat(emails): show email errors on procedure page 2022-11-04 09:08:41 +00:00
Kara Diaby
86afad6250 layout 2022-11-02 10:19:43 +01:00
Paul Chavard
86a09dd24c fix(procedure): fix procedure cards grid view 2022-11-02 09:29:28 +01:00
Christophe Robillard
afcb811a8e correct haml and scss lints 2022-10-31 16:12:02 +01:00
Christophe Robillard
a5a93260cf reinit filters 2022-10-31 16:12:02 +01:00