Commit graph

229 commits

Author SHA1 Message Date
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
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
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
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
mfo
b245d9b063
Merge pull request #10220 from demarches-simplifiees/fix-drop-down-missing-hint
ETQ usager : Champ choix multiple, ajouter une aide a a la saisie
2024-04-02 09:28:34 +00:00
Corinne Durrmeyer
ba290110e5 feat(multiple_drop_down_list): Replace blank option 2024-03-26 15:39:27 +01:00
Corinne Durrmeyer
ab6a76ad46 feat(multiple_drop_down_list) : Add missing space - fix #10185 2024-03-26 15:27:59 +01:00
Paul Chavard
06d81dcfaf
Merge pull request #10169 from tchak/refactor-champ-public_id
fix(champ): use public_id in views
2024-03-26 10:31:13 +00:00
Paul Chavard
6ad0b901b6 fix(champ): use public_id in views 2024-03-26 11:23:23 +01:00
Paul Chavard
b02ba1e909 feat(textarea): autoresize textareas 2024-03-25 19:53:29 +01:00
Paul Chavard
f589129ef5 chore(attachment): remove unused replace code 2024-03-25 15:13:14 +01:00
Paul Chavard
eff03aaf23 refactor(dossier): label indexes based on type_de_champ not champ 2024-03-20 09:58:47 +01:00
Paul Chavard
900db5624f refactor(champs): if champ not found - build it 2024-03-17 23:51:45 +01:00
Paul Chavard
3b13595a41
Merge pull request #10027 from mfo/US/input-state-valid-after-update
correctif(Champs::Civilite): ETQ usager, j'aimerais que le champs de type civilité ait le même style d'erreur que les autres
2024-03-07 14:03:06 +00:00
Martin
0519dece96 fix(Champs::Civilite): fix dsfr missing red feedback, add green feedback 2024-03-06 15:56:36 +01:00
Paul Chavard
a247ec6c12
Merge pull request #9695 from tchak/use-types-de-champ-as-source-of-truth
refactor(dossier): use revision as source of truth to diplay champs
2024-03-04 15:03:02 +00:00
Paul Chavard
02591da16b refactor(section): update section components 2024-03-04 10:59:11 +01:00
Paul Chavard
6a69b350f7 fix(address): nullify data when empty or invalid address is entered 2024-03-04 09:06:50 +01:00
Colin Darie
01ab59c2ed
style(form): position correctly the mandatory star on checkbox when text is on multiple lines 2024-02-21 18:04:33 +01:00
Colin Darie
e1eba45739
style: improve readibility of updated-at/rebase notices, closer to dsfr colors 2024-02-21 18:04:32 +01:00
Paul Chavard
702b9dd8b3 fix(champ): do not reset data on champs without fetch_external_data 2024-02-21 08:54:08 +01:00
Paul Chavard
20307f1d21 refactor(address): use directly BAN data 2024-02-16 12:15:14 +01:00
Colin Darie
bd3c2c070a
Merge pull request #9957 from demarches-simplifiees/finalize-rna-rnf-ldu
ETQ instructeur et consommateur API, la vue du champ RNA est harmonisée avec le champ RNF
2024-02-14 15:30:54 +00:00
Paul Chavard
ff95a812e2 fix(combobox): always sort on the client 2024-02-13 12:26:43 +01:00
Lisa Durand
9e3f28e87b
add rnf and rna address in form view 2024-02-12 17:20:05 +01:00
Colin Darie
f112569192
fix(haml-lint): TrailingEmptyLine 2024-02-12 09:33:23 +01:00
Colin Darie
9639d68ebf fix(checkbox): show mandatory icon on mandatory champ
Closes #9891
2024-02-09 12:52:21 +01:00
Colin Darie
fb14afc530 fix(rna): real RNA identifier could contain at least 1 letter, despite of specs 2024-02-06 15:02:57 +01:00
Colin Darie
e17c3bd046
Merge pull request #9839 from mfo/US/fix-filter-focus-out-with-not-selected-filter
correctif : ETQ instructeurs, lorsque je sors du composant de filtrage sans choisir une option, le site renvoie une erreur
2023-12-21 08:42:12 +00:00
Martin
e43c2f1407 feat(procedure_revision.compate): track and show diff for TypeDeChamp.explication between draft and published revisions 2023-12-19 10:51:06 +01:00
Martin
f7feca5fd1 feat(editable_champ.explication): show downloadable AttachedOne 2023-12-19 09:53:27 +01:00
Martin
95fd6c2a69 tech(combobox): propage le changement de signature dans le reste de la codebase 2023-12-15 11:23:25 +01:00
Paul Chavard
dd24a935bf fix(date): show correct format based on browser locale 2023-12-01 21:02:14 +00:00
Lisa Durand
31cb62e27d improve dark mode for admin user 2023-11-15 19:09:11 +01:00
Martin
13624f0f7e add type de champs ej bin/rails generate add_champ EngagementJuridique 2023-11-09 10:09:13 +01:00