Commit graph

1042 commits

Author SHA1 Message Date
Martin
32dcb411ca feat(repetition.carte): add carte to repetition, just to test it 2024-02-09 09:23:17 +01:00
Colin Darie
0bb25765d9 style(carte): passe l'UI au DSFR 2024-02-08 17:25:22 +01:00
Colin Darie
8f1818511a
fix(demarche): estimated delay display for declarative en instruction 2024-02-08 12:47:58 +01:00
Lisa Durand
52b334e48b dont display estimated delay for declarative procedure 2024-02-07 16:21:24 +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
70e92f7c6b
Merge pull request #9903 from colinux/attestation-ux
ETQ admin, je peux tester l'attestation v2
2024-02-06 08:09:53 +00:00
seb-by-ouidou
c2c54083e8
feat: display tree structure of a group 2024-02-05 09:30:24 +01:00
seb-by-ouidou
46c19014f9 feat: notify administrateur and gestionnaire by email when new commentaire + for administrateur highlight card and commentaires if any unread 2024-02-02 12:52:36 +01:00
Colin Darie
443e41a6ed
style(attestation): group tags by section 2024-02-01 18:55:52 +01:00
seb-by-ouidou
86c1e1136d feat: for administrateur on cards, replace label edit by see 2024-01-29 18:23:39 +01:00
seb-by-ouidou
6cd8b6d2df feat: for gestionnaire highlight card and commentaires if any unread 2024-01-29 18:23:39 +01:00
Eric Leroy-Terquem
6203b1fd05
Merge pull request #9879 from demarches-simplifiees/cleaning-conditional-and-routing-code
Tech : nettoyage du code conditionnel et routage
2024-01-29 13:43:52 +00:00
simon lehericey
5eaa957c31 can edit api_token to change networks and name 2024-01-29 10:09:55 +01:00
simon lehericey
35e9a6e905 delete api token : remove unused template and use turbo 2024-01-29 10:09:55 +01:00
simon lehericey
588e58195c move api_tokens to admin module 2024-01-25 11:27:15 +01:00
simon lehericey
eae07cab8c refactor(api): use the new api token creation wizard 2024-01-25 11:17:44 +01:00
simon lehericey
b635c940ae refactor(UI api token): add more information to api token list
- network filtering
- validity
- last used

