Commit graph

8066 commits

Author SHA1 Message Date
Paul Chavard
c075a4e415 fix(dossier): we should never detroy user’s dossiers in cascade 2022-10-14 14:14:51 +02:00
Paul Chavard
c097f70543 fix(graphql): hide champs based on conditions 2022-10-14 11:33:25 +02:00
simon lehericey
d5d031e15d fix(export): do not export invisible champ 2022-10-14 10:30:27 +02:00
simon lehericey
40a3fff593 perf(dossiers_controller): do not load pj template in update, -10ms 2022-10-13 22:36:56 +02:00
simon lehericey
f8ee6386b9 perf(champ): check condition.present? without json deserializationl, -6ms 2022-10-13 22:36:56 +02:00
simon lehericey
73b4ee64e6 perf(champ_value): use champ_type instead of tdc.type_champ, -22ms 2022-10-13 22:36:56 +02:00
Eric Leroy-Terquem
c6082ded09 no select for usager if only one groupe_instructeur 2022-10-13 19:49:32 +02:00
Martin
d09c47f5ce correctif(usager.fusion): leve une erreur quand on essaie de fusionner un compte sur lui même 2022-10-13 17:00:20 +02:00
Paul Chavard
25c774b3a1 refactor(dossier): extract dossier edit footer into a component 2022-10-13 14:44:46 +02:00
Paul Chavard
d409b6f4ef feat(dossier): do not save dossier on submit 2022-10-13 14:44:46 +02:00
Paul Chavard
78a1323fc2 refactor(dossier): move dossier submit action in to a new form 2022-10-13 14:44:46 +02:00
Paul Chavard
dd38fa4458 refactor(spec): add wait_for_autosave helper 2022-10-13 14:44:46 +02:00
Colin Darie
e2e9ddd625 style(conditionnel): dsfr button styles 2022-10-13 10:17:21 +02:00
Colin Darie
8153f33896 style(repetition): fix button styles 2022-10-13 10:17:21 +02:00
Colin Darie
9571e9481d style(avis): fix font sizes & colors due to h2 strongly styled 2022-10-12 14:41:31 +02:00
Paul Chavard
1fd1878370 feat(jobs): add request_id to jobs payload 2022-10-12 14:32:23 +02:00
Paul Chavard
7f1dd49bdc chore(flipper): always use feature_enabled? helper 2022-10-12 14:14:30 +02:00
Paul Chavard
0f192fd752 chore(flipper): add feature_enabled? to components 2022-10-12 14:14:30 +02:00
Damien Le Thiec
29a97fac43
Merge branch 'main' into feature/add_rna_type_de_champs 2022-10-11 18:59:45 +02:00
Damien Le Thiec
0e995c8bcc
Update app/models/champs/rna_champ.rb
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2022-10-11 16:34:00 +02:00
simon lehericey
7672ad3fe9 fix(editor champ): do not raise on destroy replay 2022-10-11 16:27:49 +02:00
Damien Le Thiec
73f6063c87
Merge branch 'main' into feature/add_rna_type_de_champs 2022-10-11 15:36:46 +02:00
Damien Le Thiec
2e8c0512a5 Remove skip_cleanup option 2022-10-11 15:11:51 +02:00
Colin Darie
073656342e fix(api_address): support Adresse BAN without postcode
Des adresses n'ont pas de code postal (dans certains TOM par exemple).
On fallback sur un string vide plutôt que nil pour limiter les effets de bord.
2022-10-11 12:25:12 +02:00
Damien Le Thiec
bcdc9c18ae Remove skip_fetch_data mechanism 2022-10-11 11:52:59 +02:00
simon lehericey
97529ab6af refactor(user dossier): move ruby logic to controller 2022-10-11 11:39:05 +02:00
simon lehericey
32e01b13ef refactor(user dossier): mutualize update/update_brouillon 2022-10-11 11:39:05 +02:00
simon lehericey
437ac44143 perf(user dossier): batch hide/show element finding 2022-10-11 11:39:05 +02:00
Paul Chavard
a19bf050ef fix(iban): format iban after validation 2022-10-11 10:43:32 +02:00
Colin Darie
a9f2bec636 style(css): add deprecation rules and TODO
Co-authored-by: mfo <mfo@users.noreply.github.com>
2022-10-11 09:50:21 +02:00
Colin Darie
59b9ae5c46 TODO: deprecate CSS containers
Co-authored-by: mfo <mfo@users.noreply.github.com>
2022-10-11 09:50:21 +02:00
Colin Darie
03de58c7e2 fix: download link with empty value, otherwise it could be used to name the file 2022-10-11 09:50:21 +02:00
Colin Darie
df672fb493 fix(footer): etalab link with rel=noopener 2022-10-11 09:50:21 +02:00
Colin Darie
d821a3e40c style(new_session): fix buttons style 2022-10-11 09:50:21 +02:00
Colin Darie
9992ab9e09 style(admin): new procedure btn styles 2022-10-11 09:50:21 +02:00
Colin Darie
3e8f040d49 style(usager/dossier): fix summary actions style 2022-10-11 09:50:21 +02:00
Colin Darie
10802d15cc style(instructeur/procedure): re-style header procedure title & dossier number 2022-10-11 09:50:21 +02:00
Colin Darie
c5092fda12 style(expert): fix avis weight/font-size 2022-10-11 09:50:21 +02:00
Colin Darie
df1d7ae2bd style(procedures): dsfr compat instructeurs/expert procedures list 2022-10-11 09:50:21 +02:00
Colin Darie
0480a0336d fix(scss): lint errors 2022-10-11 09:50:21 +02:00
Colin Darie
fa9bc5d185 style(admin): multiple style improvements, essentially links & buttons 2022-10-11 09:50:21 +02:00
Colin Darie
0a2460ba71 style(admin): fix various links / buttons style 2022-10-11 09:50:21 +02:00
Colin Darie
fd3b30d8e6 style(messagerie): improve font-size & styles 2022-10-11 09:50:21 +02:00
Colin Darie
278b58ef78 style(instructeurs): restyle dossier actions 2022-10-11 09:50:21 +02:00
Colin Darie
0e1077487a style(autosave): better font-size & link style 2022-10-11 09:50:21 +02:00
Colin Darie
2ab5fbbb24 style(link): use DSFR underline style everywhere possible.
Par conséquent on commence à remplacer d'anciens "liens-boutons" (qui
auraient récupéré un souligné indésirable), par un vrai boutton dsfr.

Le hack fr-underlined n'est aussi plus nécessaire.
2022-10-11 09:50:21 +02:00
Colin Darie
555c796d19 style(forms): increase forms elements font-size to legacy value & fieldset style 2022-10-11 09:50:21 +02:00
Colin Darie
71996af65b style(avis): use fr-badge for count instead of broken css 2022-10-11 09:50:21 +02:00
Colin Darie
7dd3a42cd7 fix(style): tabs 2022-10-11 09:50:21 +02:00
Colin Darie
72e79eb2d3 fix(css): don't duplicate font declarations from DSFR.
This may cause issues in exact font height computation & underline effect.
2022-10-11 09:50:21 +02:00