Commit graph

680 commits

Author SHA1 Message Date
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
Colin Darie
fb54ca1469 fix(markdown): don't convert underscore within urls or emails 2023-04-21 14:07:10 +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
simon lehericey
e64ac79f05 tech(refactor): much nicer code, thx LeSim
root -> rooted_tree

depth_cach -> walk

smal refactor

comment

remove form for header_section

remove seen_at from header section

header_section: champ -> header_section

champ_subree: remove if not

remove root_depth use header_section_level_value instead

remove unused include

remove ChampTreeComponent

rename ChampsSubtreeComponent to SectionComponent

use TreeableConcern only in section component

remove fields_for_champ_component

champs -> tail

add split_section_champ helper

refactor(editable_champ::header_section): keep same interface everywhere

fix(repetition): add spec for SectionComponent on repetitions
2023-04-20 08:22:02 +02:00
Martin
cc2c856ec2 amelioration(bloc-repetable): wrap les blocs repetatable dans des fieldsets 2023-04-20 08:22:02 +02:00
Martin
88abefb370 tech(remaniement): isole la logique de rendu au champs_subtree_component 2023-04-20 08:22:02 +02:00
Martin
3b5d1bd55b tech(remaniement): extraction du passage d'une liste de champs a un simili arbre 2023-04-20 08:22:02 +02:00
Martin
ad77b9321b amelioration(formulaire-usager): groupes les champs suivant un titre de section dans une balise html de type <fieldset> de sorte a améliorer l'accessibilite de la plateforme 2023-04-20 08:22:02 +02: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
Colin Darie
e5df31fd66 fix(yaml): yes & no are reserved keywords in yaml, so they have to be quoted 2023-04-19 18:26:40 +02:00
simon lehericey
79131cc294 fix spec 2023-04-19 13:52:42 +02:00
simon lehericey
86733248f3 wording pour coller a Routage et Gestion des groupes 2023-04-19 13:52:41 +02:00
simon lehericey
b3ce3820a9 refactor(ui): use proper title 2023-04-19 13:52:41 +02:00
simon lehericey
b38470368b feat(routing): can change defaut groupe 2023-04-19 13:52:41 +02:00
Paul Chavard
0912a30eb0 feat(dossier): use turbo on select with other 2023-04-18 15:24:23 +02:00
Paul Chavard
eb599394e0 feat(dossier): use turbo on linked lists 2023-04-18 15:24:23 +02:00
Julie Salha
f80cccba93 reset component yes no structure 2023-04-18 14:54:01 +02:00
Julie Salha
c37a54b65b add translations profile identification tokens 2023-04-18 13:51:41 +02:00
Julie Salha
93c5c52e19 add translations for yes-no radios form and update dsfr styles 2023-04-18 13:43:11 +02:00
simon lehericey
9fe8f98a17 refactor(routing): add id to option to help morph 2023-04-13 10:28:53 +02:00
simon lehericey
e27e18fdaf refactor(routing): use selerialized logic in select value 2023-04-13 10:28:53 +02:00
Eric Leroy-Terquem
9ea75a5bd1 feat(routing): ui side: prevent changing tdc type if used for routing 2023-04-13 10:28:52 +02:00
simon lehericey
3f55fddcef feat(routing): ui side: prevent tdc deletion if used for routing 2023-04-13 10:28:52 +02:00
simon lehericey
213d463ff4 feat(routing): small UI polish 2023-04-13 10:28:52 +02:00
Eric Leroy-Terquem
c4d64d9775 feat(routing): add message if no type de champs routable 2023-04-13 10:28:52 +02:00
simon lehericey
80b5f6bc1d feat(champ_component): add errors banner 2023-04-13 10:28:52 +02:00
simon lehericey
6e255489a5 feat(routing): fix test 2023-04-13 10:28:51 +02:00
Lisa Durand
b0df654346 add heading level customization to callout component to fix a11y issue 2023-04-11 16:32:57 +02:00
Paul Chavard
def32a3615 chore(dossier): remove fallback from commune champ 2023-04-11 10:49:01 +02:00
Paul Chavard
0b95a912c6
Merge pull request #8858 from tchak/feat-refactor-dossier-link-champ
feat(dossier): use turbo to select linked dossier
2023-04-07 08:49:11 +00:00
Paul Chavard
7ea443f86a
Merge pull request #8860 from demarches-simplifiees/ay11-actions-multiples
[a11y] actions multiples
2023-04-05 16:41:06 +00:00
Paul Chavard
52c8b0b297 feat(dossier): use turbo to select linked dossier 2023-04-05 11:40:03 +02:00
Lisa Durand
058f1fe6e5 add focus on button when select all 2023-04-05 10:59:59 +02:00
Lisa Durand
6b1ecde852 add role status 2023-04-04 16:04:00 +02:00
Lisa Durand
96740152c8
Merge pull request #8852 from demarches-simplifiees/bug-display-btn-logique-conditionnelle
[bug] Changer couleur de fond pour faire apparaitre bouton conditionnelle sur les sections
2023-04-04 09:10:03 +00:00
Lisa Durand
b1e9fca9b2 add lighter blue for section type background 2023-04-04 10:36:32 +02:00
Paul Chavard
fce78bbf30 feat(dossier): multiselect without react 2023-04-03 16:54:50 +02:00
Paul Chavard
ed62d171ce fix(commune): improuve label and error message 2023-04-03 11:24:32 +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
LeSim
b003fd8be8
Merge pull request #8774 from E-L-T/add-routing-to-groupe-instructeurs
Add routing rules to groupe instructeurs
2023-03-31 10:16:51 +00:00
Lisa Durand
7351580a65
Merge pull request #8811 from demarches-simplifiees/allow-instructeur-to-delete-pj
ETQ instructeur je veux pouvoir supprimer la pj pendant l'instruction
2023-03-31 07:46:55 +00:00
Martin
d161a624c5 a11y(bloc-repetable): ETQ usager qui navigue au clavier, lorsque je supprime une repetition, le focus revient soit sur le premier champ de la derniere repetition, soit sur le bouton ajouter une repetition [si il y a pas de repetition presente] 2023-03-31 08:51:39 +02:00
Martin
8b6a7689fa a11y(bloc-repetable.repetition): ajoute une repetition via un bouton et non un lien 2023-03-31 08:51:39 +02:00
Martin
92d3f9c192 a11y(bloc-repetable.repetition): supprime une repetition via un bouton et non un lien 2023-03-31 08:51:39 +02:00
Martin
a3f1e1926a a11y(bloc-repetable): ETQ usager qui navigue au clavier, lorsque j'ajoute un champs repetable, le focus vient sur le 1er champs du bloc repetable 2023-03-31 08:51:39 +02:00
Colin Darie
e36dc19cc4 fix(explication): render collapsible text into collapse element 2023-03-30 12:46:31 +02:00
simon lehericey
41cb62b5c7 add full system spec 2023-03-30 12:31:48 +02:00
simon lehericey
e950363d21 feat(routing): add routing component 2023-03-30 10:51:20 +02:00
Paul Chavard
f1658dedc5 feat(commune): translate messages in component 2023-03-29 15:42:33 +02:00
Lisa Durand
044d03b524 fix button display 2023-03-29 10:26:42 +02:00
Lisa Durand
df701f2a8f fix linter 2023-03-29 10:26:42 +02:00
Lisa Durand
92bc95014a add cancel button and delete pj button in batch context 2023-03-29 10:26:42 +02:00
Paul Chavard
dc605015b3 feat(commune): chose commune by postal code 2023-03-28 16:34:19 +02:00
Colin Darie
5dd6456e4a
Merge pull request #8799 from tchak/fix-collapsible_explanation
fix(dossier): champ explication collapsible explanation should be formatted
2023-03-27 11:27:39 +00:00
Lisa Durand
d079f3ac98
Merge pull request #8770 from demarches-simplifiees/ask-question-in-avis-ux-part
[UX] améliorer UX de la demande d'avis
2023-03-24 10:50:33 +00:00
Paul Chavard
f8b01811c1 fix(dossier): champ explication collapsible explanation should be formatted 2023-03-22 14:59:41 +01:00
Colin Darie
40a303f6a6 fix(a11y): add a title in simple renderer links and autolinks
Closes #8095
2023-03-22 14:05:06 +01:00
Lisa Durand
a01564adcd create component for sidemenu and add locales for raw text 2023-03-22 09:30:26 +01:00
Paul Chavard
af7e16c372 fix(champ): use champ.required? 2023-03-21 11:23:45 +01:00
Paul Chavard
4dc95417c5 fix(champ): use champ.mandatory? 2023-03-21 11:23:33 +01:00
Colin Darie
83a3421537
Merge pull request #8769 from colinux/fix-annotations-privees-champ-type-mismatch
Fix: crash d'annotations privées à cause d'une incohérence avec leur type de champ
2023-03-16 15:55:56 +00:00
simon lehericey
9ae4dbd4af feat(token depreciation): add alert on profile 2023-03-16 15:39:33 +01:00
Paul Chavard
42e74dfc76 feat(api_token): enable fin graned access rights on tokens 2023-03-15 19:09:49 +01:00
Colin Darie
84271526f3 fix(admin): translation keys for private revision changes 2023-03-15 19:00:17 +01:00
Paul Chavard
c521724cf4 Update app/components/dossiers/edit_footer_component.rb
Co-authored-by: Colin Darie <colin@darie.eu>
2023-03-14 15:22:13 +01:00
Paul Chavard
cbaa77fca7 feat(annotations): activate autosave 2023-03-14 15:22:13 +01:00
Colin Darie
126819939b
Merge pull request #8678 from colinux/fix-explication-read-more-button
fix(a11y): improve Explication "lire plus"  accessibility
2023-03-07 15:37:02 +00:00
Lisa Durand
99c5a1f298 use DSFR classes for btn and form inside the dropdown 2023-03-02 16:34:58 +01:00
Lisa Durand
a4932a749c improve UX of instruction dropdown menu 2023-03-02 16:34:58 +01:00
Paul Chavard
d3ef0fcf79 fix(datetime): improuve datetime field on old browsers 2023-03-01 12:30:25 +01:00
Colin Darie
3f15647b8e
refactor(a11y/combosearch): every combo with screen reader better support 2023-03-01 09:38:45 +01:00
Colin Darie
71d43e9591
feat(a11y/combosearch): translatations for screen reader 2023-03-01 09:38:44 +01:00
Paul Chavard
47a8d33d85 refactor(progress_bar): should be a component 2023-02-28 16:36:18 +01:00
Colin Darie
da5618b9fc
Merge pull request #8673 from colinux/translate-help-dropdown
Accessibilité: traduit les menus contextuels d'aide, normalise l'affichage et les icônes (dsfr)
2023-02-27 16:40:27 +00:00
Colin Darie
8156e1cc01 feat(admin): notice about auto numbering of header section 2023-02-27 17:29:22 +01:00
Colin Darie
3de089d6c7 fix(conditional): dynamic title counters using css
Closes #8086
2023-02-27 17:29:22 +01:00
Colin Darie
8a340b6f74 fix(upload): missing i18n key 2023-02-27 17:23:43 +01:00
sebastiencarceles
39545671f3 refacto: better error management 2023-02-27 14:35:11 +01:00
Sébastien Carceles
e89c8385a4 fetch association data when editing the dossier 2023-02-27 14:35:11 +01:00
Sébastien Carceles
b6c74b0e83 fetch etablissement when editing the dossier 2023-02-27 13:45:16 +01:00
Paul Chavard
14d889b317 fix(procedure): fix translations in changes component 2023-02-24 13:39:03 +01:00
Martin
a584279020 chore(deadcode): drop deadcode 2023-02-23 15:23:20 +01:00
Martin
fd203f5bb7 correctif(a11y): #8105 format les messages de la messageries avec la nouvelle methode pour rendre les textes saisies par les admin et les instructeurs 2023-02-23 15:23:20 +01:00
Martin
c8e9b2f008 correctif(a11y): #8105, pour les callout, utilise un div wrappant du contenu html 2023-02-23 15:23:20 +01:00
Martin
4fd799390b correctif(a11y): #8107 (et d'autres), utilise le nouveau composant pour rendre les textes saisies par les admins accessible 2023-02-23 15:23:20 +01:00
Martin
4d8b4e078b amelioration(a11y): extrait un nouveau composant pour rendre du texte saisi par un humain accessible 2023-02-23 15:23:20 +01:00
Colin Darie
fc6051a4b9 fix(a11y/upload): role=status on progress antivirus & watermark
Cf #8555
2023-02-22 14:03:55 +01:00
Colin Darie
e4af86fb96 fix(a11y): explication "lire plus" styled as button
Cf #8662
2023-02-22 12:56:31 +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
Martin
eca44ce60e correctif(a11y): il est recommandé d'utilser un boutton pour la suppression d'un element. le bouton etant deja dans un form, nous ne pouvons pas utiliser le button_to. Extraction d'un form pour soumettre la suppression des pjs par des input pointant sur ce form
Update app/components/attachment/edit_component/edit_component.html.haml

