Commit graph

1098 commits

Author SHA1 Message Date
Paul Chavard
337eaff3f0
Merge pull request #10602 from demarches-simplifiees/fix-routing-fields-list
Correctif : ouvre l‘assistant de routage à tous les types de champ conditionnables
2024-07-30 09:01:24 +00:00
Benoit Queyron
81932915c6
suppresion du form_object_name dans input_id 2024-07-30 10:39:12 +02:00
simon lehericey
30e79b735d
route: allow standard path helper to work
for example `form_with model: [:instructeur, procedure, export_template]`
2024-07-26 13:34:49 +02:00
Paul Chavard
888be8df89
feat(champs): use new combobox for champs selection multiple 2024-07-16 15:10:45 +02:00
mfo
64811d836a
Merge pull request #10616 from mfo/US/enhance-siret-champ
Amélioration, ETQ usager je souhaite pouvoir copier/coller un siret contenant des espaces
2024-07-16 09:50:08 +00:00
mfo
23d9c62245
feat(champ.siret): allow copy/paste from web 2024-07-16 11:29:54 +02:00
Benoit Queyron
79ba52317a
limitation des params selon le type de PJ 2024-07-16 10:59:57 +02:00
Benoit Queyron
dbacbd8ae2
ajustement pour PJ attestation 2024-07-12 18:08:51 +02:00
Paul Chavard
d6e0d83c5d
fix(education): query annuaire education in the browser 2024-07-12 17:32:34 +02:00
Paul Chavard
91b398d039
fix(education): improve some settings to make champ education more reliable 2024-07-12 17:32:34 +02:00
Benoit Queyron
3e4aa0cde3
disabled input with PJ and insert input when PJ is deleted 2024-07-11 17:33:52 +02:00
Eric Leroy-Terquem
ea8112b8b3
fix(routing): open routing wizard to all conditionable types 2024-07-11 14:55:03 +02:00
Benoit Queyron
ceedbe9c45
Merge branch 'main' into bug-input-pj-apres-suppression 2024-07-10 16:35:07 +02:00
Benoit Queyron
9e4b7cc84e
liaison for label/input 2024-07-10 16:33:39 +02:00
Benoit Queyron
ebea9e3818
find champ by dossier stable_id row_id 2024-07-08 16:09:29 +02:00
Benoit Queyron
4bee40caa4
suppresion de la logique hidden 2024-07-08 16:09:23 +02:00
Benoit Queyron
70c1d30fe4
disabled attribut on input 2024-07-08 16:09:21 +02:00
Benoit Queyron
a2389f14af
annulation des modifs précédentes 2024-07-08 16:09:20 +02:00
Benoit Queyron
bfd455986f
ajout de la condition sur PJ uniquement autorisee 2024-07-08 16:09:18 +02:00
Benoit Queyron
a46ebea4ee
détachement de l'attribut for dans le label d'une PJ avec l'id de l'input 2024-07-08 16:09:09 +02:00
Colin Darie
ba6fdc4748
feat: /commencer alert about draft procedure 2024-07-08 11:32:37 +02:00
Colin Darie
029db3b1cb
refactor(alert): standard methods order 2024-07-08 11:32:36 +02:00
Paul Chavard
8d6dc625f3
refactor(dossier): instructeur filter 2024-07-05 09:36:33 +02:00
Paul Chavard
dc6af4fb85
refactor(champ): update champ chorus 2024-07-05 09:36:33 +02:00
Paul Chavard
f0f88ef3f0
refactor(champ): update champ drop_down_list 2024-07-05 09:36:33 +02:00
Paul Chavard
cb01f15570
refactor(champ): update champ commune 2024-07-05 09:36:33 +02:00
Paul Chavard
4e8b29b21c
refactor(js): remove old code 2024-07-05 09:36:33 +02:00
Paul Chavard
2f2edfdfc7
refactor(champ): update champ carte 2024-07-05 09:36:33 +02:00
Paul Chavard
f1f1af4e61
refactor(champ): update champ annuaire education 2024-07-05 09:36:33 +02:00
Paul Chavard
79a65a4847
refactor(champ): update champ address 2024-07-05 09:36:33 +02:00
Paul Chavard
df34784d5c
feat(js): implement react aria combobox 2024-07-05 09:36:33 +02:00
Paul Chavard
1e11ad4ce6
chore(js): update coldwired and react 2024-07-05 09:36:33 +02:00
Colin Darie
867e4105cb
Merge pull request #10561 from colinux/hide-demande-xl-sidebar
ETQ instructeur, le sommaire sur la page demande s'affiche uniquement sur les écrans XL
2024-07-01 10:10:48 +00:00
mfo
77bf93dfc2
feat(experts_procedures#create): link to typo errors 2024-07-01 11:01:38 +02:00
mfo
e6a3f210d4
fix(experts_procedures#create): ensure to reload expert list after addition 2024-07-01 10:46:06 +02:00
Colin Darie
d36d7b0d48
chore(instructeurs): sections summary only on xl screens 2024-07-01 10:32:44 +02:00
mfo
afa9821edb
perf(InvitationWithTypoComponent): check email once from controller, forward actuel/suggestion email from ctrl to view 2024-06-25 14:37:54 +02:00
mfo
4771c45bce
clean(InvitationWithTypoComponent): simplier interface 2024-06-25 14:36:41 +02:00
mfo
2bb7584246
feat(administrateurs/experts_procedures#create): avoid typo on expert
list management
2024-06-25 14:04:01 +02:00
Colin Darie
ccf5b255ed
Merge pull request #10465 from colinux/attestations-v2-prod
ETQ admin je peux activer la délivrance des attestations v2 (sous feature flag)
2024-06-24 08:56:31 +00:00
mfo
2ee6f2350a
Merge pull request #10536 from mfo/US/summary-in-instructeur-demande
ETQ instructeur, je peux naviguer dans le formulaire de l'usager via un sommaire, idem pour les annotations privées.
2024-06-21 14:44:50 +00:00
mfo
2f6772c879
tech(review): add missing sticky behaviour to summary for instructeur
Co-Authored-By: LeSim <mail@simon.lehericey.net>
2024-06-21 16:03:58 +02:00
mfo
4caeecadff
Merge pull request #10534 from mfo/US/fix-ineligibilite-rules-check-without-rules
Correctif: ETQ admin, je ne peux pas activer l'inéligibilité des dossiers sans règles d'inéligibilité
2024-06-21 09:47:43 +00:00
mfo
d46dc7055d
feat(instructeurs/dossiers): add summary to dossier.champs and dossier.champ_private views, also extract summary in
two component. one of type de champ editor. one for viewable champs
2024-06-21 11:06:45 +02:00
mfo
24d7b0b014
fix(ineligibilite_rules): prevent admin to enable ineligibilite rules without rules 2024-06-20 15:35:36 +02:00
mfo
cbe8d92f81
Merge pull request #10530 from demarches-simplifiees/a11y-fix-nav
Correction de la structure de navigation
2024-06-20 13:25:54 +00:00
Colin Darie
666b51fa9c
fix(textarea): merge data controllers from opts & autoresize 2024-06-20 14:31:05 +02:00
Colin Darie
70aee9c9de
refactor(autosave): extract in component, better wording for attestation 2024-06-20 14:15:06 +02:00
Colin Darie
cf58c48843
feat(attestation): can toggle activation 2024-06-20 14:15:05 +02:00
Colin Darie
ffd8c5617a
chore(attestation): card link to v2 if exist 2024-06-20 11:08:16 +02:00
Corinne Durrmeyer
044ee25a41
Remove useless <nav> 2024-06-18 14:35:09 +02:00
Colin Darie
e6d761b915
fix(dossier): see_more errors missing translation 2024-06-14 10:36:55 +02:00
mfo
f6a5e932b8
Merge pull request #10292 from mfo/US/elligible-on-submit
ETQ administrateur, je peux ajouter des conditions d'eligibilité auxquelles les dossiers doivent correspondre sans quoi l'usager ne peut déposer son dossier
2024-06-11 09:46:25 +00:00
mfo
03381c05b3
Merge pull request #10499 from mfo/US/email-check-with-levenshtein
tech: ETQ usager je souhaite une verification de mes mails plus efficace
2024-06-11 08:55:28 +00:00
mfo
f819da8921
tech(clean): simplify implementation of eligibilite rules, code, enhance wording and test coverage 2024-06-11 09:57:36 +02:00
mfo
a011576757
feat(procedure_revision.validates): ineligibilite_rules 2024-06-11 09:39:21 +02:00
mfo
e3a24d53ea
tech(refactor): procedure::error_summary and dossier::ErrorsFullMessagesComponent use same behaviour to compact/expand errors 2024-06-11 09:39:20 +02:00
mfo
178685b34b
feat(TypeDeChampEditor): prevent to destroy a type de champ used by inligibilite rules 2024-06-11 09:32:54 +02:00
mfo
be5f580237
feat(Users/Dossiers#update): track changes live and pop modal when ineligibilite_rules matches 2024-06-11 09:32:54 +02:00
mfo
2210db3b81
feat(Dossier::EditFooterComponent): disable submit button when inligibilite_rules matches 2024-06-11 09:32:54 +02:00
mfo
5de4ce889f
feat(ProcedureRevision.ineligibilites_rules): keep track of changes and show it to admin for republication 2024-06-11 09:32:53 +02:00
mfo
aca3e38859
feat(ProcedureRevision.ineligibilite_rules): add ineligibilite_rules management to procedure revision based on conditional logic 2024-06-11 09:32:53 +02:00
mfo
12d23f1498
feat(Procedure::Cards::IneligibleDossier): add an ineligibilite dossier card to procedure dashboard 2024-06-11 09:32:53 +02:00
mfo
66eb3dc821
feat(email_check): change strategy to check email, dropping email_buttler package and using a custom EmailChecker 2024-06-07 16:09:32 +02:00
Colin Darie
3a4e8b2a32
Merge pull request #10464 from demarches-simplifiees/remove-card-for-historique-modifications-V2
[admin] Simplifier interface en déplacant la tuile de modifs de l'historique du formulaire
2024-06-06 07:41:21 +00:00
Colin Darie
d9451aa64b
Merge pull request #10463 from demarches-simplifiees/reorganize-config-expert-ldu
[admin] améliorer configuration des experts invités
2024-06-06 07:16:49 +00:00
mfo
ef3ca9839b feat(procedure.validation): extract validation context: types_de_champ_public_editor, types_de_champ_private_editor and publication [combining both contextes]. validate conditions, headers_sections, regexp on type_de_champ_private too. dry validation 2024-06-04 18:25:24 +02:00
krichtof
45814fdbfb
Merge pull request #10454 from demarches-simplifiees/9827-add-specs
corrige quelques bugs de la feature export template (renommage dans le zip)
2024-06-04 13:18:12 +00:00
Lisa Durand
ee203d1afc reorganize page config expert invites 2024-05-30 17:50:08 +02:00
Lisa Durand
1bc7cfd917 remove card historique des modifications 2024-05-30 17:47:57 +02:00
Lisa Durand
4446d6d62a remove footer for admin pages with sticky footer 2024-05-30 17:05:01 +02:00
Lisa Durand
2659d0f966 create component for footer 2024-05-30 17:05:01 +02:00
Lisa Durand
ba8b05ed6a page MonAvis 2024-05-30 17:05:01 +02:00
Lisa Durand
6f0cf19f0d page SVA SVR 2024-05-30 17:05:01 +02:00
Lisa Durand
1cec1b91c1 page modifications historique 2024-05-30 17:05:01 +02:00
Lisa Durand
659e4ffb61 page instructeurs 2024-05-30 17:05:01 +02:00
Christophe Robillard
9f504dbefd precise export template source for zip exports 2024-05-29 16:09:13 +02:00
Christophe Robillard
fc90648c79 fix: regenerate export from export template 2024-05-29 15:42:49 +02:00
Christophe Robillard
0ed166f510 export_template feature flag scoped by procedure 2024-05-29 14:38:05 +02:00
Paul Chavard
1bca3c123b
chore(dossier): remove legacy update attributes 2024-05-27 10:33:37 +02:00
Colin Darie
2c07f0260c
Merge pull request #10443 from colinux/fix-toggle-2-lines
Tech (css): maintient les labels de toggle sur une seule ligne
2024-05-23 10:04:58 +00:00
Colin Darie
fa91987e3d fix(toggle): class markup & label on left for attestation v2 2024-05-23 11:39:56 +02:00
Christophe Robillard
e235131c4c
add export template feature flag 2024-05-23 10:00:38 +02:00
Christophe Robillard
43c862ed4d
list export templates for groupes instructeur of current instructeur 2024-05-23 10:00:36 +02:00
Christophe Robillard
4a79ecf301
add new export template link 2024-05-23 10:00:35 +02:00
Christophe Robillard
fd9335f129
style editor tags 2024-05-23 10:00:35 +02:00
Christophe Robillard
2a4bfdd40b
can use export template from export_dropdown_component 2024-05-23 10:00:34 +02:00
Lisa Durand
1ff641ed34
Merge pull request #10356 from govpf/feature/better_place_for_the_move_champ_after_in_champ_editor
ETQ Administrateur les actions sur un champ dans l'editeur (déplacement, suppression,...) sont rassemblés en bas de chaque champ
2024-05-21 09:11:46 +00:00
Christian Lautier
602cf92901 Champ editor: Move champ header to footer 2024-05-17 16:15:37 -10:00
Paul Chavard
bcd3f3b471 refactor(champs): change views to use new urls with stable_id and row_id 2024-05-15 16:51:26 +02:00
mfo
50735919c8
fix(for_tiers): do not update for_tiers column to render the form. otherwise user could switch to dossier.for_tiers without filling mandataire required fields when he updates his identity 2024-05-15 14:36:52 +02:00
Lisa Durand
40e952e8d2
Merge pull request #10417 from demarches-simplifiees/follow-up-accuse-lecture-ldu
[ETQ admin] Je veux comprendre pourquoi je ne peux pas personnaliser mes mails si l'accusé de lecture est activé
2024-05-15 07:42:19 +00:00
Christian Lautier
55a4c73f4a Stick to DSFR design. 2024-05-14 08:17:26 -10:00
Christian Lautier
592f040ada Procedure champ editor: place the 'Move champ after' selection in the champ's header. 2024-05-14 08:17:26 -10:00
Lisa Durand
5195c8a56f add explanation and desactivate links for email customisation if AR is activated 2024-05-14 11:40:53 +02:00
Colin Darie
d4e6e2effa
Merge pull request #10413 from demarches-simplifiees/fix-typo
Corrige des fautes de frappe
2024-05-13 14:43:43 +00:00
Corinne Durrmeyer
8fd6f58beb
feat(fix-typo) : Correct incorrect abbreviations 2024-05-13 15:55:22 +02:00
Corinne Durrmeyer
3c6133276b
Replace autosubmit by submit button 2024-05-13 15:30:46 +02:00
Corinne Durrmeyer
df489cc688
Modify id and for values to avoid conflict due to duplicate identifiers 2024-05-13 15:30:45 +02:00
Corinne Durrmeyer
6f1b41b1a7
Remove .fr-search-bar .fr-label styles. And unse .sr-only instead 2024-05-13 15:30:45 +02:00
Corinne Durrmeyer
03409a798f
Display 'Filter by procedure' label 2024-05-13 15:30:45 +02:00
Corinne Durrmeyer
ac6b552acb
Modify 'Filter by procedure' label 2024-05-13 15:30:45 +02:00
Corinne Durrmeyer
93c7b3f817
Fix typo 2024-05-13 15:30:45 +02:00
simon lehericey
24a8257e47
ux: cni are not exposed by zip or api 2024-05-07 14:49:43 +02:00
mfo
9518982166
Merge pull request #10346 from mfo/US/permit-to-disable-tiers-bloc
ETQ administrateur, je souhaite pouvoir conditionner l'affichage du bloc " Pour un bénéficiaire : membre de la famille, proche, mandant, professionnel en charge du suivi du dossier…"
2024-05-07 09:23:07 +00:00
mfo
15e464d246
Merge pull request #10309 from mfo/US/section_component_use_html_with_semantic_meaning
tech(a11y): Les champs répétables n'englobent pas leurs champs enfant dans un `fieldset` si il n'y a qu'un seul champ enfant. Idem pour les checkbox uniques
2024-05-07 07:52:22 +00:00
mfo
f6046d801f feat(individual_form_component): add missing required on notification method 2024-05-06 15:56:22 +02:00
mfo
95de0d6239 tech(refactor): identity blocks 2024-05-06 15:56:22 +02:00
Colin Darie
0dd4bafdfd refactor(pj): more readable as_multiple logic 2024-05-06 09:49:02 +00:00
Colin Darie
9e3bf50e61 chore(messagerie): mention multiple files are possible 2024-05-06 09:49:02 +00:00
Kara Diaby
7092583b0a layout 2024-05-06 09:49:02 +00:00
Kara Diaby
bec9af90e8 models 2024-05-06 09:49:02 +00:00
Kara Diaby
1e9b7fbbb6 components 2024-05-06 09:49:02 +00:00
mfo
91f07f86e4
fix(Champ.checkbox): single checkbox should not be wrapped in fieldset. single checkbox uses fr-checkbox not fr-radio
Co-authored-by: Corinne Durrmeyer <corinne@inseo.fr>
2024-04-24 18:00:40 +02:00
mfo
64dcd2b0d2
fix(repetition): useless fieldset 2024-04-24 17:37:58 +02:00
Eric Leroy-Terquem
29dea52a7e
chore: add truncate option to show and download component 2024-04-22 11:09:11 +02:00
Colin Darie
63aecdd85a chore(sva): always enable card but form submit needs feature flag 2024-04-18 16:09:36 +02:00
mfo
4041bfa160
Merge pull request #10317 from mfo/US/aria-labelled-by-error-message
ETQ Usager, je souhaite que mon screen reader verbalise les erreurs sur les champs unique contenu dans un `fieldset`
2024-04-18 08:53:12 +00:00
mfo
8453e121d7
feat(champ.errors): add aria-labelledby error on champs wrapped within a fieldset, make error messages always present and aria-live: assertive on validation error
Co-authored-by: Corinne Durrmeyer <corinne@inseo.fr>
Co-authored-by: Colin Darie <colin@darie.eu>
2024-04-18 10:00:27 +02:00
mfo
1a0a603234
Merge pull request #10316 from mfo/US/better-error-message-on-siret-champ
ETQ usager, j'aimerais que les champs siret soient mieux verbalisés par le screen reader
2024-04-18 07:11:18 +00:00
mfo
d8b7aa14f6
feat(Champ.rna): do not use title attribute on champ.rna
Co-authored-by: Corinne Durrmeyer <corinne@inseo.fr>
2024-04-17 07:31:33 +02:00
mfo
36c253edbb
clean(Champ.siret): title not needed 2024-04-17 07:31:32 +02:00
mfo
cab3a55f45
fix(Champ.dossier_link): do not use placeholder, use hint 2024-04-17 07:31:32 +02:00
mfo
94891b8695
fix(Champ.number): remove placeholder 2024-04-17 07:31:32 +02:00
mfo
83c6bf1f0e
feat(Champ.siret): on invalid, set error message on InputStatutErrorMessage. on valid, set info message on siret info component
Co-authored-by: Corinne Durrmeyer <corinne@inseo.fr>
2024-04-17 06:30:16 +02:00
Lisa Durand
a29719a15c small adjustments from PR feedbacks 2024-04-15 11:15:13 +02:00
Lisa Durand
e486f789f6 add AR in user view - hide decision on second dossier tab 2024-04-15 11:15:13 +02:00
Lisa Durand
ee91f47c5a add AR component and page on admin view 2024-04-15 10:46:29 +02:00
mfo
cb2dd3dd3a
Merge pull request #10314 from mfo/US/enhance-a11y-on-carte-champs
ETQ Usager je souhaite que le champ carte soit plus accessible
2024-04-14 13:25:06 +00:00
mfo
d4e8227827
Merge pull request #10312 from mfo/US/ensure-dsfr-style-on-some-champs
ETQ usager, je veux que tous les champs aient un style DSFR
2024-04-12 13:41:16 +00:00
mfo
3e89921683
Merge pull request #10315 from mfo/US/drop-usage-of-invalid-aria
ETQ usager : pas d'`aria-invalid`
2024-04-12 11:55:58 +00:00
mfo
f1935eb7a0
Merge pull request #10318 from mfo/US/better-error-messages
ETQ Usager, je souhaite avoir des messages d'erreur homogènes et comprehensibles
2024-04-12 11:55:39 +00:00
mfo
b9907ac9ce
fix(Champ.rnf): add missing fr-input dsfr class name
Co-authored-by: Corinne Durrmeyer <corinne@inseo.fr>
2024-04-12 12:01:00 +02:00
mfo
1989c3e75b
fix(Champ.carte): add missing label to search input instead of placeholder
Co-authored-by: Corinne Durrmeyer <corinne@inseo.fr>
2024-04-12 11:56:34 +02:00
mfo
d7cacde727
feat(champ.aria): do not use aria-invalid from time to time [standardization]
Co-authored-by: Corinne Durrmeyer <corinne@inseo.fr>
2024-04-12 11:54:09 +02:00
mfo
35c92ee906
feat(champs.errors.format): better format for error below champs
Co-authored-by: Corinne Durrmeyer <corinne@inseo.fr>
2024-04-12 11:50:43 +02:00
mfo
d8a8fb53ce
feat(Champ.carte): some error style on carte 2024-04-12 10:59:42 +02:00
mfo
a052341c93
fix(Champ.address): add missing fr-select dsfr class name 2024-04-12 10:45:37 +02:00
mfo
626f3780f6
fix(Champ.commune): add missing fr-select dsfr class name 2024-04-12 10:45:24 +02:00
mfo
c22438fb75
feat(Champ.annuaire_education): add missing fr-input class name 2024-04-12 10:45:12 +02:00
mfo
4773d9ebad
feat(Champ.repetition): hide destroy button of first repetition row when the repetition is mandatory 2024-04-12 09:29:00 +02:00
Lisa Durand
758673a355
Merge pull request #10280 from demarches-simplifiees/ux-improve-usager-filter-dropdown-ldu
[UX] Améliorer les filtres d'un dossier sur le tableau de bord d'un usager
2024-04-10 07:18:55 +00:00
Corinne Durrmeyer
fd54c15144
feat(fix-aria-current-mainmenu) : Transform aria-current='page' into aria-current='true' when the current link targets several pages - fix #8559 #8135 2024-04-08 11:22:44 +02:00
Lisa Durand
e2d83d87d2 change wording in usager filter and target css to combobox component 2024-04-08 10:41:39 +02:00
Paul Chavard
ce95fe1794
Merge pull request #10255 from demarches-simplifiees/fix-move-after-edit-list
ETQ Administrateur : Amélioration de l'accessibilité et de l'ergonomie de la liste d'édition du formulaire "déplacer après"
2024-04-05 11:39:55 +00:00
Corinne Durrmeyer
1cd552c79f
feat(move_after_edit_list) : Add new line at end of file to avoid lint error 2024-04-04 09:39:40 +02:00
Colin Darie
033b2fa63d
chore(banner): easier with hardcoded .gouv.fr name 2024-04-02 19:36:37 +02:00
Colin Darie
d5515fca33
fix(banner): not closed form tag broke JS 2024-04-02 19:36:35 +02:00
Corinne Durrmeyer
84f0165520
feat(move_after_edit_list) : Remove useless aria attribute - fix #10254 2024-04-02 17:23:25 +02:00
Corinne Durrmeyer
d54bac71bf
feat(move_after_edit_list) : Improve the "move after" edit list - fix #10206 2024-04-02 17:23:25 +02:00