Commit graph

15413 commits

Author SHA1 Message Date
Martin
40df4bee84 fix(polyfills): maybe missing core-js 2022-07-19 10:52:55 +02:00
Martin
5932f2a1f6 fix(MutationObserver): IE 11 kind of silent error: https://stackoverflow.com/questions/50593385/mutationobserver-syntax-error-on-ie-11 2022-07-19 10:52:55 +02:00
Martin
b01161c471 fix(ie): now failing on custom event 2022-07-19 10:52:55 +02:00
Martin
f7215a3dea fix(polyfill): make it works on ie11 2022-07-19 10:52:55 +02:00
Martin
1d33fd9db3 fix(formdata-polyfill): retry with babel as transpiler 2022-07-19 10:52:55 +02:00
Martin
99350e45dd Revert "Merge pull request #7579 from betagouv/US/fix-event-target-polyfill"
This reverts commit 27ed32bff0, reversing
changes made to 795570b039.
2022-07-19 10:52:55 +02:00
Paul Chavard
24d7cbb4e1
Merge pull request #7582 from betagouv/conditional_small_fixes
fix(conditionnel): fait marcher les operateurs lorsque les usagers n'ont pas remplis les champs
2022-07-19 10:16:07 +02:00
simon lehericey
2d26ba3507 fix: binary operator computes false by default 2022-07-19 10:11:24 +02:00
mfo
27ed32bff0
Merge pull request #7579 from betagouv/US/fix-event-target-polyfill
Us/fix event target polyfill
2022-07-18 17:22:15 +02:00
Martin
8a439be506 fix(polyfill): remove usage of backticks / template so it works with ie11 2022-07-18 16:55:45 +02:00
Martin
aab203aaae fix(event-target-polyfill): do not use template literal for polyfills 2022-07-18 16:55:45 +02:00
Paul Chavard
795570b039
Merge pull request #7568 from tchak/fix-issue-7411
fix(champ): use safe_join in champ helpers
2022-07-18 16:40:26 +02:00
Paul Chavard
0578f4f305 fix(champ): use safe_join in champ helpers
fix #7411
2022-07-18 16:29:41 +02:00
Paul Chavard
5abc17fe74
Merge pull request #7581 from tchak/fix-gon-type
fix(gon): matomo key can be a number
2022-07-18 16:19:21 +02:00
Paul Chavard
a45b76e63a fix(gon): matomo key can be a number 2022-07-18 16:08:42 +02:00
LeSim
84a048ac47
Merge pull request #7578 from betagouv/improve_perf_in_editor
Improve perf in editor
2022-07-18 14:36:50 +02:00
simon lehericey
c0e8a07868 perf: 500 queries -> 250 procedure show (id: 34908) 2022-07-18 14:28:35 +02:00
simon lehericey
9cfa6205b5 perf: editor public 250 queries -> 15 queries 2022-07-18 14:28:35 +02:00
mfo
cc841e49ad
Merge pull request #7551 from mfo/US/max_duree_conservation
feat(procedure.duree_conservation_dossiers_dans_ds): decrease max duree_conservation_dossiers_dans_ds from 36 to 12
2022-07-18 14:15:37 +02:00
mfo
4b6ae888d2 Update app/views/administrateurs/procedures/_informations.html.haml
Co-authored-by: Paul Chavard <github@paul.chavard.net>
2022-07-18 14:08:53 +02:00
Martin
8ca3a9760b feat(procedure/_information): show new policy regarding data retention [translated so other instances can adapt their support strategy] 2022-07-18 14:08:53 +02:00
Martin
05b6b462b6 feat(new_max_duree_conservation): make it configurable for other instances 2022-07-18 14:08:53 +02:00
Martin
24c8dc5829 feat(procedure.duree_conservation_dossiers_dans_ds): decrease max duree_conservation_dossiers_dans_ds from 36 to 12 2022-07-18 14:08:53 +02:00
mfo
df85d51556
Merge pull request #7574 from betagouv/US/patch-webcomponent-template
fix(ie11): @webcomponents used template interpolation
2022-07-18 14:07:33 +02:00
Martin
ec9c2849ff fix(ie11): @webcomponents used template interpolation 2022-07-18 13:23:37 +02:00
LeSim
0340983706
Merge pull request #7570 from betagouv/update_rails
chore: bump rails to 6.1.6.1
2022-07-18 10:37:43 +02:00
simon lehericey
8cd9a91fd7 fix local 2022-07-18 10:17:52 +02:00
simon lehericey
0455010360 bump rails 2022-07-18 10:17:52 +02:00
Colin Darie
1c42d5f63c
Merge pull request #7571 from betagouv/usager/edit-siret-in-draft
feat: allows user to edit civility / siret from a dossier en brouillon
2022-07-18 10:11:29 +02:00
Colin Darie
dea1ce40a9 feat(dossier): allows user to edit identity from a brouillon dossier
Closes #7386
2022-07-18 09:57:19 +02:00
Colin Darie
d3232a28cd chore(api_entreprise): intercept token expiration for a more contextual frontend message
Auparavant le service échouait silencieusement et ne retournait rien,
ce qui dans les implémentations du front aboutissait au message que
l'établissement/l'entreprise n'a pas été trouvé.