remove creation logic
2024-01-25 11:17:43 +01:00
simon lehericey
4c94eca7c0 clean(ui): remove useless warning 2024-01-25 10:51:58 +01:00
seb-by-ouidou
a6ca4b668e feat: answer message to administrateur as gestionnaire 2024-01-22 14:36:38 +01:00
seb-by-ouidou
b19413643c feat: write message to gestionnaires as administrateur 2024-01-22 14:36:38 +01:00
seb-by-ouidou
9ff1e57feb feat: US5.1 US5.2 administrateur in admin 2024-01-22 14:36:38 +01:00
seb-by-ouidou
e6474f0d14 feat: US4.3.9 children management 2024-01-22 14:36:38 +01:00
Lisa Durand
6773843d52 add clickable summary in champ editor view for admin 2024-01-16 11:23:14 +01:00
mfo
0328446bee
Merge pull request #9861 from demarches-simplifiees/US/move-type-de-champ-with-select
ETQ administrateur, je peux deplacer un champ via un select
2024-01-15 13:09:56 +00:00
Martin
68e9d3513d tech(clean): drop drag and drop champs in editor, ux not ok 2024-01-12 11:00:29 +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
Martin
b4d32e656f feat(ChampComponent): add procedure_revision_type_de_champ.position to ui 2024-01-11 16:01:24 +01:00
Martin
dce06f22a0 feat(type_de_champ_editor): add SelectChampTemplatePosition which feeds SelectChampPositionComponent options 2024-01-11 16:01:24 +01:00
Martin
11de4bdfb6 feat(types_de_champ_editor.ts): wires move_and_morph with type de champs editor [for now, the select is empty and will be synced] 2024-01-11 16:01:24 +01:00
seb-by-ouidou
c45e2eaccc feat: write message to gestionnaires as administrateur 2024-01-09 13:25:04 +01:00
seb-by-ouidou
07dd7a1283 feat: US4.3.8 administrateur management 2024-01-09 13:25:04 +01:00
Colin Darie
103e39159b style(admin): fix alignement in editor with type de champ used by routing 2024-01-08 18:13:33 +01:00
simon lehericey
560c2d763c fix(view_component): use new slot name 2024-01-08 11:57:47 +01:00
mfo
e076de2f12
Merge pull request #9889 from mfo/US/allow-dossier-link-in-repetitions
amelioration: ETQ admin je peux utiliser les champs de type dossier dans les répétitions
2024-01-02 08:47:55 +00:00
mfo
002a14188d
Merge pull request #9875 from mfo/US/hint-regexp
ETQ admin, quand je configure un type de champ regexp, j'ai une petite mention sur le bornage de celle ci
2023-12-27 09:43:05 +00:00
Martin
7c5a297bc7 feat(repetitions): allow dossiers links in repetitions 2023-12-26 17:39:01 +01:00
Eric Leroy-Terquem
a56fa60c78 fix typos 2023-12-22 11:39:09 +01:00
Eric Leroy-Terquem
cf97af0d7e chore(groupe_instructeurs): remove dead code replaced by routing rules
component
2023-12-22 10:57:53 +01:00
Martin
cc02618bfe feat(TypeDeChampEditor.regexp): add hint regarding regexp begin/finish
Co-authored-by: LeSim <mail@simon.lehericey.net>
Co-authored-by: Colin Darie <colin@darie.eu>
2023-12-22 09:47:04 +01:00
seb-by-ouidou
e79de57fb5 fix: few fixes after review 2023-12-21 18:40:36 +01:00
seb-by-ouidou
c253e7dd65 feat: US5.1 US5.2 administrateur in admin 2023-12-21 18:40:36 +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
Lisa Durand
e52bd9d6bf
Merge pull request #9855 from demarches-simplifiees/display-last-export-in-same-page-ldu
ETQ instructeur, j'ai besoin d'un accès très facile à mondernier export
2023-12-20 10:02:08 +00:00
Eric Leroy-Terquem
954facdaff
Merge pull request #9798 from demarches-simplifiees/add-new-operators-to-conditional
Etq admin je peux conditionner/router avec les opérateurs "est dans mon département",  "n'est pas dans mon département",  "est dans ma région" et   "n'est pas dans ma région".
2023-12-19 16:10:59 +00:00
mfo
e75c4456e8
Merge pull request #9871 from mfo/US/add-pj-to-explication
ETQ administrateur, je peux ajouter une notice explicative a un champs explication
2023-12-19 10:44:03 +00:00
Martin
6f01a10846 tech(clean): move from custom spacer classes to dsfr spacer classes 2023-12-19 11:31:55 +01:00
Martin
4bc8eaa192 ui(ChampComponent): move TypeDeChamp.explication options in the right column of the editor 2023-12-19 11:31:28 +01: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
37e8772eab feat(type_de_champ_editor.explication): add a Attached::One to TypeDeChamp.explication, named notice_explicative [cf, cerfa wording] 2023-12-19 09:52:27 +01:00
Martin
7dd9e0d255 amelioration(editeur-de-champ): ETQ admin, une alert DSFR m'informe de la difference entre un champ PJ classique et un champ titre d'identité 2023-12-18 10:26:21 +01:00
mfo
b539fe1b65 amelioration(review): tech review
Co-authored-by: Colin Darie <colin@darie.eu>
2023-12-15 11:23:25 +01:00
Martin
0caacdaf59 amelioration(combobox): utilise une loupe plutot qu'un chevron bas pour les combobox en mode autocomplete 2023-12-15 11:23:25 +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
Martin
d27e4fc693 amelioration(combobox): permet de passer des options au input[type=hidden], utilise cette option pour autosubmit uniquement un input [dans notre cas, ne soumet pas a l'input du combobox, mais a l'input hidden une fois le combobox selectionné] 2023-12-15 11:23:25 +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
Eric Leroy-Terquem
e40d1107ac chore(conditional): add not_in_departement and not_in_region operators 2023-12-14 17:48:14 +01:00
Eric Leroy-Terquem
c9676020b4 chore(conditional): add in_departement and in_region operators 2023-12-14 17:48:13 +01:00
Lisa Durand
f34090f8fd display last export alert in view 2023-12-13 10:26:33 +01:00
Colin Darie
f9c4846fde
Merge pull request #9571 from adullact/feature-ouidou/admin_creation_delegation_gestionnaire_page_group_administrateur_management
Feature ouidou/admin creation delegation gestionnaire page group administrateur management
2023-12-12 10:41:28 +00:00
Colin Darie
acbddb5c29 style(gestionnaire): minor style improvements
Co-Authored-By: krichtof <christophe.robillard@beta.gouv.fr>
2023-12-12 11:31:02 +01:00
Colin Darie
968b2cfb0a
Merge pull request #9818 from colinux/correction-remove-from-message
ETQ instructeur, ma demande de correction est supprimée (résolue) lorsque je supprime son message associé
2023-12-11 13:07:43 +00:00
Colin Darie
17c4b6288d
fix(message): improve translation about correction deletion
Co-authored-by: mfo <mfo@users.noreply.github.com>
2023-12-11 11:43:54 +01: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
f647ae5ddf
Merge pull request #9828 from mfo/US/doc-api-link-in-user-profile
amelioration(doc.api): ETQ administrateur, j'ai plus facilement accès à la bonne doc des API
2023-12-11 09:48:06 +01:00
Martin
6d576049b2 amelioration(doc-api): deprecie les webhooks [on a deja supprimé la doc il y a un moment]
Co-authored-by: Colin Darie <colin@darie.eu>
2023-12-11 09:45:41 +01:00
seb-by-ouidou
96adffb5f5 fix: remove brouillon from repousser_expiration 2023-12-09 06:27:00 +01:00
seb-by-ouidou
8c1bc9e62f feat: batch action for repousser_expiration depuis expirant 2023-12-09 06:27:00 +01:00
seb-by-ouidou
9031de803b feat: batch action for passer_en_instruction depuis a_suivre 2023-12-09 06:27:00 +01:00
seb-by-ouidou
5c80f6c3f0 feat: batch action for desarchiver 2023-12-09 06:27:00 +01:00
seb-by-ouidou
c0c2e35881 feat: batch action for restaurer 2023-12-09 06:27:00 +01:00
seb-by-ouidou
5ec95d781c feat: batch action for supprimer 2023-12-09 06:27:00 +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
202fd7e099 amelioration(doc.api): utilise le bon lien pour la doc des APIs, ajoute le lien sur la section des jetons d'api sur la page profil usager 2023-12-08 16:55:03 +01: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
accd7864ff feat(correction): deleting a comment resolves the related correction
Cf #9731
2023-12-07 15:41:50 +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
Martin
f26a4bc041 amelioration(delai.traitement): revoie l'affichage du delais d'instruction
Co-authored-by: Colin Darie <colin@darie.eu>
2023-12-07 09:19:52 +01:00
Lisa Durand
f311f9e7d8 fix actions multiples dropdown instruction 2023-12-06 16:57:29 +01:00
seb-by-ouidou
e34307b50c fix: fixes after review 2023-12-06 14:47:39 +01:00
seb-by-ouidou
564c3c04fa feat: US4.3.8 administrateur management 2023-12-06 14:47:39 +01:00
Colin Darie
eb42ea9a2d
refactor(admin): improve links & message of PublicationWarningComponent 2023-12-05 18:51:12 +01:00
Colin Darie
c24a94430d style: improve dark theme messagerie buttons & iconography 2023-12-04 14:47:05 +01:00
Colin Darie
d601daaee1
style: procedure administrateurs table as dsfr 2023-12-04 14:07:33 +01:00
Colin Darie
e9471d2843
style(message): replace legacy icons 2023-12-04 14:07:31 +01:00
Colin Darie
494aa2bf40
style: replace accept legacy icon 2023-12-04 14:07:29 +01:00
Colin Darie
458d53e471
style: replace without-continuation legacy icon 2023-12-04 14:07:27 +01:00
Colin Darie
d70b03c969
style: replace refuse legacy icon 2023-12-04 14:07:25 +01:00
Colin Darie
f96d248cc5
style(editor): replace legacy arrows, move them to toolbar 2023-12-04 14:07:22 +01:00
Colin Darie
ef8dc97a4c
style: replace legacy delete icon 2023-12-04 14:07:18 +01:00
Paul Chavard
dd24a935bf fix(date): show correct format based on browser locale 2023-12-01 21:02:14 +00:00
Colin Darie
15ff65429b
Merge pull request #9738 from colinux/validate-pending-correction
ETQ usager modifiant un dossier en construction je n'ai plus besoin de cocher la case de correction effectuée
2023-11-27 13:52:06 +00: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
2c6a9e7bf2 add autosave feedback when admin updates form 2023-11-23 13:35:53 +01:00
Eric Leroy-Terquem
d92155a96a
Merge pull request #9714 from demarches-simplifiees/add-not-include-operator
ETQ admin je peux conditionner / router à partir d'un champ de type choix multiple avec l'opérateur "Ne contient pas"
2023-11-22 16:29:24 +00:00
Colin Darie
ba076357c5
feat(dossier): submit en construction resolve automatically correction except for sva 2023-11-22 12:35:42 +01:00
Colin Darie
49cd10458c feat(announces): show Nouveautés link in main navigation 2023-11-20 15:07:20 +01:00
Colin Darie
a41c8f73ad refactor(nav): organize main navigation logic across profiles 2023-11-20 15:06:43 +01:00
Eric Leroy-Terquem
f945c02c3c feat(conditional): add exclude operator 2023-11-16 10:27:03 +01:00
Lisa Durand
31cb62e27d improve dark mode for admin user 2023-11-15 19:09:11 +01:00
Lisa Durand
373379d132 remove icon from admin dashboard and use badge - Figma 2023-11-15 19:08:56 +01:00
Eric Leroy-Terquem
6ad0547a72 chore(feature flag): remove multi line routing flag 2023-11-14 17:06:05 +01:00
Colin Darie
867568f289 fix(style): select of admin limit text characters 2023-11-10 14:09:18 +01:00
Martin
8c9656f7db correctif(pjs.upload.multiple): ETQ usager, lorsqu'une demarche n'a pas activé les PJ multiples, je ne dois pas pouvoir uploader plus d'une pj 2023-11-10 12:02:52 +01:00
Kara Diaby
fa874a0ea3 Permet de configurer le mail de réexamen du dossier par l'administrateur 2023-11-10 08:54:27 +00:00
mfo
b61fa88fe0
Merge pull request #9621 from mfo/US/type-de-champs-ej
amelioration(chorus): ETQ admin, je peux ajouter un type de champ EngagementJuridique
2023-11-09 14:40:49 +00:00
mfo
87c3615774 review(tech): utilise un code unique pr les elements de l'autocomplete, corrections de typos, amelioration du code
Co-authored-by: LeSim <mail@simon.lehericey.net>
2023-11-09 11:10:17 +01:00
Martin
39abf283d9 tech(amelioration.chorus_configuration): deplace les methodes liées au rendu du model ChorusConfiguration dans le ChorusFormComponent 2023-11-09 10:09:14 +01:00
Martin
a6cf22edb8 amelioration(types_de_champ_editor/champ_component): isole le type de champs Ej aux annotation privée 2023-11-09 10:09:14 +01:00
Martin
13624f0f7e add type de champs ej bin/rails generate add_champ EngagementJuridique 2023-11-09 10:09:13 +01:00
Colin Darie
e49436aa5d
feat(announce): can destroy a note and add at the same date 2023-11-08 18:23:16 +01:00
Colin Darie
ad671092c0
refactor(announces): note form as view component 2023-11-08 18:23:07 +01:00
Colin Darie
8587696f33
feat(components): make works rich_text_area inputs 2023-11-08 18:22:15 +01:00
krichtof
a6ea607e7a
Merge pull request #9566 from adullact/feature-ouidou/admin_creation_delegation_gestionnaire_page_children_management
Feature ouidou/admin creation delegation gestionnaire page children management
2023-11-08 15:13:10 +00:00
Eric Leroy-Terquem
0968f02a26
Merge pull request #9648 from demarches-simplifiees/add-rnf-service
Ajout d'un nouveau référentiel : le Répertoire National des Fondations (RNF)
2023-11-08 09:06:47 +00: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
694cbcd0a2 feat(rnf): add rnf type_de_champ 2023-11-07 14:21:28 +01:00
Colin Darie
21b6479ace feat(messages): re-enable simple autolink for instructeurs messages
Closes #9541
2023-11-06 19:01:25 +01:00
Eric Leroy-Terquem
cd9cc65e99 feat(routing): add a feature flag on multi line routing 2023-11-06 15:25:45 +01:00
Eric Leroy-Terquem
469a50f19d refactor(condition): move conditions_error_component 2023-11-06 15:25:45 +01:00
Eric Leroy-Terquem
cf80fd03e1 chore(routing): update routing_rule validations 2023-11-06 15:25:45 +01:00
Eric Leroy-Terquem
979b5101ae chore(conditions): champs_conditions_component and routing_rules_component inherit from conditions_component 2023-11-06 15:25:45 +01:00
Paul Chavard
532fe466df refactor(conditional): use upper_coordinates method 2023-11-03 10:15:46 +00:00
Colin Darie
c4272e3bac
fix(dropdown-other): other input alignement/markup 2023-10-30 11:05:27 +01:00
Paul Chavard
d76123831c fix(drop_down_list): fix other option with combobox and some cleanup 2023-10-27 18:11:26 +02:00
seb-by-ouidou
528c51cb5e feat: US4.3.9 children management 2023-10-26 10:46:18 +00:00
mfo
ebea269f79
Merge pull request #9420 from mfo/US/chorus-tile
amelioration(tuile.chorus): ETQ admin, je peux saisir le cadre budgetaire d'une demarche de subvention pour faciliter le rapprochement d'un export DS a un export Chorus
2023-10-24 12:57:26 +00:00
Colin Darie
7aa0c7d0e8 style(champ regex): shows delimiter as hint: they don't have to be filled 2023-10-24 12:53:43 +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
045b4942d9 fix(epci): do not show let select departements with no epci 2023-10-23 12:41:24 +02: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
mfo
0922e0987a review(maj): strip la valeur recherché sur les api chorus avant de le soumettre à l'API, et quelques maj de style
Co-authored-by: Colin Darie <colin@darie.eu>
2023-10-20 07:07:53 +02:00
Paul Chavard
03dd6218f8 fix(editor): always render add champ button 2023-10-19 15:43:35 +02:00
Martin
857c1f0c21 amelioration(ChorusComponent): ameliore le rendu de la tuile si celle ci n'est que partiellement rempli 2023-10-19 07:31:14 +02:00
Martin
9c2e8d266c fixup! amelioration(procedure.chorus): ajoute la tuile chorus quand cette fonction est active sur la procedure 2023-10-19 07:14:27 +02:00
Martin
ecb3909e99 chorus(autocomplete): autocomplete sur le centre de cout, domaine fonctionnel, referentiel de programmation 2023-10-19 07:14:27 +02:00
Martin
87f435d2d3 amelioration(procedure.chorus): ajoute le form component pour le 'crud' du ChorusConfiguration 2023-10-19 07:14:27 +02:00
Martin
7d7a741a1a amelioration(procedure.chorus): ajoute la tuile chorus quand cette fonction est active sur la procedure 2023-10-19 07:14:27 +02:00
Kara Diaby
870efba29b
Merge pull request #9535 from demarches-simplifiees/feat/9411
ETQ administrateur, je veux pouvoir valider des champs avec des règles simples (Regexp)
2023-10-17 09:11:32 +00:00
Lisa Durand
75c155c284 fix displaying add field button with turbo 2023-10-16 17:02:24 +02:00
Paul Chavard
63303e51f8 fix(dossier): improuve decimal field formatting 2023-10-16 16:50:07 +02:00
Kara Diaby
1d66b47300 Prend en charge les révisions sur les démarches 2023-10-16 08:53:52 +00:00
Kara Diaby
a26df43577 User : Ajoute le type de champ Expression régulière coté utilisateur 2023-10-16 08:53:52 +00:00
Kara Diaby
c22e36c35c Si l'exemple ne passe pas la regexp, la publication de la démarche est imopssible 2023-10-16 08:53:52 +00:00
Kara Diaby
3b5bbb0779 Add new type de champ expression_reguliere with tests 2023-10-16 08:53:52 +00:00
Paul Chavard
89582d2e09 feat(dossier): use new combobox on champ adresse 2023-10-12 20:18:08 +02:00
Paul Chavard
ae450a2d2b feat(combobox): add a setting to load options from an API 2023-10-12 20:18:08 +02:00
Lisa Durand
2c73aa64a2 remove button from header for champs and annotations views & harmonize footer 2023-10-12 16:04:58 +02:00
seb-by-ouidou
ea7a5e6761 feat: US4.3.7.1 init manage gestionnaires of a group 2023-10-11 13:13:23 +00:00
Colin Darie
5ea7c15251
style(champ civilite): better vertical margin between label & fieldset 2023-10-09 13:15:15 +02:00
Colin Darie
9e5ade817a
fix(form): conditional hides fieldset__element so vertical margins are not cumulated 2023-10-09 13:15:13 +02:00
Eric Leroy-Terquem
c53b0a1c9e fix(editable_champ): can enter negative 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
Eric Leroy-Terquem
e6b98a1e82 doc(routage): add link to routage doc in options page 2023-10-04 14:23:25 +02:00
Colin Darie
9673485904
chore(flipper): delete disable_label_optional_champ_2023_06_29 feature flag 2023-10-03 14:37:41 +02:00
Colin Darie
8c66f4d6df
chore(form): remove "optional" mention because people never fill them
Closes #9540
2023-10-03 14:37:20 +02:00
simon lehericey
6fb9459d29 UI: small fixed 2023-10-03 12:24:28 +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
1fbfc9fce1
chore(form): InputComponent with asterisk on required inputs 2023-10-03 10:37:12 +02:00
Paul Chavard
d53a00137c feat(dossier): enable conditional annotations 2023-10-02 15:41:27 +02:00
Christophe Robillard
1bab324444 improve wording for breaking changes 2023-09-29 17:40:06 +02:00
krichtof
428ae4a45a
Merge pull request #9507 from demarches-simplifiees/9449-signature-groupe-instructeur
9449 ETQ instructeur ou admin, je peux apposer sur une attestation un tampon dédié à un groupe instructeur
2023-09-29 14:20:46 +00:00
mfo
af6fd9d14c
Merge pull request #9531 from colinux/fix-form-markup
ETQ usager le formulaire est aéré grâce au bon markup du DSFR
2023-09-29 12:04:59 +00: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
Colin Darie
95ceee38c7
chore(form): don't try to put invalid group classes for non fillable inputs 2023-09-28 18:33:28 +02:00
Colin Darie
60882e0844
chore(form): respect dsfr fr-fieldset and elements expected markup 2023-09-28 18:33:26 +02: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
d4198869fb
chore(exports): dropdown menu re-uses the same pending export or create a fresh one
Pour permettre d'avoir des données fraiches dans un export tout
en conservant l'historique des exports,
la demande d'export depuis le menu créé toujours un nouvel export sauf:
- si un autre export identique est déjà en préparation
- si un autre export identique s'est terminé il y a moins de 5 minutes

Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 15:23:31 +02:00
Colin Darie
d9687f7418
chore(exports): minor wording improvements and clarifications 2023-09-28 12:35:26 +02:00
Colin Darie
2283c7eba7
test(exports): minimal coverage for ExportLinkComponent 2023-09-28 12:35:22 +02:00
Colin Darie
daa8eac9cc
style(exports): download link instead of button 2023-09-28 12:35:21 +02:00
Colin Darie
307ba68970
feat(exports): humanize status name 2023-09-28 12:35:20 +02:00
Colin Darie
3af93735a3
feat(exports): turbo poll for pending exports 2023-09-28 12:35:19 +02:00
Colin Darie
ed057737a5
feat(exports): name the dossiers count 2023-09-28 12:35:18 +02:00
Lisa Durand
c7cd5d2189
improve UX for export page 2023-09-28 12:35:16 +02:00
Lisa Durand
58a143b2c7
improve wording and display for export page 2023-09-28 12:35:15 +02:00
Colin Darie
99f5b39dbb
fix(exports): force regenerate export with same statut filter
Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 12:35:12 +02:00
Colin Darie
fc66f4b05d
refactor(exports): drop useless exports relation dependency for exports dropdown
Since the dropdown does not list download links anymore,
we don't have to pass them a dynamic exports list.

Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 12:35:08 +02:00
Lisa Durand
5a571a3535
create export page to list all the exports and remove links from the dropdown 2023-09-28 12:35:04 +02:00
Christophe Robillard
abad463bb1 remove placeholder for decimal number component 2023-09-25 18:17:04 +02:00
Christophe Robillard
168616b8c6 remove placeholder for phone component 2023-09-25 18:17:04 +02:00
Christophe Robillard
18e5c32363 remove placehoder for rna component 2023-09-25 18:17:04 +02:00
Christophe Robillard
8bacb30e36 remove placeholder for iban component 2023-09-25 18:17:04 +02:00
Christophe Robillard
bd3f7eeb38 remove placeholder for siret component 2023-09-25 18:17:04 +02:00
Christophe Robillard
ae08f044ed remove placeholder for email component 2023-09-25 18:17:04 +02:00
Christophe Robillard
3ff7bc7234 display max size and format as hint 2023-09-25 18:17:04 +02:00
Christophe Robillard
e972514ec6 remove useless blank line 2023-09-25 18:17:04 +02:00
Christophe Robillard
9c2c378588 use model locales for titre identite hint 2023-09-25 18:17:04 +02:00
Colin Darie
3e1678c17a chore(attachments): always render allowed formats when list is short
Co-Authored-By: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2023-09-22 10:24:16 +02:00
Colin Darie
44578ba65c fix(attachment): keep direct_upload behavior in poll url
Co-Authored-By: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2023-09-22 10:24:16 +02:00
Martin
04fe3ad2b6 correctif(repetition.commune): ETQ usager, lorsque j'ai plus d'une repetition ayant un champ commune, les ids des options des input[type=radio] des communes partageant le meme code postal ne sont pas uniques, on boucle sur la 1ere repetition 2023-09-20 17:56:17 +02:00
simon lehericey
954c5334ef use new procedure in view 2023-09-20 14:11:09 +02:00
simon lehericey
9047c2a7de api_tokens_controller: extract become full_access 2023-09-20 14:11:09 +02:00
simon lehericey
01efae960b fix component 2023-09-20 14:11:09 +02:00
Paul Chavard
b1dc376d1d fix(champs-editor): add dsfr classes to select elements 2023-09-19 11:09:29 +02:00
Eric Leroy-Terquem
aac9182ce4 wording(routing): update routing configuration notice 2023-09-18 09:32:07 +02:00
Eric Leroy-Terquem
60e5abd266 feat(routing): add departements options to value tag if routing by epci 2023-09-18 09:32:07 +02:00
Paul Chavard
fb917a221d feat(combobox): use ComboboxComponent on drop_down_list champs 2023-09-15 14:49:13 +02:00
Paul Chavard
85024174d4 feat(combobox): implement ComboboxComponent 2023-09-15 14:48:25 +02:00
Eric Leroy-Terquem
0454d2066e
Merge pull request #9474 from demarches-simplifiees/can-route-from-commune-champ
ETQ admin je peux router par département depuis un type de champ communes
2023-09-15 08:18:24 +00: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
Colin Darie
f28739d648
Merge pull request #9372 from colinux/svr
Admin: permet l'activation du SVR
2023-09-13 12:08:39 +00:00
Colin Darie
d7a9bee63e
feat(svr): instructor menu actions with svr actions 2023-09-13 13:50:25 +02:00
Colin Darie
d7297067af
fix(sva): examples dates in documentation 2023-09-13 13:50:24 +02:00
Colin Darie
69e673e47e
feat(svr): enablable from configuration 2023-09-13 13:50:22 +02:00
Eric Leroy-Terquem
632314bc0e wording(routing): update routing configuration notice 2023-09-13 10:45:21 +02:00
Eric Leroy-Terquem
d1cf60585a feat(routing): add departements options to value tag if routing by communes 2023-09-13 10:45:20 +02:00
Eric Leroy-Terquem
97bfdc774d wording(routing): update routing configuration notice 2023-09-13 10:22:01 +02:00
Eric Leroy-Terquem
e9760e5aa3 feat(routing): add regions options to value tag 2023-09-13 10:22:00 +02:00
Lisa Durand
2f5310a470
Merge pull request #9457 from demarches-simplifiees/create-export-page-ldu
Reorganisation des boutons sur l'interface instructeur
2023-09-11 07:59:20 +00:00
LeSim
d8bfe07246
Merge pull request #9461 from colinux/fix-spinner-position
ETQ usager, fix position du spinner pour les champs conditionnels
2023-09-06 14:32:09 +00:00
Lisa Durand
c6a6a584af
Merge pull request #9463 from demarches-simplifiees/fix-dropdown-invisible-input-with-dsfr-update
[fix] Selecteur de filtres pour instructeurs - le champ est invisible
2023-09-06 12:28:52 +00:00
Lisa Durand
bf64110b20 put back max value length 2023-09-06 14:07:26 +02:00
Colin Darie
95159feb25 fix(spinner): remove obsolete siret spinner 2023-09-06 13:17:01 +02:00
Lisa Durand
5fed1c0330 make dropdown filter for instructeur to DSFR 2023-09-06 12:40:01 +02:00
Kara Diaby
47f305216f champ civilite au DSFR 2023-09-06 09:02:25 +00:00
Lisa Durand
5fe5320127 style checkbox for notification as regular checkbox instead of switch button 2023-09-05 18:07:04 +02:00
Lisa Durand
387c89f23c move personnalize button inside the table 2023-09-05 17:14:18 +02:00
Eric Leroy-Terquem
a7859a8a9c clean(routing): use translations for operator_tag 2023-09-05 15:57:31 +02:00
Eric Leroy-Terquem
d0da808325 feat(routing): can add a routing rule with not_eq operator 2023-09-05 15:57:31 +02:00
simon lehericey
9e0aadd2dd fix: always add an empty option in mandatory 2023-09-05 14:18:44 +02:00
LeSim
b39e6ebf28
Merge pull request #9450 from colinux/sva-improve-repasser-en-instruction-flow
ETQ instructeur d'une démarche SVA/SVR je visualise mieux un dossier terminé qui est repassé en instruction
2023-09-05 08:45:52 +00:00
Lisa Durand
5ff5923612 make dossiers search compatible with filter by procedure 2023-09-04 16:42:19 +02:00
Colin Darie
b5e2c9b860
fix(sva): improvements when a dossier has already been terminated 2023-09-04 16:09:01 +02:00
Martin
4d2307f683 amelioration(choix.simple): lorsqu'il y a un champ autre, le positionne proprement 2023-09-04 10:55:48 +02:00
Martin
9a754e4559 amelioration(choix.multiple): utilise le aria-pressed plutot qu'une class custom 2023-09-04 10:55:48 +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
f54ab0bf96 amelioration(form): utilise les bonnes classes DSFR pour divers composants 2023-09-04 10:55:48 +02:00
Martin
2c04be5289 amelioration(champs.multiple_dropdown_list): passe le champs choix multiple au DSFR, l'encapsule dans un fieldset 2023-09-04 10:55:48 +02:00
Martin
b4593a947d amelioration(champs.linked_dropdown_list): passe le champs liste liées au DSFR, l'encapsule dans un fieldset 2023-09-04 10:55:48 +02:00
Martin
3697d8335d correctif(checkbox_component): ajoute le labelledby_id au <label> des checkbox unique car elles n'ont pas de de ChampLabelComponent (inlinées) 2023-09-04 10:55:48 +02:00
Martin
40d1de22ea correctif(champ_label_component): ajoute le labelledby_id aux <legend> sans quoi les ancres vers les erreurs plantent 2023-09-04 10:55:48 +02:00
Martin
b34b4fcb0c tech(extraction.erreurs): isole l'affichage des erreurs d'un champs ds un composant 2023-09-04 10:55:48 +02:00
Martin
d164605f32 amelioration(champs.commune): passe le champs commune au DSFR, l'encapsule dans un fieldset et améliore le wording 2023-09-04 10:55:48 +02:00
Martin
a947457b57 amelioration(champs.epci): passe le champs epci au DSFR et l'encapsule dans un fieldset 2023-09-04 10:55:48 +02:00
Martin
f40192faec amelioration(dsfr.radio/checkbox): utilise les classes de fieldset error/valid plutot que les classes pour les input-group 2023-09-04 10:55:48 +02:00
Kara Diaby
b42fd4ceb6 Fix admin/show after dsfr 1.10 2023-09-04 10:55:48 +02:00
Kara Diaby
27e7bc1dbd Deux menus deroulants liés au DSFR 2023-09-04 10:55:48 +02:00
Kara Diaby
74d04c84f5 Multiple drop down list au DSFR 2023-09-04 10:55:48 +02:00
Kara Diaby
58bcdb406d Multiple drop down list au DSFR 2023-09-04 10:55:48 +02:00
Kara Diaby
37796b8843 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
Kara Diaby
fb8fcd00b3 Passe les champs select au DSFR 2023-09-04 10:55:46 +02:00
Paul Chavard
0ba0fd5058 feat(type_de_champ): insert an add champ button after each type de champ 2023-09-01 13:00:38 +02:00
LeSim
04ab6ed0aa
Merge pull request #9286 from demarches-simplifiees/etq-instructeur-i-see-a-badge-for-reaffected-dossiers
ETQ instructeur je vois un badge d'alerte quand le dossier a été réaffecté
2023-08-31 10:22:25 +00:00
Colin Darie
39fe872947
style: convert Agent signin form to dsfr 2023-08-31 09:33:30 +02:00
Martin
26045cdd5f amelioration(instructeur#activate_account): passage de la page de d'activation d'un compte instructeur au dsfr 2023-08-30 13:40:51 +02:00
Eric Leroy-Terquem
ca25788f07 feat(routing): use only department codes in routing rules 2023-08-29 15:50:42 +02:00
Eric Leroy-Terquem
4e6788919f wording(routing): update routing configuration notice 2023-08-29 15:50:42 +02:00
Eric Leroy-Terquem
3f969ca6c5 clean(typo): use right suspension points 2023-08-29 15:50:42 +02:00
Eric Leroy-Terquem
4be9352781 feat(routing): add departements options to value tag 2023-08-29 15:50:42 +02:00
Eric Leroy-Terquem
690aad8665 fix(publication): remove invalid routing rule alert for non routed procedures 2023-08-29 13:45:59 +02:00
Eric Leroy-Terquem
8fc6930d9b feat(routing): add a warning at publication if groups with invalid routing rules 2023-08-03 14:31:28 +02:00
Eric Leroy-Terquem
d106f2afd7 feat(routing): add a warning if option added to tdc used by routing rules 2023-08-03 14:31:28 +02:00
Colin Darie
1c7bad2f5b
style(forms): convert various legacy admin forms to dsfr 2023-07-31 23:42:13 +02:00
Colin Darie
bf39ba4468
style(services): service form converted to dsfr 2023-07-31 23:42:11 +02:00
Eric Leroy-Terquem
ca8a3732f5 feat(DossierAssignment): add warning when dossier is reaffected 2023-07-31 14:41:37 +02:00
Eric Leroy-Terquem
c86651cfc5 refactor(routing): refactor options for select 2023-07-27 15:27:49 +02:00
Martin
fe712d6659 correctif(liste-numerotés): surcharge le style des listes numéroté du DSFR qui empechent l'usage que peuvent en faire nos usagers 2023-07-27 09:07:14 +02:00
Paul Chavard
2daee794bc fix(markdown): render ordered lists with custom values and handle multiline list items 2023-07-27 09:07:14 +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
Martin
c86c1efcb7 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
Martin
405c8dec17 amelioration(champ.textarea): affiche les retours UX [taille max et ou taille actuelle] avec le composant DSFR 2023-07-26 14:27:50 +02:00
Martin
4858239768 amelioration(champ.rna): affiche les retours UX avec les bons composant text dsfr 2023-07-26 14:27:50 +02:00
Martin
0edf5d2c58 amelioration(champ.siret): affiche l'etablissement avec le hint dsfr info 2023-07-26 14:27:50 +02:00
Martin
b88b537518 poc(erreur): sur les champs 2023-07-26 14:27:50 +02:00
Martin
48925b26d6 amelioration(invite): ETQ invite, le fait que c'est au titulaire du dossier de deposer le dossier est plus visible 2023-07-26 12:31:47 +02: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
Paul Chavard
39613ed67d fix(a11y): add label and remove non unique id 2023-07-24 18:22:35 +02:00
Paul Chavard
8cdedded45 fix(dossiers): pluck procedure information for user dossiers 2023-07-24 16:48:05 +02:00
Colin Darie
5998cfe31f refactor(correction): rename kind => reason with default correction => incorrect 2023-07-21 16:45:47 +02:00
Lisa Durand
8ed1e97ee1 add filter by procedure for user for all tabs 2023-07-19 17:57:24 +02:00
Colin Darie
32d2d58838
Merge pull request #9305 from colinux/instructeurs-improve-sva
ETQ instructeur, le badge SVA d'un dossier intègre la date prévisionnelle de décision au survol
2023-07-12 12:34:23 +00: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
Lisa Durand
ce04449207 small design fix on dropdown 2023-07-12 10:48:13 +02:00
Colin Darie
cd95762383 feat(sva): show decision date in badge title 2023-07-12 10:27:35 +02:00
Colin Darie
9462d66778 fix(batch): disable dropdown when alls buttons inside are disabled
Co-Authored-by: Lisa Durand <lisa.c.durand@gmail.com>
2023-07-11 18:33:50 +02:00
Colin Darie
f812e0b084
fix(demarche): legacy notice linking 2023-07-11 10:48:01 +02:00
Colin Darie
07f10070e9
fix(sva): disable svr configuration since until implementation 2023-07-11 10:01:49 +02:00
Colin Darie
6ce8428ac6
feat(sva): instructeur can flag a dossier as incomplete 2023-07-11 10:01:48 +02:00
Lisa Durand
93b0af50cc
fix(sva): dont render sva badge component if procedure is not sva 2023-07-11 10:01:48 +02:00
Lisa Durand
786bc64d85
feat(sva): add sva badge on page dossier for instructeur 2023-07-11 10:01:48 +02:00
Colin Darie
f1504e9724
feat(sva): instructeurs dashboard sva/svr colonnes with multiple use cases 2023-07-11 10:01:47 +02:00
Colin Darie
d70278a534
refactor(sva): dossier can't repasser en construction without pending correction 2023-07-11 10:01:47 +02:00
Colin Darie
eb7f1f199a
feat(sva): block configuration changes when procedure is published 2023-07-11 10:01:46 +02:00
Colin Darie
c2c57b0c7e
style(dsfr/radio): error for input radios group 2023-07-11 10:01:45 +02:00
Colin Darie
8c210e6fc7
feat(admin): config sva/svr 2023-07-11 10:01:45 +02:00
Colin Darie
7a8b83cfc9
feat(admin): card link to sva/svr configuration 2023-07-11 10:01:45 +02:00
Colin Darie
6cf9ea6459
Merge pull request #9256 from demarches-simplifiees/user-dashboard/change-design-from-table-to-tile-part-2
[refonte usager] Tableau de bord - Changer design de tableau à tuiles
2023-07-10 13:28:51 +00:00
Paul Chavard
d5820277c0 feat(cojo): add cojo type de champ 2023-07-10 14:57:34 +02:00
Paul Chavard
a9f431caa5 feat(dossier): implement champ polling 2023-07-10 14:57:34 +02:00
Paul Chavard
52545dc86c fix(type_de_champ): feature flag support 2023-07-10 14:57:34 +02:00