Commit graph

94 commits

Author SHA1 Message Date
Paul Chavard
702b9dd8b3 fix(champ): do not reset data on champs without fetch_external_data 2024-02-21 08:54:08 +01:00
Colin Darie
7ba13507ff
Merge pull request #9808 from colinux/remove-usager-antivirus
ETQ usager, je ne vois plus le statut "antivirus en cours" lorsque j'envoie un PJ
2023-12-14 19:53:34 +00:00
Lisa Durand
d0e2f281cc fix tests 2023-12-12 22:35:11 +00:00
Colin Darie
0f1980b1c3 refactor(pj): don't poll on antivirus when submitting a pj
Closes #9733
2023-12-07 14:29:09 +01:00
Colin Darie
2343ee83ef test: fix flaky brouillon on repetition 2023-11-14 09:23:00 +01:00
Paul Chavard
34a76d8afd feat(dossier): commune champ is an autocomplete now 2023-11-07 20:58:39 +01:00
Colin Darie
560d291bcd test: retry system tests only on CI (get error fast in local) 2023-11-06 15:15:51 +01:00
Paul Chavard
869d83dda9 feat(dossier): validate on change and revalidate on input 2023-10-31 17:52:00 +00:00
Paul Chavard
d01cc76970 fix(decimal_champ): only remove dots if coma also present 2023-10-23 16:46:07 +02:00
Paul Chavard
cf3249dba5 fix(address): champ address should allow custom values 2023-10-23 12:35:19 +02:00
Paul Chavard
63303e51f8 fix(dossier): improuve decimal field formatting 2023-10-16 16:50:07 +02:00
Eric Leroy-Terquem
ff700b19bb fix(editable_champ): can enter negative decimal number 2023-10-06 15:43:59 +02:00
Eric Leroy-Terquem
e17d694b30 fix(editable_champ): can enter negative integer number 2023-10-06 15:43:59 +02:00
Colin Darie
b85a897237
fix(form): improve identity form a11y & markup 2023-10-03 10:37:11 +02:00
mfo
e1fe1188de
Merge pull request #9491 from mfo/US/better-error-summary
amelioration(usagers.dossiers.erreurs): ETQ usager, lorsque je soumets un dossier avec des erreurs, le format des erreurs est au format du DSFR
2023-09-28 17:01:09 +00:00
Martin
d8220395c8 amelioration(usagers.dossiers.erreurs): ETQ usager, lorsque je soumets un dossier avec des erreurs, le format des erreurs est au format du DSFR
Update app/components/dossiers/errors_full_messages.rb
Update app/components/dossiers/errors_full_messages/errors_full_messages.html.haml

Co-authored-by: Colin Darie <colin@darie.eu>
2023-09-28 17:50:47 +02:00
Colin Darie
75bf30bed2
feat(champ-numbers): format value in input to a backend compatible value 2023-09-28 15:26:35 +02:00
Colin Darie
aac7de208f
chore(champs-number): render as text input to validate them when invalid
Les input=number n'ont pas de value lorsque la valeur saisie n'est pas un
nombre. Par conséquent dans ces cas là, nous ne pouvions faire remonter
au backend pour validation / enregistrement, et il n'y avait aucun
feedback signalement l'erreur à l'usager.

On les convertit en inputs texte, avec les adaptations nécessaires
pour montrer le pavé numérique sur mobile, et un style correct.
2023-09-28 15:26:33 +02:00
Kara Diaby
be55bba553 tests 2023-09-06 10:51:58 +00:00
Martin
094f4f3ce6 tech(refacto): extrait la logique de rendu du dsfr sur les composants 2023-09-04 10:55:48 +02:00
Martin
6aec12f02f correctif(spec): mise a jour des brouillons_spec.rb pour adapter l'integration des checkbox au DSFR 2023-09-04 10:55:48 +02:00
Christian Lautier
db278e83ed add a constant for the most used test password 2023-08-31 13:40:05 +02:00
Colin Darie
703735417c
Merge pull request #9433 from colinux/fix-dsfr-forms
ETQ usager: fix layout de 3 forms de gestion de compte
2023-08-31 08:58:55 +00:00
simon lehericey
bd78a14f62 spec: add retry to all system spec 2023-08-31 09:59:18 +02:00
Colin Darie
f3d4008436
test: remove useless wait_for_autosave because click_on will wait anyway 2023-08-31 09:33:35 +02:00
Martin
7779aa648f tech(test.flacky): utilise click_on en lieu et place de wait_for_autosave sur dossier_shared_examples.rb
supprime un parametre inutile de la methode wait_for_autosave
2023-08-30 10:01:19 +02:00
Eric Leroy-Terquem
3f1309011a test gem 2023-08-29 15:11:34 +02:00
Christian Lautier
5ce42afe28 Fix datetime_champ validation with negative time zone 2023-08-02 14:40:47 +02:00
Martin
9a0ee850a8 amelioration(design): ETQ usager la cohabitation du design d'un form mi-DSFR, mi-DS n'est pas trop moche
amelioration(design): ETQ usager la cohabitation du design d'un form mi-DSFR, mi-DS n'est pas trop moche
2023-07-26 14:27:50 +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
Martin
af19bbe8f5 correctif(users/dossiers/brouillon#submit): ETQ usager, je souhaite que chaque lien pointant vers une erreur de champ m'oriente sur le champ 2023-05-20 08:27:55 +02:00
simon lehericey
4aee0e056d try to fix autosave spec 2023-05-11 11:52:30 +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
fcb11e49e1 spec: fix flaky test 2023-04-26 16:51:10 +02:00
simon lehericey
ae1fd3f30b linter 2023-04-24 10:59:42 +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
Paul Chavard
5abb6a8f12 chore(spec): remove memory store cache from tests 2023-04-13 13:10:23 +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
Paul Chavard
00fc2f519f chore(spec): fix commune spec 2023-03-29 15:42:33 +02: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
Paul Chavard
6924b8e46d feat(dossier): optional repetition champ should not add first row 2023-02-06 11:53:32 +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
Damien Le Thiec
5e26acb0e1
Make date and datetime prefillable (#8304)
* Make date and datetime prefillable

* Format in ISO8601 format
2023-01-12 17:42:02 +01:00
Sébastien Carceles
fa6fc077b4
normalize boolean values (#8320)
* extract parent for yes no and checkbox champs

* checkbox stores true / false instead of on / off

* normalize blank value to nil

* normalize invalid value to false

* after party task: normalize checkbox values

* after party task: normalize yes_no values
2023-01-05 11:18:27 +00:00
Colin Darie
b89fc16999 style(instructeurs/expiration): convert banner to DSFR 2023-01-04 13:15:10 +01:00
Paul Chavard
6e18090fb3 refactor(virus_scan_result): use column instead of metadata on blob 2023-01-04 12:12:11 +01:00
Paul Chavard
00218fded2 fix(dossier): update spec 2022-12-21 14:03:02 +01:00
Paul Chavard
cb5b60ccda Revert "Revert "Merge pull request #7907 from tchak/feat-cond-repetitions""
This reverts commit 0d10d36cb0.

# Conflicts:
#	app/models/dossier.rb
#	app/models/dossier_preloader.rb
2022-12-15 19:09:25 +01:00