Un type d'erreur spécifique sur l'expiration du token permet d'afficher
le message lié à un problème temporaire de récupération d'infos.
2022-07-18 09:57:19 +02:00
Colin Darie
5e1fc855e3
Merge pull request #7555 from betagouv/ux/input-sizes
UX/input sizes
2022-07-18 09:56:28 +02:00
Colin Darie
1c96ca59dd style(combo): better inputs sizes for pays/regions/departement/communes champs 2022-07-18 09:48:35 +02:00
Colin Darie
71e7f51753 style(champ): remove generic placeholders because new DSFR don't like placeholders in input 2022-07-18 09:48:35 +02:00
Colin Darie
bf20bcf476 style(champ): fix date input width on mobile 2022-07-18 09:48:35 +02:00
Colin Darie
7f7e192df9 style(champs): each composite inputs on its own line (cnaf, dgfip…) with standard width 2022-07-18 09:48:35 +02:00
Colin Darie
ac9313ac69 style: better invitation email width 2022-07-18 09:48:35 +02:00
Colin Darie
44823ddd32 style(champs): reduce width of small inputs
Closes #7427
Cf #7387

Quelques considérations :

- l'attribut `size` ne correspond pas exactement au nombre de caractères
  qui peut être saisi (à moins d'utiliser une font monospace). On doit
  donc utiliser une valeur légèrement supérieure pour être sûr que
  les combinaisons navigateurs/police/taille soient suffisantes.

- on essaye d'harmoniser un peu les largeurs possibles, donc on utilise
  un size=20 qui correspond bien à plusieurs champs concernés

- délicat d'harmoniser avec max-width car les champs de type number &
  date ajoutent des outils/icones à droite de l'input

J'en ai profité pour définir de vrais placeholders pour les champs de
type number.
2022-07-18 09:48:35 +02:00
Colin Darie
b68a62f6b3 fix: CSS warning: float elements ignore display: inline-block 2022-07-18 09:48:35 +02:00
LeSim
ee545a82ca
Merge pull request #7569 from betagouv/make_condition_revisable
feat(condition): rend les modifications de conditions visibles entre révisions
2022-07-13 16:12:09 +02:00
Paul Chavard
98a0bc8c71 refactor(condition): use dom_id with stable_id 2022-07-13 15:38:43 +02:00
Paul Chavard
0adfd92213 refactor(condition): use standard revision change ops 2022-07-13 15:32:25 +02:00
simon lehericey
2cad0e11d3 display condition change between version 2022-07-13 15:10:23 +02:00
simon lehericey
00c4076b32 conditions_component use stable_id 2022-07-13 12:38:52 +02:00
Paul Chavard
17715d6556
Merge pull request #7565 from tchak/feat-usager-en-construction-conditionel
feat(dossier): check conditions on en construction dossiers
2022-07-13 11:09:46 +02:00
Paul Chavard
d00a91aea5 feat(dossier): check conditions on en construction dossier 2022-07-13 10:49:17 +02:00
Paul Chavard
982e604b07 feat(dossier): test check conditions on en construction dossier 2022-07-12 18:32:03 +02:00
Paul Chavard
b2c480fcdc
Merge pull request #7486 from tchak/feat-form-with-conditions
feat(dossier): toggle conditional champs visibility
2022-07-12 17:39:31 +02:00
Paul Chavard
e82f0fd0c8 feat(dossier): exclude conditionally invisible fields from instructeur interface 2022-07-12 17:33:42 +02:00
Paul Chavard
0f9d8b6a39 feat(dossier): exclude conditionally invisible fields from mandatory check 2022-07-12 17:33:42 +02:00