Commit graph

604 commits

Author SHA1 Message Date
Lisa Durand
93b0af50cc
fix(sva): dont render sva badge component if procedure is not sva 2023-07-11 10:01:48 +02:00
Lisa Durand
786bc64d85
feat(sva): add sva badge on page dossier for instructeur 2023-07-11 10:01:48 +02:00
Colin Darie
f1504e9724
feat(sva): instructeurs dashboard sva/svr colonnes with multiple use cases 2023-07-11 10:01:47 +02:00
Colin Darie
d70278a534
refactor(sva): dossier can't repasser en construction without pending correction 2023-07-11 10:01:47 +02:00
Colin Darie
eb7f1f199a
feat(sva): block configuration changes when procedure is published 2023-07-11 10:01:46 +02:00
Colin Darie
c2c57b0c7e
style(dsfr/radio): error for input radios group 2023-07-11 10:01:45 +02:00
Colin Darie
8c210e6fc7
feat(admin): config sva/svr 2023-07-11 10:01:45 +02:00
Colin Darie
7a8b83cfc9
feat(admin): card link to sva/svr configuration 2023-07-11 10:01:45 +02:00
Colin Darie
6cf9ea6459
Merge pull request #9256 from demarches-simplifiees/user-dashboard/change-design-from-table-to-tile-part-2
[refonte usager] Tableau de bord - Changer design de tableau à tuiles
2023-07-10 13:28:51 +00:00
Paul Chavard
d5820277c0 feat(cojo): add cojo type de champ 2023-07-10 14:57:34 +02:00
Paul Chavard
a9f431caa5 feat(dossier): implement champ polling 2023-07-10 14:57:34 +02:00
Paul Chavard
52545dc86c fix(type_de_champ): feature flag support 2023-07-10 14:57:34 +02:00
Lisa Durand
0a0665bb4d feedback PR Colin 2023-07-10 10:53:07 +02:00
Lisa Durand
1f5b551b24 change design from table to cards for usager dashboard 2023-07-10 10:53:07 +02:00
Colin Darie
d2f1af0830
Merge pull request #9281 from colinux/demande-usager-layout
ETQ usager/instructeur: augmente le contraste entre libellés et réponses sur la page de la demande
2023-07-10 08:31:34 +00: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
Colin Darie
0b01c44025 fix(demarche): show notice download link 2023-07-06 13:38:00 +02:00
Paul Chavard
9fd96bc3ba Update app/components/procedure/notice_component/notice_component.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
2023-07-06 10:27:43 +02:00
Paul Chavard
7ade521582 feat(dossier): show lien_notice when available 2023-07-06 10:27:43 +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
Colin Darie
3340b504d7
Merge pull request #9272 from colinux/demande-instructeur-columns
ETQ usager/instructeur: repasse l'affichage demande en 2 colonnes
2023-07-04 16:57:24 +00:00
Lisa Durand
b2ba15a277 add specs 2023-07-04 11:40:11 +02:00
Colin Darie
eec61db7dc style(demande): improve titles & sections spacing 2023-07-04 11:22:57 +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
d41f224a2c
refactor(demande): improvements for infos entreprise 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
Eric Leroy-Terquem
1923eb7d23 feat(routing): filter with only one form 2023-07-04 10:04:55 +02:00
Eric Leroy-Terquem
0c3426228f feat(routing): to_configure include invalid_rule and non_unic_rule 2023-07-04 10:04:35 +02:00
Eric Leroy-Terquem
1b5f3a67eb feat(routing): filter only groups to configure 2023-07-04 10:04:35 +02:00
Eric Leroy-Terquem
b059e905cd feat(routing): add warning for groups with same rule 2023-07-04 09:53:00 +02:00
Lisa Durand
220b71bbf7 add classer_sans_suite and refuser to batch operation 2023-07-03 16:05:48 +02:00
Eric Leroy-Terquem
3b204faaae
Merge pull request #9168 from demarches-simplifiees/add-import-component-in-groupe-page
ETQ Admin je peux importer des instructeurs depuis la page d'un groupe
2023-07-03 13:31:51 +00: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
mfo
f3922c7e39
Merge pull request #9263 from mfo/US/flip-optional-text
amelioration(admin): ETQ admin, je peux de desactiver le suffix "facultatif" sur les labels des champs non obligatoires (demander au support)
2023-06-29 13:21:33 +00:00
Martin
2350b5cc7f amelioration(admin): permet a un admin de desactiver le suffix "facultatif" sur les labels des champs non obligatoires 2023-06-29 11:20:14 +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
32cc6aefb8
Merge pull request #9225 from demarches-simplifiees/user-dashboard/change-design-from-table-to-tile
[design] Remplacer les cartes bleu et orange par des composants du DSFR
2023-06-21 14:29:41 +00:00
Lisa Durand
33cc696d81 replace info and warning old cards by DSFR components 2023-06-21 12:24:45 +02:00
Colin Darie
e8142588fd fix(instructeur): better wording about repasser en construction 2023-06-20 18:24:49 +02:00
Colin Darie
acc6456b08
Merge pull request #9201 from demarches-simplifiees/user-dashboard/add-filter-a-corriger
[refonte usager] Tableau de bord - remonter les dossiers à corriger
2023-06-19 19:21:32 +00: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
Paul Chavard
a432323843 fix(dossier): only show optional text on public champs 2023-06-14 19:00:06 +01: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
Kara Diaby
0649863139
Merge pull request #9050 from demarches-simplifiees/feat/9013
ETQ usager je suis guidé dans le formulaire lorsque les champs sont obligatoires ou facultatifs
2023-06-12 16:25:03 +00:00
Colin Darie
e4e47a4e97 fix(instructeur): corrections notifié => informé 2023-06-12 17:48:03 +02:00
Eric Leroy-Terquem
6bc15b8342 feat(groupe instructeur): add import - export partial in group page 2023-06-12 17:08:34 +02:00
Kara Diaby
804f89f444 Changements sur le caractère obligatoire / facultatif et l'asterisque interface usager et page de connexion 2023-06-12 14:43:10 +00:00
Eric Leroy-Terquem
0d1754d715
Merge pull request #9153 from demarches-simplifiees/fix-typos
Correction de coquilles et fautes d'orthographe
2023-06-12 14:10:33 +00:00
Eric Leroy-Terquem
68c81c8d23 UI(groupe instructeur): update css to keep content in container 2023-06-12 15:32:02 +02:00
Eric Leroy-Terquem
f2dffc2ba3 UI(groupe instructeur): add a hint for adding routing value 2023-06-12 15:32:02 +02:00
Eric Leroy-Terquem
dd1b67bbc7 UI(groupe instructeur): update heading level and wording 2023-06-12 15:32:02 +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
Colin Darie
628026f524
Merge pull request #9154 from colinux/fix-form-owned-button-turbo
ETQ utilisateur je veux que mes PJ soient supprimées en turbo
2023-06-12 11:59:56 +00:00
Paul Chavard
f563e210f3 refactor(carto): geo area as component 2023-06-12 10:33:56 +02:00
Colin Darie
61bc59109d fix(turbo): PJ deletion: turbo: true must be set on button in addition to form 2023-06-08 11:16:55 +02:00
Eric Leroy-Terquem
22d0aaa298 UI(groupe instructeur): add a confirm modal before deleting 2023-06-07 09:24:03 +02:00
Eric Leroy-Terquem
b8ba414724 UI(groupe instructeur): do not wrap text 2023-06-07 09:24:01 +02:00
Eric Leroy-Terquem
9cb82ba6f8 feat(groupes instructeurs): add dossiers count in index 2023-06-07 09:22:28 +02:00
Paul Chavard
6945b3f438 fix(carte): no autosave on champ carte 2023-06-06 16:46:32 +02:00
simon lehericey
0a72596bce wording: complementaire -> complémentaire, supprimée -> supprimé 2023-06-06 16:07:02 +02:00
simon lehericey
650e1ca118 wording: affichage au clique -> au clic 2023-06-06 16:03:51 +02:00
Lisa Durand
74da12bd1e fix typo 2023-06-05 17:37:52 +02:00
Lisa Durand
7de608cd64 add link notice on procedure presentation page and small refactor of download component 2023-06-05 15:15:24 +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
52c8553576
fix(dossier_correction): don't allow to save with a missing (invalid) commentaire 2023-06-02 16:18:33 +02:00
Colin Darie
fd4a9a6a2f
refactor(instruction): menu repasser en construction + demander une correction 2023-06-02 16:18:32 +02:00
Colin Darie
3c4ea6f8cf
refactor(instructeur): instruction menu as component 2023-06-02 16:18:31 +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
Paul Chavard
c040cf5a65 chore(coldwired): data-turbo-force needs to be explicit 2023-06-02 08:58:52 +02:00
mfo
38d8566995
Merge pull request #9097 from mfo/US/improve-api-token-acl-ux
amelioration(users/profil): ETQ admin, j'ai du mal a comprendre l'interface qui me permet de gerer les autorisations qu'un jeton a
2023-05-31 15:59:43 +00:00
Eric Leroy-Terquem
54fe10ff76 add warning in revision change component if tdc options used for routing has been changed 2023-05-31 11:38:16 +02:00
simon lehericey
9004dd9758 remove old logic 2023-05-31 11:38:16 +02:00
simon lehericey
11a166aa51 add group_ajout_component 2023-05-31 11:38:16 +02:00
simon lehericey
f61498693a use routable_type_de_champ 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
1754086c94 add options 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
142ac9173d add groupes_search_component 2023-05-31 11:38:16 +02:00
simon lehericey
f3c9fc014b add instructeur_menu component 2023-05-31 11:38:16 +02:00
simon lehericey
2fb33336d1 side_menu_component: add icon 2023-05-31 11:38:16 +02:00
Martin
fc18422a15 amelioration(users/profil): ETQ admin, j'ai du mal a comprendre l'interface qui me permet de gerer les autorisations qu'un jeton a 2023-05-27 09:23:56 +02:00
Lisa Durand
1c409f0145 use DSFR input components for form 2023-05-25 10:18:26 +02:00
Colin Darie
8592571b50
Merge pull request #9034 from colinux/editor-typo
Admin: corrige une typo dans une option de nombre de caractères limite
2023-05-15 11:41:21 +00: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
simon lehericey
017ebbcd18 UI: change alert to warning 2023-05-12 10:04:11 +02:00
simon lehericey
7b17bfe0a1 feat: add info for screen reader 2023-05-12 10:03:54 +02:00
simon lehericey
36331f71a4 wording 2023-05-12 10:03:13 +02: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
bc7a79f150
fix(admin): typo in character limit option 2023-05-11 09:57:42 +02:00
Colin Darie
79f450a422
Merge pull request #9021 from colinux/feat-en-construction-fork
ETQ usager, je modifie et soumets à nouveau mon dossier “en construction"
2023-05-10 19:46:40 +00:00
Colin Darie
1e5b7f1068 fix(admin): typo in revision breaking change summary 2023-05-10 10:01:53 +02:00
LeSim
a45d5f6d05
Merge pull request #9022 from mfo/US/fix-sections
correctif(sections.numerotation-automatique): ETQ administrateur, je souhaite que la numerotation automatique des titres de section fonctionne meme quand si deux titres de sections se succèdent
2023-05-10 07:23:49 +00:00
Colin Darie
76088d1ee8
refactor(autosave): improve en_construction feedback wording 2023-05-09 18:49:53 +02:00
Colin Darie
f135df0c74
refactor(fork): feedback to user that a modification must be submitted 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
Colin Darie
11dd1b7d76
style(autosave): retry button as dsfr 2023-05-09 18:49:52 +02:00
Paul Chavard
08a2a2c9aa
feat(dossier): fork dossier when editing en construction 2023-05-09 17:16:47 +02:00
simon lehericey
cc04c4484d ds_fr: add toggle_component 2023-05-09 14:46:14 +02:00
simon lehericey
2135d3c4e7 ds_fr: add radio_button_list component 2023-05-09 14:46:14 +02:00
Martin
180c659a84 correctif(sections.numerotation-automatique): ETQ administrateur, je souhaite que la numerotation automatique des titres de section fonctionne meme quand si deux titres de sections se succèdent 2023-05-09 14:23:53 +02:00
Lisa Durand
2b2d65de87
Merge pull request #8994 from demarches-simplifiees/add-simple-filter-for-usagers
[refonte usager] Tableau de bord - Ajouter bouton filtres simples
2023-05-09 08:06:15 +00:00
Paul Chavard
fe041b4c6c fix(textarea): fix character limit option 2023-05-05 16:36:51 +02:00
Paul Chavard
471da7eb61 Revert "Revert "Merge pull request #8844 from demarches-simplifiees/feat/7739""
This reverts commit 909d726429.
2023-05-05 16:36:51 +02:00
Lisa Durand
c039414872 feedback PR review 2023-05-04 12:39:06 +02:00
Lisa Durand
eb09a7480e remove role from filter component a11y to fix specs 2023-05-03 17:48:04 +02:00
Lisa Durand
9fd9bdc7c0 add tag to display and remove active filters 2023-05-03 16:47:27 +02:00
Lisa Durand
7aca10377c change no file message if filters are selected 2023-05-03 12:06:30 +02:00
Nicolas Cavigneaux
3aa6a5e28e
fix: url helper method calls for files 2023-05-03 11:35:28 +02:00
Nicolas Cavigneaux
f78b415c51
fix: edit_component field_name signature
field_name is called by
actionview-7.0.4.2/lib/action_view/helpers/tags/base.rb who pass 3
arguments. We need to be compliant in order to make it valid.

