Commit graph

210 commits

Author SHA1 Message Date
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
krichtof
6ed6f1ae58 add service siret filter in all demarches view 2023-04-12 18:53:57 +02: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
Kara Diaby
12e0b232dc Garde les tags dans les params lors de la pagination 2023-03-28 21:47:02 +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
c112018ec3 fix(administrateur): tags persistence when non interacting with tags combobox 2023-03-08 11:27:31 +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
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
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
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
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
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
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
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
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
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
886a409abf fix(dossier): fix links to empty pdf templates 2022-12-01 17:35:01 +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
Christophe Robillard
8e95c6a2ba search procedures by libelle 2022-11-22 17:08:17 +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
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
Christophe Robillard
29be3812af i18n for status 2022-10-31 16:12:02 +01:00
Christophe Robillard
3890b24489 i18n for publication date 2022-10-31 16:12:02 +01:00
Christophe Robillard
619afbacad make selected zones removable 2022-10-31 16:12:02 +01:00
Christophe Robillard
e10e8f1024 autosubmit filter form 2022-10-31 16:12:02 +01:00
Christophe Robillard
0799c40aaa add pagination for all demarches view 2022-10-31 16:12:02 +01:00
Christophe Robillard
3f0279ac45 add main menu for admin procedures views 2022-10-31 16:12:02 +01:00
Christophe Robillard
22fe357d75 list all demarches, filtered by status 2022-10-31 16:12:02 +01:00
Christophe Robillard
9abf1c4af3 list all demarches, filtered by zones 2022-10-31 16:12:02 +01:00
Martin
c7c46c9dff design(page de configuration de procedure): passage de la grille au DSFR 2022-10-27 14:00:44 +02:00
Kara Diaby
476dd7e699 layout 2022-10-21 19:13:12 +02:00
Colin Darie
e96d307e56 style(admin): auto expiration styled with DSFR callout 2022-10-20 09:18:16 +02:00
Colin Darie
7f28f1fe4c fix(conjugaison): après que + indicatif 2022-10-20 09:18:16 +02:00
Paul Chavard
74aa01479b fix(revision): fix changes list style 2022-10-20 06:56:20 +02:00
Paul Chavard
7f1dd49bdc chore(flipper): always use feature_enabled? helper 2022-10-12 14:14:30 +02:00
Colin Darie
9992ab9e09 style(admin): new procedure btn styles 2022-10-11 09:50:21 +02:00
Colin Darie
fa9bc5d185 style(admin): multiple style improvements, essentially links & buttons 2022-10-11 09:50:21 +02:00
Colin Darie
0a2460ba71 style(admin): fix various links / buttons style 2022-10-11 09:50:21 +02:00
Christophe Robillard
272c8cae09 cannot publish a procedure if no zones 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
Kara Diaby
057c951408 fixe une typo remontée par le support 2022-10-04 12:11:19 +04:00
simon lehericey
7af248b4bf perf(admin_procedure_show): use partial with collection 2022-10-03 20:49:38 +02:00
Christophe Robillard
9a9330159c choose zone options with correct label
label of the zone is the one available when the procedure has been published (or at the creation if the procedure has not been published)
2022-09-26 16:58:53 +02:00