Co-authored-by: Paul Chavard <github@paul.chavard.net>

Update app/views/shared/dossiers/_edit.html.haml

Co-authored-by: Paul Chavard <github@paul.chavard.net>

amelioration(attachment.destroy): force l'usage de turbo
2023-02-21 08:22:50 +01:00
Colin Darie
c968aa63d3 fix(a11y/password form): describedby rel with input and password rules 2023-02-16 16:15:40 +01:00
Colin Darie
31c99e935a refactor(admin): migrate password form to DSFR components 2023-02-16 16:15:40 +01:00
Colin Darie
4f7839039d refactor(password-complexity): as component for better form integration 2023-02-16 16:15:40 +01:00
Colin Darie
1f930dfe23 feat(user): can show password when editing password 2023-02-16 16:15:40 +01:00
Martin
0a386994e5 correctif(messagerie): autorise l'usage des balises <a> dans la messagerie quand les messages viennent de l'administration 2023-02-13 13:45:08 +01:00
Martin
13cbbe9138 typo(fix): text+e 2023-02-13 11:43:44 +01:00
Damien Le Thiec
4b0e6ea382
Convert datetime field to datetime_local (#8572)
* Convert datetime field to datetime_local

* Fix tests

* Add value formatting view datetime component

* Add helper datetime component value
2023-02-09 15:18:38 +01:00
Colin Darie
51338eebb1 fix(admin/conditional): don't break when target champ is empty but a value is still referenced 2023-02-06 16:49:39 +01:00
simon lehericey
a1487e9923 fix: allow a tag in various admin text 2023-02-06 11:01:28 +01:00
Lisa Durand
f80fe9680f corrections from Sim review 2023-02-03 15:13:06 +01:00
Lisa Durand
f1a378bf03 dont'use DSFR component - add a line inside the table instead 2023-02-03 15:13:06 +01:00
Lisa Durand
3fdfc38faf fix linter js 2023-02-03 15:13:06 +01:00
Lisa Durand
9aa6c55d1f replace partial by component 2023-02-03 15:13:06 +01:00
Colin Darie
fa0f72aaba feat(procedure): hide estimated fill duration when super admin disabled it
Closes #8466
2023-02-01 11:02:55 +01:00
Colin Darie
3402279b08 fix(menu_component): tag html options must be set as keyword args, not hash 2023-01-30 15:03:16 +01:00
Colin Darie
c15ad573bc feat(dropdown/a11y): "other" input with label and autofocus 2023-01-30 12:16:25 +01:00
Martin
6ff81a6680 amelioration(views/instructeurs/dossiers/_state_button.html.haml): passe le popover d'instruction sur le nouveau menu 2023-01-26 11:13:23 +01:00
Martin
cd75c7a1de amelioration(export): passe les exports sur le nouveau dropdown 2023-01-26 11:13:23 +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
5bff5542f1 refactor(spinner): dependent-conditions on champ wrapper instead of each champ 2023-01-26 09:06:30 +01:00
Colin Darie
26236a11ba feat(autosave): conditional spinner on all manager champs 2023-01-26 09:06:30 +01:00
Colin Darie
7c13449b4f feat(conditional): show loader during autosave when other champs are dependent of it 2023-01-26 09:06:30 +01:00
Paul Chavard
a4cbbe721e feat(types de champ): add EPCI champ 2023-01-20 11:32:36 +01:00
Paul Chavard
f38ee8f03f feat(dossier): implement refresh_after_update on champs 2023-01-20 11:05:25 +01:00
Martin
8528939b75 correctif(champs/repetitions#remove): les row id etant des ulid commence par un int. utiliser l'ulid comme selecteur css n'est pas valide. il faut donc avoir un selecteur CSS 'safe', et envoyer le row_id 2023-01-19 10:48:01 +01:00
Paul Chavard
7f9414012e refactor(turbo): use @coldwired/actions 2023-01-16 21:40:10 +01:00
Paul Chavard
5f192f93e0 refactor(js): make generic format controller 2023-01-16 21:23:33 +01:00
Paul Chavard
44488c7014 feat(dossier): use select in filters bygroupe instructeur 2023-01-16 14:00:08 +01:00
Lisa Durand
eadd84bfb4 authorize follow and unfollow for all dossier states 2023-01-16 11:14:29 +01:00
Lisa Durand
db3085fa33 design : make filter buttons tertiary and dropdown secondary 2023-01-16 11:14:29 +01:00
Lisa Durand
06c6a4ab0c add action 'unfollow' to page 'suivis' 2023-01-16 11:14:29 +01:00
Lisa Durand
2f666b487e add action 'repasser en construction' to page 'suivis' 2023-01-16 11:14:29 +01:00
Paul Chavard
289d48f697 refactor(js): use autosubmit controller in filter_component 2023-01-12 11:58:46 +01:00
Paul Chavard
5d7284b8da refactor(js): use autosubmit controller in notified_toggle_component 2023-01-12 11:58:46 +01:00