We reuse the same method signature with nil default values as those
params are not being used.
2023-05-03 11:35:28 +02:00
Lisa Durand
530d36b6df use dropdown to hide filter form 2023-05-02 19:07:53 +02:00
Lisa Durand
6113c0b75e improve/add translations 2023-05-02 15:10:36 +02:00
Lisa Durand
24eca40f66 add from_depose_at filter 2023-05-02 10:32:38 +02:00
Lisa Durand
21ed6abcad add from_created_at filter 2023-05-02 09:37:03 +02:00
Paul Chavard
909d726429 Revert "Merge pull request #8844 from demarches-simplifiees/feat/7739"
This reverts commit 04fbfa15b7, reversing
changes made to aac1cc7161.
2023-04-28 16:08:24 +02:00
Lisa Durand
39f534b3d7 add states filter for usager 2023-04-28 15:28:04 +02:00
Kara Diaby
04fbfa15b7
Merge pull request #8844 from demarches-simplifiees/feat/7739
Ajoute un compteur sur les champ texte
2023-04-27 13:53:20 +00:00
Paul Chavard
a64549d716
Merge pull request #8956 from tchak/update-coldwired
ETQ usager, je veux que le focus suive les changement d'interface
2023-04-27 09:31:45 +00:00
Paul Chavard
f9b8dac024 feat(champ): use new data-turbo-focus-group to manage focus on multiple drop down 2023-04-27 10:40:14 +02:00
mfo
79a7877a09
Merge pull request #8961 from mfo/US/fix-fieldset-max-width
ETQ usager, quand une les balises <select> avec une <option> ayant un libelle tres long, le select prends la largueur du contenu de l'option et force un scroll horizontal sur la page
2023-04-27 08:33:29 +00:00
Kara Diaby
f3f49941b6 Ajoute un compteur sur les champ de type textarea sur l'interface usager 2023-04-27 10:28:43 +02:00
Martin
bbd565edee correctif(ui): les balises <select> avec un balise <option> à rallonge prenent la largueur du contenu de l'option
Update app/components/editable_champ/drop_down_list_component.rb

