Commit graph

781 commits

Author SHA1 Message Date
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