Colin Darie
89a62bacbb
feat(attestation): intitules & footer limit of rows
2024-01-31 17:04:00 +01:00
Colin Darie
8ba78d1cfe
feat(attestation): conditional official layout & logo (start)
2024-01-31 17:03:54 +01:00
Colin Darie
bb19674339
feat(attestation): improve tags suggestion UX, can validate on click
2024-01-31 17:03:50 +01:00
Colin Darie
eaf4e24a55
feat(attestation): v2 edit form and tags style
2024-01-31 17:03:46 +01:00
Colin Darie
3aae580e26
fix(editor): don't labellize tags with double dash
2024-01-31 17:03:43 +01:00
Colin Darie
d01dc82e8c
refactor(attestation): remove footer from doc structure
2024-01-31 17:03:41 +01:00
simon lehericey
d4322bf947
feat(clipboard): can temporary hide for nicer animation
2024-01-29 10:44:20 +01:00
simon lehericey
9a0dd45385
feat(api): add invalid ip addr error
2024-01-25 11:17:44 +01:00
simon lehericey
943368c68f
feature(api): setup securite
2024-01-25 11:17:44 +01:00
simon lehericey
8a9e5754a1
feature(api): setup autorizations
2024-01-25 11:17:44 +01:00
mfo
0328446bee
Merge pull request #9861 from demarches-simplifiees/US/move-type-de-champ-with-select
...
ETQ administrateur, je peux deplacer un champ via un select
2024-01-15 13:09:56 +00:00
Martin
68e9d3513d
tech(clean): drop drag and drop champs in editor, ux not ok
2024-01-12 11:00:29 +01:00
Martin
69346ad41f
tech(review): implement some pair review suggestions
2024-01-12 11:00:29 +01:00
Martin
e7eee7ba72
spec(move_and_morph): add some spec and lint with rubocop/haml/eslint
2024-01-11 16:12:09 +01:00
Martin
857a1fc496
fix(select_champ_position): rewire for more robust and easier implementation which work with repetition avoiding double submit
2024-01-11 16:01:24 +01:00
Martin
dce06f22a0
feat(type_de_champ_editor): add SelectChampTemplatePosition which feeds SelectChampPositionComponent options
2024-01-11 16:01:24 +01:00
Martin
11de4bdfb6
feat(types_de_champ_editor.ts): wires move_and_morph with type de champs editor [for now, the select is empty and will be synced]
2024-01-11 16:01:24 +01:00
Martin
6c5f6dd6f6
fix(combobox): some old procedure still have options with trailing white spaces. ensure to trim selected value as well as options.value for better comparison
2024-01-08 10:29:43 +01:00
Eric Leroy-Terquem
a56fa60c78
fix typos
2023-12-22 11:39:09 +01:00
mfo
b539fe1b65
amelioration(review): tech review
...
Co-authored-by: Colin Darie <colin@darie.eu>
2023-12-15 11:23:25 +01:00
Martin
d27e4fc693
amelioration(combobox): permet de passer des options au input[type=hidden], utilise cette option pour autosubmit uniquement un input [dans notre cas, ne soumet pas a l'input du combobox, mais a l'input hidden une fois le combobox selectionné]
2023-12-15 11:23:25 +01:00
Lisa Durand
569d4af6f7
Merge pull request #9706 from demarches-simplifiees/feat/9678
...
ETQ usager passant par un mandataire, je suis notifié des changements d'état de mon dossier par email
2023-12-14 16:57:07 +00:00
Kara Diaby
061da95aaf
Controllers
2023-12-12 22:35:11 +00:00
Colin Darie
ecc3638d81
chore(dsfr): include tooltip component
2023-12-12 15:05:42 +01:00
Martin
1f13000537
amelioraiton(instructeur.filtres): utilise un combobox pour rechercher le type de champs
2023-12-08 16:10:18 +01:00
Colin Darie
d70b03c969
style: replace refuse legacy icon
2023-12-04 14:07:25 +01:00
Paul Chavard
dd24a935bf
fix(date): show correct format based on browser locale
2023-12-01 21:02:14 +00:00
Paul Chavard
3c36300de6
feat(attestation): use tiptap editor controller
2023-11-29 12:07:42 +00:00
Paul Chavard
ae7fc056f5
feat(tiptap): editor controller
2023-11-29 12:07:42 +00:00
Lisa Durand
1fa3425d4f
Merge pull request #9705 from demarches-simplifiees/setup-dark-mode-ldu
...
[Accessibilité] Configurer le mode "sombre"
2023-11-16 15:10:41 +00:00
krichtof
39bdb5f145
Merge pull request #9701 from demarches-simplifiees/carte
...
Afficher une carte de déploiement de DS par département
2023-11-16 13:18:16 +00:00
Christophe Robillard
ba876f5085
show france map with stats for each departement
2023-11-16 13:27:12 +01:00
Lisa Durand
11c8e408ef
remove specific tabs css and use DSFR tabs
2023-11-15 18:42:40 +01:00
Lisa Durand
a0998ab709
import dark mode from DSFR and setup as system
2023-11-15 18:42:40 +01:00
simon lehericey
200cdbd4ef
fix types
2023-11-15 15:42:24 +01:00
simon lehericey
af53a9b9db
attestation_template v2: edit / update
2023-11-15 15:24:46 +01:00
Paul Chavard
f0168d1470
feat(combobox): add data:string slot
2023-11-07 20:58:39 +01:00
Paul Chavard
869d83dda9
feat(dossier): validate on change and revalidate on input
2023-10-31 17:52:00 +00:00
Paul Chavard
c93141d8bb
chore(coldwired): update utils
2023-10-31 17:52:00 +00:00
Paul Chavard
d76123831c
fix(drop_down_list): fix other option with combobox and some cleanup
2023-10-27 18:11:26 +02:00
krichtof
1974e35a66
Merge pull request #9636 from demarches-simplifiees/9530-remove-piece-jointe
...
can reset file input in messagerie
2023-10-25 10:24:43 +00:00
Paul Chavard
c60494c975
refactor to use event delegation
2023-10-25 12:04:12 +02:00
Martin
cf8fb9195e
correctif(upload): ETQ usager, lorsque j'upload un fichier, ca bloque le bouton pour deposer un dossier
2023-10-25 10:46:15 +02:00
Christophe Robillard
00e3d33ba4
can reset file input in messagerie
2023-10-25 09:52:49 +02:00
Paul Chavard
d01cc76970
fix(decimal_champ): only remove dots if coma also present
2023-10-23 16:46:07 +02:00
Paul Chavard
63303e51f8
fix(dossier): improuve decimal field formatting
2023-10-16 16:50:07 +02:00
Paul Chavard
ae450a2d2b
feat(combobox): add a setting to load options from an API
2023-10-12 20:18:08 +02:00
Paul Chavard
de9d3501b5
fix(dossier): delay submit to autosave end
2023-10-10 19:13:11 +02:00
Eric Leroy-Terquem
ff700b19bb
fix(editable_champ): can enter negative decimal 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
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
Paul Chavard
bea8cba6ce
feat(combobox): implement ComboboxController
2023-09-15 14:48:25 +02:00
Paul Chavard
1a531d018f
feat(combobox): implement ComboboxUI
2023-09-15 14:48:25 +02:00
Paul Chavard
628bef562b
feat(combobox): implement Combobox
2023-09-15 14:48:25 +02:00
Colin Darie
d56e3908ac
style(spinner): fix positioning for conditional champs
2023-09-06 13:16:41 +02:00
Paul Chavard
65de28a97c
chore(npm): update dependencies
2023-09-05 10:53:02 +02:00
Colin Darie
1ba28cc8d3
Merge pull request #9442 from tchak/fix-conditional-map-display
...
fix(carte): initialize map only when container is visible
2023-09-04 08:41:36 +00: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
Paul Chavard
8802911126
fix(carte): initialize map only when container is visible
...
fix #9417
2023-08-31 18:17:01 +02:00
simon lehericey
b1b92826cf
Fix: wording on pb pj upload file
2023-08-31 15:40:27 +02:00
Martin
7e28c6ba63
correctif(champs.iban): le copier/coller sur un champs iban avec le code pays en minuscule perdait les caractères alphabétiques en debut d'IBAN
2023-07-17 17:41:27 +02:00
Lisa Durand
3e30834644
Merge pull request #9274 from demarches-simplifiees/bach-operation-all-instruction-actions
...
[Actions multiples] Ajouter la possibilité pour les instructeurs de classer sans suite et refuser
2023-07-12 09:43:29 +00:00
Colin Darie
9462d66778
fix(batch): disable dropdown when alls buttons inside are disabled
...
Co-Authored-by: Lisa Durand <lisa.c.durand@gmail.com>
2023-07-11 18:33:50 +02:00
Paul Chavard
d5820277c0
feat(cojo): add cojo type de champ
2023-07-10 14:57:34 +02:00
Lisa Durand
890e00f915
add validation for empty motivation field with javascript
2023-07-05 18:18:40 +02:00
Lisa Durand
3577bcbffa
make batch instruction button disable
2023-07-04 11:13:39 +02:00
Martin
43c6f03d10
amelioration(users/dossiers#demande): passage a la nouvelle ui/ux
...
wip
2023-06-22 16:54:17 +02:00
Paul Chavard
6945b3f438
fix(carte): no autosave on champ carte
2023-06-06 16:46:32 +02:00
Lisa Durand
968f05f648
Merge pull request #9107 from demarches-simplifiees/remove-previsualisation-from-admin-procedure-creation
...
[Refonte page accueil demarche] Formulaire de création admin full page - plus de prévisualisation
2023-06-05 12:10:31 +00:00
Paul Chavard
c040cf5a65
chore(coldwired): data-turbo-force needs to be explicit
2023-06-02 08:58:52 +02:00
Eric Leroy-Terquem
526f70f9c0
add wizard
2023-05-31 11:38:16 +02:00
Lisa Durand
c6f13f63b5
remove previsualisation from procedure creation form
2023-05-31 11:33:59 +02:00
Lisa Durand
a20ec44841
Merge pull request #9074 from demarches-simplifiees/add-more-info-on-procedure-description
...
[Refonte page accueil demarche] Détailler la description pour plus de clarté pour l'usager
2023-05-30 09:45:32 +00:00
Lisa Durand
6fa44a4c11
remove read more function because of accordion for procedure description
2023-05-24 12:08:57 +02:00
Lisa Durand
7340206f81
rollback - add just one new field and use actual description field
2023-05-24 11:31:24 +02:00
Paul Chavard
e1a25ee0e5
chore(sentry): read sentry release information from version file
2023-05-24 09:41:39 +02:00
Lisa Durand
b6cc35df68
fix specs
2023-05-23 10:34:03 +02:00
Lisa Durand
4a51a9a351
add two more fields for procedure description what et and for_who
2023-05-22 15:36:48 +02:00
simon lehericey
9894a0f2ff
ds_fr: add accordion.css
2023-05-09 14:46:14 +02:00
Paul Chavard
7f991a67e2
Revert "Revert "Merge pull request #8985 from tchak/chore-update-dependencies""
...
This reverts commit e744ed99d2
.
2023-05-04 14:01:35 +02:00
Paul Chavard
e744ed99d2
Revert "Merge pull request #8985 from tchak/chore-update-dependencies"
...
This reverts commit 1e5c7516bc
, reversing
changes made to 60bc6b0839
.
2023-04-28 15:47:24 +02:00
Paul Chavard
ba590ff262
chore(npm): update dependencies
2023-04-27 23:02:39 +02:00
Paul Chavard
5343c229a2
chore(turbo): update coldwired and fix focus in turbo
2023-04-27 10:40:14 +02:00
Lisa Durand
402112583d
fix test with good classname in js for batch
2023-04-24 10:54:53 +02:00
Paul Chavard
0912a30eb0
feat(dossier): use turbo on select with other
2023-04-18 15:24:23 +02:00
Paul Chavard
eb599394e0
feat(dossier): use turbo on linked lists
2023-04-18 15:24:23 +02:00
Lisa Durand
058f1fe6e5
add focus on button when select all
2023-04-05 10:59:59 +02:00
Paul Chavard
fce78bbf30
feat(dossier): multiselect without react
2023-04-03 16:54:50 +02:00
Lisa Durand
7351580a65
Merge pull request #8811 from demarches-simplifiees/allow-instructeur-to-delete-pj
...
ETQ instructeur je veux pouvoir supprimer la pj pendant l'instruction
2023-03-31 07:46:55 +00:00
Paul Chavard
3ea28b57e2
chore(npm): update dependencies
2023-03-29 16:01:56 +02:00
Lisa Durand
518d075dc9
small changes for better readability
2023-03-29 10:26:42 +02:00
Lisa Durand
044d03b524
fix button display
2023-03-29 10:26:42 +02:00
Lisa Durand
df701f2a8f
fix linter
2023-03-29 10:26:42 +02:00
Lisa Durand
92bc95014a
add cancel button and delete pj button in batch context
2023-03-29 10:26:42 +02:00
Lisa Durand
dc46430c40
display link to delete PJ in instruction button
2023-03-29 10:26:42 +02:00
Paul Chavard
9d26a38997
chore(champ): remove unused react code
2023-03-28 16:34:19 +02:00
Lisa Durand
d079f3ac98
Merge pull request #8770 from demarches-simplifiees/ask-question-in-avis-ux-part
...
[UX] améliorer UX de la demande d'avis
2023-03-24 10:50:33 +00:00
Paul Chavard
234846eb33
graphql(playground): build with vite
2023-03-22 10:19:56 +01:00
Lisa Durand
c51e6aa2e6
split form and avis answers in 2 views for experts and add sidemenu
2023-03-22 09:30:26 +01:00
Lisa Durand
a4a99a72ec
first step to add question in experts avis
2023-03-16 11:32:05 +01:00
Paul Chavard
cbaa77fca7
feat(annotations): activate autosave
2023-03-14 15:22:13 +01:00
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