Co-authored-by: Colin Darie <colin@darie.eu>
2023-04-27 10:05:07 +02:00
Martin
44c84b94ca amelioration(titre-de-section): saute un niveau de profondeur pour les titres de section 2023-04-27 09:29:51 +02:00
Paul Chavard
c7066573f6
Merge pull request #8921 from demarches-simplifiees/8827-user-path-translations-fix
ETQ usager, je veux que mon interface soit traduite en anglais
2023-04-26 17:17:35 +00:00
Paul Chavard
6394996e7f
Merge pull request #8963 from tchak/fix-revision-changes-delete-champs-message
ETQ administrateur, je veux être averti si des données seront supprimées sur les dossiers lors de la publication d’une nouvelle révision
2023-04-26 15:12:31 +00:00
Paul Chavard
e16de77418
Update app/components/procedure/revision_changes_component.rb
Co-authored-by: Colin Darie <colin@darie.eu>
2023-04-26 15:01:46 +02:00
Colin Darie
21a829ec1e fix(conditionel): error when using operator eq/not_eq with a multi dropdown 2023-04-26 09:58:00 +02:00
Paul Chavard
26798e8ed9 fix(revision): show a warning when champs will be deleted 2023-04-25 18:04:17 +02:00
Lisa Durand
26ff82dbe4 Merge branch 'main' of github.com:betagouv/demarches-simplifiees.fr into user-dashboard/add-alert-WIP-last-dossier 2023-04-25 13:01:40 +02:00
Julie Salha
e6004d83f3
Merge branch 'main' into 8827-user-path-translations-fix 2023-04-25 09:36:05 +02:00
Martin
8c78008b4d correctif(usager.depot-dossier): ETQ usager, les titres de section conditionnés etait visible meme si la condition n'etait pas remplie 2023-04-24 10:47:20 +02:00