Lisa Durand
7130ea7e99
fix specs
2023-03-02 16:34:58 +01:00
Lisa Durand
a4932a749c
improve UX of instruction dropdown menu
2023-03-02 16:34:58 +01:00
Lisa Durand
54f17ad3c7
Merge pull request #8630 from demarches-simplifiees/harmonize-actions-for-instructeurs
...
[instructeurs] Uniformiser les actions pour les instructeurs sur la page tableau et dossier
2023-03-02 13:28:23 +00:00
Colin Darie
f752dd7085
Merge pull request #8718 from tchak/feat-old-browsers-datetime
...
fix(datetime): improuve datetime field on old browsers
2023-03-01 11:52:11 +00:00
Paul Chavard
d3ef0fcf79
fix(datetime): improuve datetime field on old browsers
2023-03-01 12:30:25 +01:00
Paul Chavard
ef970dbfe5
Merge pull request #8716 from tchak/feat-number-input
...
fix(form): disable scroll wheel on number inputs
2023-03-01 10:31:38 +00:00
Paul Chavard
983c533eef
fix(form): disable scroll wheel on number inputs
2023-03-01 11:11:37 +01:00
Colin Darie
3f15647b8e
refactor(a11y/combosearch): every combo with screen reader better support
2023-03-01 09:38:45 +01:00
Colin Darie
71d43e9591
feat(a11y/combosearch): translatations for screen reader
2023-03-01 09:38:44 +01:00
Colin Darie
acffd45a22
feat(a11y/combosearch): add aria-ownws props
...
However it may be redundant due to aria-controls presence.
Cf #8643
2023-03-01 09:36:08 +01:00
Colin Darie
07579c9a58
feat(a11y/combosearch): announce results to screen readers
...
From http://haltersweb.github.io/Accessibility/autocomplete.html
Closes #8643
2023-03-01 09:36:08 +01:00
Colin Darie
6dd7e867d2
feat(a11y/combosearch): add screen reader instructions
...
Cf #8643
2023-03-01 09:36:07 +01:00
Paul Chavard
97f0df0598
refactor(progress): move progress bar markup to haml
2023-02-28 16:36:18 +01:00
Paul Chavard
c339f609c0
fix(demarches): improuve turbo refresh on demarches page
2023-02-28 14:05:23 +01:00
Colin Darie
396f545cf2
fix(comboadress): provide a valid empty response
2023-02-27 18:41:02 +01:00
Colin Darie
4d1a5f230c
feat(a11y/i18n): inject user locale to chat / crisp
2023-02-27 17:23:43 +01:00
Sébastien Carceles
b6c74b0e83
fetch etablissement when editing the dossier
2023-02-27 13:45:16 +01:00
Paul Chavard
68fd34a732
fix(autocomplete): avoid double escape of query params
2023-02-27 12:01:12 +01:00
Paul Chavard
bdb15aaa4a
feat(apigeo): enable all zones on departements api
2023-02-23 17:28:02 +01:00
Lisa Durand
90a7ecef52
rename state button to instruction button
2023-02-23 16:05:38 +01:00
Julie Salha
6db07ca2a3
fix PR wording
2023-02-14 12:26:57 +01:00
Julie Salha
4fee6f3626
update label button
2023-02-14 12:17:44 +01:00
Martin
ddc04a03a4
amelioration(a11y): permet les interactions clavier via les touches entrée et espace pour ouvrir et fermer le menu depliant quand le focus est sur le bouton
2023-02-06 17:19:11 +01:00
Colin Darie
bfb96b6cb3
chore(sentry): sample traces JS, 0.1 for a start
2023-02-06 11:52:30 +01:00
Lisa Durand
f80fe9680f
corrections from Sim review
2023-02-03 15:13:06 +01:00
Lisa Durand
f1a378bf03
dont'use DSFR component - add a line inside the table instead
2023-02-03 15:13:06 +01:00
Lisa Durand
3fdfc38faf
fix linter js
2023-02-03 15:13:06 +01:00
Lisa Durand
1a79eb9717
change checkbox tag to hidden field
2023-02-03 15:13:06 +01:00
Lisa Durand
93a85ca4b0
add limit of 500 dossiers
2023-02-03 15:13:06 +01:00
Lisa Durand
5802f3f7cf
injected dossier_ids in front
2023-02-03 15:13:06 +01:00
Colin Darie
d5fe29f666
chore(upload): hint about firewall blocking file upload
2023-01-31 17:09:28 +01:00
Colin Darie
be020e1031
fix(dropdown): error when click outside before unloading menu
...
Co-Authored-by: mfo <mfo@users.noreply.github.com>
2023-01-31 12:09:50 +01:00
Colin Darie
efea44b9ba
fix(combobox): form submission when form has combobox and input file without file selected
2023-01-31 09:44:41 +01:00
Colin Darie
3265fff30e
fix(dropdown): wait "other" input to be disabled before autosave
...
Fix le workflow suivant pour un champ drop down avec option "autre" :
- on choisit la valeur "autre" avec une valeur => ça autosave la bonne valeur
- on choisit finalement une autre valeur proposée => l'autosave envoyait
la nouvelle valeur, et toujours la valeur "other" car l'input n'était pas encore
`disabled`. Par conséquent la valeur other overridait la valeur choisie
et ça provoquait des erreurs en cascade, notamment dans le conditionnel.
2023-01-30 12:16:25 +01:00
Colin Darie
c15ad573bc
feat(dropdown/a11y): "other" input with label and autofocus
2023-01-30 12:16:25 +01:00
Colin Darie
ec1ae25bb4
fix(stimulus): on handler having target
2023-01-30 11:34:24 +01:00
Martin
2be0f5aa99
amelioration(menu): extraction des menu dans un composant ruby pour ne pas dupliquer les changements aria partout ds la codebase
2023-01-26 11:13:23 +01:00
Colin Darie
5bff5542f1
refactor(spinner): dependent-conditions on champ wrapper instead of each champ
2023-01-26 09:06:30 +01:00
Colin Darie
26236a11ba
feat(autosave): conditional spinner on all manager champs
2023-01-26 09:06:30 +01:00
Colin Darie
c6bdfc7401
feat(autosave): don't show loader when response is very fast
2023-01-26 09:06:30 +01:00
Colin Darie
3a48f201ee
style(autosave/conditional): new a11y spinner proposition
2023-01-26 09:06:30 +01:00
Colin Darie
7c13449b4f
feat(conditional): show loader during autosave when other champs are dependent of it
2023-01-26 09:06:30 +01:00
Paul Chavard
5b9e534b3f
chore(turbo): morph all the things
2023-01-25 13:45:26 +01:00
Colin Darie
d7f170b57a
fix(combobox): let direct upload finish before submitting form
...
Quand un form pour lequel on intercepte le submit a un direct upload,
on laisse le direct upload gérer le submit manuellement pour attendre la
fin de l'upload ; autrement le form est parfois soumis sans la référence
au fichier, ce qui provoque des erreurs rails `InvalidSignature`.
2023-01-24 09:51:05 +01:00
Paul Chavard
2f17793900
feat(autosubmit): data-no-autosubmit can disable only some event types
...
this is useful on inputs with datalist for example where we want to only autosubmit on change
2023-01-18 09:26:47 +01:00
Paul Chavard
e4eb54e87a
fix(autosubmit): addEventListener with capture for focus events
2023-01-18 09:25:41 +01:00
Paul Chavard
7f9414012e
refactor(turbo): use @coldwired/actions
2023-01-16 21:40:10 +01:00
Paul Chavard
5f192f93e0
refactor(js): make generic format controller
2023-01-16 21:23:33 +01:00
Paul Chavard
5ccf57b488
fix(js): use on
instead of addEventListener
to ensure cleanup
2023-01-16 16:37:36 +01:00
Paul Chavard
d16c490779
feat(stimulus): allow on
with target
2023-01-16 16:37:36 +01:00