Commit graph

18091 commits

Author SHA1 Message Date
Paul Chavard
47a8d33d85 refactor(progress_bar): should be a component 2023-02-28 16:36:18 +01:00
Julie Salha
af31e097fb Add a11y attributes progressbar
Peux-tu également prévoir une traduction pour l'attribut aria-label stp ? ("File upload").
N'hésite pas si tu as des questions.
2023-02-28 16:36:18 +01:00
Paul Chavard
97f0df0598 refactor(progress): move progress bar markup to haml 2023-02-28 16:36:18 +01:00
Paul Chavard
294a5135ce feat(public/api): add dossier state api 2023-02-28 16:35:25 +01:00
Paul Chavard
1ac113188c
Merge pull request #8709 from tchak/fix-demarches-page-turbo
fix(demarches): improuve turbo refresh on demarches page
2023-02-28 14:01:00 +00:00
sebastiencarceles
f52554b5a3 review: update value with async fetch
1 - spec cover the job which fetches external data

2 - refactor the job with guard clauses

3 - delegate update operation to the champ itself

4 - annuaire education: override the update operation
to let the value be populated by the fetched data

5 - prefilling: don't fetch data synchronously
2023-02-28 14:53:08 +01:00
sebastiencarceles
8b25503f7e feature spec cover 2023-02-28 14:23:38 +01:00
sebastiencarceles
447ea1b9a8 don't prefill with an incorrect value 2023-02-28 14:23:38 +01:00
sebastiencarceles
d7bfb9dc18 enrich value from education api 2023-02-28 14:23:38 +01:00
Paul Chavard
c339f609c0 fix(demarches): improuve turbo refresh on demarches page 2023-02-28 14:05:23 +01:00
sebastiencarceles
4f4f4baffd add possible and example values 2023-02-28 13:26:35 +01:00
sebastiencarceles
71f1e785ab let annuaire education champ be prefillable 2023-02-28 13:26:35 +01:00
Colin Darie
7e13d58db2
Merge pull request #8703 from govpf/feature/fix-dossier-controller-spec
Fix dossier controller spec
2023-02-28 12:11:30 +00:00
krichtof
dee499d386
Merge pull request #8706 from demarches-simplifiees/all_demarches_even_without_zones
liste toutes les démarches, même celles non associées à des zones
2023-02-28 10:58:07 +00:00
kleph
120e13f9ba
Merge pull request #8688 from kleph/doc_apm_env_var
chore(env): add ELASTIC_APM_* environment variable to env.example.optional file
2023-02-28 09:39:17 +00:00
kleph
7676043ebc chore(env): add ELASTIC_APM_* environment variable to env.example.optional file 2023-02-28 10:24:11 +01:00
Colin Darie
cc6ea04539
Merge pull request #8702 from colinux/fix-ban-shortcut-noresult
fix(combo-address): provide a valid empty response
2023-02-28 09:00:21 +00:00
Sébastien Carceles
e426a623e4
Merge pull request #8704 from demarches-simplifiees/fix/communes
fix possible values
2023-02-28 08:54:31 +00:00
sebastiencarceles
a08bb1bddc fix epci: all possible values 2023-02-28 08:37:52 +01:00
sebastiencarceles
2ae2d99e93 fix communes: all possible values 2023-02-28 08:36:43 +01:00
Colin Darie
396f545cf2 fix(comboadress): provide a valid empty response 2023-02-27 18:41:02 +01:00
Lisa Durand
07bb27a3af add repasser_en_instruction to dossiers expirants 2023-02-27 17:57:46 +01:00
Lisa Durand
e076981571
add comment in dsfr.scss
Co-authored-by: mfo <mfo@users.noreply.github.com>
2023-02-27 17:49:48 +01:00
Colin Darie
da5618b9fc
Merge pull request #8673 from colinux/translate-help-dropdown
Accessibilité: traduit les menus contextuels d'aide, normalise l'affichage et les icônes (dsfr)
2023-02-27 16:40:27 +00:00
Colin Darie
905d868390
Merge pull request #8659 from colinux/fix-titres-numeros-conditional
Titres de section: la numérotation automatique tient compte du conditionnel
2023-02-27 16:37:27 +00:00
Colin Darie
ae93d3927e refactor(dossier): extract sections logic in a concern 2023-02-27 17:29:22 +01:00
Colin Darie
8156e1cc01 feat(admin): notice about auto numbering of header section 2023-02-27 17:29:22 +01:00
Colin Darie
ce175aed00 chore(type_de_champ): normalize (strip) all libelles 2023-02-27 17:29:22 +01:00
Colin Darie
1981bfc88e feat(tdc): strip libelle so header section titles always start with something 2023-02-27 17:29:22 +01:00
Colin Darie
d7880f7e58 feat(dossier/pdf): header sections numbering 2023-02-27 17:29:22 +01:00
Colin Darie
3de089d6c7 fix(conditional): dynamic title counters using css
Closes #8086
2023-02-27 17:29:22 +01:00
Colin Darie
4d1a5f230c feat(a11y/i18n): inject user locale to chat / crisp 2023-02-27 17:23:43 +01:00
Colin Darie
8a340b6f74 fix(upload): missing i18n key 2023-02-27 17:23:43 +01:00
Colin Darie
a931bea712 feat(a11y/i18n): translate skiplinks 2023-02-27 17:23:43 +01:00
Colin Darie
7a67345d49 refactor(help_dropdown): fix font sizes & use dsfr icons 2023-02-27 17:23:43 +01:00
Colin Darie
11fb3a5ca8 fix(i18n): translate contextual procedure help dropdown
Cf #8665
2023-02-27 17:23:43 +01:00
Paul Chavard
7076d6d99e fix(turbo): rerender only top part of the header 2023-02-27 16:06:11 +01:00
Sébastien Carceles
568c2f8f4e
Merge pull request #8679 from demarches-simplifiees/prefill/dossier-link
feat(dossier): prefill dossier link champ
2023-02-27 14:32:15 +00:00
sebastiencarceles
8f12467168 feature spec cover 2023-02-27 15:18:37 +01:00
sebastiencarceles
35f4874b69 allow integers only 2023-02-27 15:16:40 +01:00
sebastiencarceles
0aacaee2c2 add possible and example values 2023-02-27 15:16:27 +01:00
sebastiencarceles
13229158bd let dossier link champ be prefillable 2023-02-27 15:14:39 +01:00
Sébastien Carceles
15d0d8b5c5
Merge pull request #8424 from demarches-simplifiees/prefill/rna
feat(dossier): prefill rna champ
2023-02-27 14:02:46 +00:00
sebastiencarceles
1caf56d943 fix lint 2023-02-27 14:48:46 +01:00
sebastiencarceles
efd5464bd5 cover use case with feature spec 2023-02-27 14:43:48 +01:00
sebastiencarceles
0e3126cf83 review: readability 2023-02-27 14:35:11 +01:00
sebastiencarceles
39545671f3 refacto: better error management 2023-02-27 14:35:11 +01:00
Sébastien Carceles
e89c8385a4 fetch association data when editing the dossier 2023-02-27 14:35:11 +01:00
sebastiencarceles
33fa40eda2 don't clean the rna champ value
Cleaning the value is useless, when fetching the association,
as the value will be re-written by the dossier update, when the user
fills in the dossier.

Furthermore we need the value to persist when prefilling the champ.
2023-02-27 14:35:11 +01:00
Sébastien Carceles
7e55aca107 allow rna prefill 2023-02-27 14:35:11 +01:00