Commit graph

470 commits

Author SHA1 Message Date
Eric Leroy-Terquem
79ff2ba779 feat(combobox): can paste many terms separated by semicolons 2024-02-08 11:53:47 +01:00
Lisa Durand
0a8e8ebd05 change wording for co-constructing dossier 2024-02-05 12:08:10 +01:00
Colin Darie
f7484eb0e5
feat(attestation): list tags errors and substitute missing tag by libelle 2024-02-02 13:05:09 +01:00
Colin Darie
6f49dd892d
fix(attestation): multiple tags improvements
- no menu when no matching tags
- insert a space after clicking a button
- allow no space before mention
2024-02-02 09:47:20 +01:00
Colin Darie
7e02342518
feat(attestation): tiptap default attestation 2024-02-01 18:55:58 +01:00
Colin Darie
475406f3f2
style(attestation): improve editor UI & style 2024-02-01 18:55:55 +01:00
Colin Darie
16478651a9
test(attestation): more tests for v2 2024-02-01 18:55:53 +01:00
Martin
672b341279 bug(auth.error_message): should be i18n 2024-01-30 10:03:00 +01:00
Martin
2952987ad8 refactor(spec): stop using procedure type de champs traits as :with_datetime, :with_xxx in favor of :types_de_champ_public which keeps position in check 2024-01-23 17:30:22 +01:00
Martin
2fa59076f9 fix(spec.flacky): ./spec/system/administrateurs/types_de_champ_spec.rb:272 was flacky, try to fix it 2024-01-22 15:50:38 +01:00
Martin
69346ad41f tech(review): implement some pair review suggestions 2024-01-12 11:00:29 +01:00
Martin
e7eee7ba72 spec(move_and_morph): add some spec and lint with rubocop/haml/eslint 2024-01-11 16:12:09 +01:00
Martin
857a1fc496 fix(select_champ_position): rewire for more robust and easier implementation which work with repetition avoiding double submit 2024-01-11 16:01:24 +01:00
Lisa Durand
c767164e28 add expert in current_account and mode badge to the right 2023-12-19 11:33:48 +01:00
Lisa Durand
0286d2b6fb add profiles in flash after sign-in if multiple profile 2023-12-19 10:33:26 +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
Colin Darie
9a5d908851
Merge pull request #9853 from mfo/US/fix-expert-link-to-dossiers
ETQ expert: lorsque je me connecte, je suis redirigé vers la page des avis, non pas vers la page de mes dossiers
2023-12-14 19:52:32 +00:00
Martin
1307e7262f amelioration(application_controller.roles): intègre aussi le role d'expert aux logs 2023-12-14 14:52:50 +01:00
Martin
4380fecd73 amelioration(expert.sign-in): ETQ expert, je suis redirigé vers la page listant les avis a donner ap connexion 2023-12-14 10:47:04 +01:00
Kara Diaby
57dfe2b0f6 Améliorations après retours PR 2023-12-13 09:21:09 +00:00
Lisa Durand
43f5f4e030 fix test 2023-12-12 22:35:11 +00:00
Kara Diaby
303230dd1d Add new testss 2023-12-12 22:35:11 +00:00
Lisa Durand
d0e2f281cc fix tests 2023-12-12 22:35:11 +00:00
mfo
b56d5199e2
Merge pull request #9820 from mfo/US/filter-dossier-with-combobox
ETQ instructeur, lorsque je veux filtrer les dossiers d'une démarche, je peux utiliser un autocomplete
2023-12-11 09:48:58 +01:00
mfo
28bbfc7b3a
Merge pull request #9800 from colinux/fix-publication-revision-errors
ETQ admin je suis prévenu si des erreurs sur la démarche empêchent la publication de révision
2023-12-08 17:14:14 +00:00
Martin
1f13000537 amelioraiton(instructeur.filtres): utilise un combobox pour rechercher le type de champs 2023-12-08 16:10:18 +01:00
Martin
a66fd42450 amelioration(estimation_delay): evite des estimations de date similaire 2023-12-07 16:47:16 +01: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
eb42ea9a2d
refactor(admin): improve links & message of PublicationWarningComponent 2023-12-05 18:51:12 +01:00
Colin Darie
60abc6ea6e fix(admin): warn when errors block revision publication 2023-12-05 18:31:20 +01:00
Colin Darie
d70b03c969
style: replace refuse legacy icon 2023-12-04 14:07:25 +01:00
Colin Darie
adfeac02e7
style: replace new-folder icon with remix/dsfr icon 2023-12-04 14:07:17 +01:00
krichtof
fce2d8efa9
Merge pull request #9710 from demarches-simplifiees/9615-form-autosave
ETQ admin, je peux savoir quand mon formulaire a été sauvegardé pour la dernière fois
2023-11-23 23:17:14 +00:00
Christophe Robillard
9c641ccee1 remove flash success messages 2023-11-23 17:10:29 +01:00
Colin Darie
a41c8f73ad refactor(nav): organize main navigation logic across profiles 2023-11-20 15:06:43 +01:00
Lisa Durand
1fa3425d4f
Merge pull request #9705 from demarches-simplifiees/setup-dark-mode-ldu
[Accessibilité] Configurer le mode "sombre"
2023-11-16 15:10:41 +00:00
Lisa Durand
b782bcdd2b
Merge pull request #9672 from demarches-simplifiees/add-confirmation-page-for-procedure-publication-ldu
[admin] Ajout d'une page de confirmation après la publication d'une procédure - mise en avant de l'URL à partager
2023-11-16 11:08:54 +00:00
Lisa Durand
373379d132 remove icon from admin dashboard and use badge - Figma 2023-11-15 19:08:56 +01:00
Lisa Durand
11c8e408ef remove specific tabs css and use DSFR tabs 2023-11-15 18:42:40 +01:00
Colin Darie
2343ee83ef test: fix flaky brouillon on repetition 2023-11-14 09:23:00 +01:00
Colin Darie
c38dac789d test: fix deprecation warning, a selector matcher must be a string or symbol 2023-11-09 17:24:49 +01:00
Lisa Durand
ac834b0c0a add confirmation page after publishing procedure for admin 2023-11-08 12:07:32 +01:00
Eric Leroy-Terquem
f7eeb21425
Merge pull request #9604 from demarches-simplifiees/etq-admin-je-peux-creer-une-regle-de-routage-de-plusieurs-lignes
ETQ admin je peux créer une règle de routage de plusieurs lignes
2023-11-08 08:28:34 +00:00
Paul Chavard
34a76d8afd feat(dossier): commune champ is an autocomplete now 2023-11-07 20:58:39 +01:00
Eric Leroy-Terquem
3e2e5a01f9 fix(test): update routing tests 2023-11-06 15:25:45 +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
mfo
81ccc8ace2
Merge pull request #9630 from tchak/fix-champ-address
fix(address): champ address should allow custom values
2023-10-23 13:23:59 +00:00
Paul Chavard
cf3249dba5 fix(address): champ address should allow custom values 2023-10-23 12:35:19 +02:00
Lisa Durand
a6842e8484
Merge pull request #9603 from demarches-simplifiees/design-admin-form-move-button-to-sticky-footer
[admin] Rendre les boutons d'actions de la page "création du formulaire" et "annotations" plus visibles
2023-10-23 09:13:47 +00:00
Lisa Durand
48ee575990 fix specs 2023-10-19 17:59:16 +02:00
Lisa Durand
c88e6ab75c fix specs 2023-10-17 12:25:58 +02:00
Paul Chavard
63303e51f8 fix(dossier): improuve decimal field formatting 2023-10-16 16:50:07 +02:00
Lisa Durand
5e8d59244e
Merge pull request #9560 from demarches-simplifiees/instructeur-filter-display-select-for-multiple-field
ETQ instructeur si j'utilise un filtre de type choix, les valeurs possibles s'affichent dans un select
2023-10-12 07:51:04 +00:00
Christian Lautier
6dcf24a684 fix sva_sva sort specs to handle time zones 2023-10-10 18:23:24 -10:00
Lisa Durand
d07c8ce19f fix specs 2023-10-10 17:02:43 +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
Lisa Durand
cde8c614e6 display a select for input of choice type in instructeur filter 2023-10-05 11:32:07 +02:00
Colin Darie
e1dab5bb39
Merge pull request #9549 from colinux/form-identite-fix-accessibilite
ETQ usager, le formulaire d'identité est un peu plus accessible
2023-10-03 09:23:48 +00:00
Colin Darie
b85a897237
fix(form): improve identity form a11y & markup 2023-10-03 10:37:11 +02:00
Paul Chavard
d53a00137c feat(dossier): enable conditional annotations 2023-10-02 15:41:27 +02:00
Colin Darie
f942610d32
Merge pull request #9473 from demarches-simplifiees/create-export-page-V2-ldu
[Export] Créer une page d'export et sortir les liens des dropdowns
2023-09-28 17:15:31 +00: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
Colin Darie
d9687f7418
chore(exports): minor wording improvements and clarifications 2023-09-28 12:35:26 +02:00
Colin Darie
307ba68970
feat(exports): humanize status name 2023-09-28 12:35:20 +02:00
Lisa Durand
c7cd5d2189
improve UX for export page 2023-09-28 12:35:16 +02:00
Lisa Durand
79669dba37
fix spec 2023-09-28 12:35:05 +02:00
Colin Darie
bccad19e13
chore(siret): translate identity siret form 2023-09-18 19:11:27 +02:00
Lisa Durand
7311bcebb9
Merge pull request #9363 from demarches-simplifiees/dashboard-usager/make-search-work-with-procedure-filter
[refonte usager] Tableau de bord - rendre recherche complémentaire avec filtre par procédure
2023-09-13 12:55:42 +00:00
simon lehericey
d319385d17 Add tests for prefill identity 2023-09-07 10:17:19 +02:00
Kara Diaby
be55bba553 tests 2023-09-06 10:51:58 +00:00
Colin Darie
5e99250546 fix(admin): zones selector checkbox as dsfr 2023-09-05 11:02:29 +02:00
Lisa Durand
cd698fd1bd fix test 2023-09-04 16:42:19 +02:00
Lisa Durand
5ff5923612 make dossiers search compatible with filter by procedure 2023-09-04 16:42:19 +02: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
Kara Diaby
0ab31ba649 Boutons radio 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
Colin Darie
21001d7ae0
style: super admin signin form converted to dsfr 2023-08-31 09:33:34 +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
Martin
7905a4e870 tech(test.flacky): essaie de rendre plus fiable un test flacky sur la configuration des champs d'un formulaire 2023-08-29 15:49:58 +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
Paul Chavard
9571981856
Merge pull request #9350 from adullact/adullact_fix_spec_instructeur_procedures_controller
fix spec (% 10000 and assert_performed_jobs)
2023-07-25 11:07:30 +00:00
Paul Chavard
8febb3d236
Merge pull request #9338 from demarches-simplifiees/user-dashboard/add-filter-by-procedure-outside-tabs
[refonte usager] Tableau de bord - filtrer les dossiers par démarche
2023-07-24 16:32:44 +00:00
seb-by-ouidou
dcdf33e4fd fix spec (% 10000 and assert_performed_jobs) 2023-07-24 14:43:31 +02:00
Lisa Durand
385d4b4fa5 fix search and add system spec 2023-07-20 17:13:22 +02:00
Lisa Durand
68ca0a4f0d
Merge pull request #9323 from demarches-simplifiees/make-publication-page-clearer-for-admin
ETQ administrateur, je souhaite que la page "publier" soit plus claire
2023-07-20 14:04:28 +00:00
simon lehericey
ad7fa39b62 feat(user): block login when .. blocked 2023-07-18 14:10:40 +02:00
Lisa Durand
62382b1209 fix tests 2023-07-18 10:59:09 +02:00
Lisa Durand
3e30834644
Merge pull request #9274 from demarches-simplifiees/bach-operation-all-instruction-actions
[Actions multiples] Ajouter la possibilité pour les instructeurs de classer sans suite et refuser
2023-07-12 09:43:29 +00:00