Colin Darie
0dd4bafdfd
refactor(pj): more readable as_multiple logic
2024-05-06 09:49:02 +00:00
Colin Darie
9e3bf50e61
chore(messagerie): mention multiple files are possible
2024-05-06 09:49:02 +00:00
Kara Diaby
7092583b0a
layout
2024-05-06 09:49:02 +00:00
Kara Diaby
bec9af90e8
models
2024-05-06 09:49:02 +00:00
Kara Diaby
1e9b7fbbb6
components
2024-05-06 09:49:02 +00:00
Eric Leroy-Terquem
29dea52a7e
chore: add truncate option to show and download component
2024-04-22 11:09:11 +02:00
Paul Chavard
6ad0b901b6
fix(champ): use public_id in views
2024-03-26 11:23:23 +01:00
Paul Chavard
f589129ef5
chore(attachment): remove unused replace code
2024-03-25 15:13:14 +01:00
Colin Darie
f112569192
fix(haml-lint): TrailingEmptyLine
2024-02-12 09:33:23 +01:00
Colin Darie
0f1980b1c3
refactor(pj): don't poll on antivirus when submitting a pj
...
Closes #9733
2023-12-07 14:29:09 +01:00
Martin
8c9656f7db
correctif(pjs.upload.multiple): ETQ usager, lorsqu'une demarche n'a pas activé les PJ multiples, je ne dois pas pouvoir uploader plus d'une pj
2023-11-10 12:02:52 +01:00
krichtof
428ae4a45a
Merge pull request #9507 from demarches-simplifiees/9449-signature-groupe-instructeur
...
9449 ETQ instructeur ou admin, je peux apposer sur une attestation un tampon dédié à un groupe instructeur
2023-09-29 14:20:46 +00:00
Christophe Robillard
3ff7bc7234
display max size and format as hint
2023-09-25 18:17:04 +02:00
Colin Darie
3e1678c17a
chore(attachments): always render allowed formats when list is short
...
Co-Authored-By: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2023-09-22 10:24:16 +02:00
Colin Darie
44578ba65c
fix(attachment): keep direct_upload behavior in poll url
...
Co-Authored-By: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2023-09-22 10:24:16 +02:00
Martin
c86c1efcb7
amelioration(design): ETQ usager la cohabitation du design d'un form mi-DSFR, mi-DS n'est pas trop moche
...
amelioration(design): ETQ usager la cohabitation du design d'un form mi-DSFR, mi-DS n'est pas trop moche
2023-07-26 14:27:50 +02:00
Lisa Durand
74da12bd1e
fix typo
2023-06-05 17:37:52 +02:00
Lisa Durand
7de608cd64
add link notice on procedure presentation page and small refactor of download component
2023-06-05 15:15:24 +02:00
Paul Chavard
c040cf5a65
chore(coldwired): data-turbo-force needs to be explicit
2023-06-02 08:58:52 +02:00
Nicolas Cavigneaux
f78b415c51
fix: edit_component field_name signature
...
field_name is called by
actionview-7.0.4.2/lib/action_view/helpers/tags/base.rb who pass 3
arguments. We need to be compliant in order to make it valid.
We reuse the same method signature with nil default values as those
params are not being used.
2023-05-03 11:35:28 +02:00
Martin
035da4403f
chore(a11y): mutualise la gestion des <button> qui font des action POST/DESTROY dans un composant unique
2023-03-31 16:15:40 +02:00
Paul Chavard
47a8d33d85
refactor(progress_bar): should be a component
2023-02-28 16:36:18 +01:00
Colin Darie
8a340b6f74
fix(upload): missing i18n key
2023-02-27 17:23:43 +01:00
Colin Darie
fc6051a4b9
fix(a11y/upload): role=status on progress antivirus & watermark
...
Cf #8555
2023-02-22 14:03:55 +01:00
Martin
f6fb1ceca5
correctif(attachement_edit): ajoute le cmmposant <form> pour supprimer un attachment via le nouveau <button>
2023-02-21 16:41:18 +01:00
Martin
eca44ce60e
correctif(a11y): il est recommandé d'utilser un boutton pour la suppression d'un element. le bouton etant deja dans un form, nous ne pouvons pas utiliser le button_to. Extraction d'un form pour soumettre la suppression des pjs par des input pointant sur ce form
...
Update app/components/attachment/edit_component/edit_component.html.haml
Co-authored-by: Paul Chavard <github@paul.chavard.net>
Update app/views/shared/dossiers/_edit.html.haml
Co-authored-by: Paul Chavard <github@paul.chavard.net>
amelioration(attachment.destroy): force l'usage de turbo
2023-02-21 08:22:50 +01:00
Paul Chavard
7f9414012e
refactor(turbo): use @coldwired/actions
2023-01-16 21:40:10 +01:00
Colin Darie
a3425f5074
chore(i18n): translate missing attachments titles keys
2022-12-14 09:58:15 +01:00
Colin Darie
013a05f24a
feat(piece_justificative): replace with multiple attachments for dossier en_construction
2022-12-14 09:58:15 +01:00
Colin Darie
4049240c2c
feat(piece_justificative): allow user to replace a PJ for dossier en_construction
2022-12-14 09:58:15 +01:00
Colin Darie
4824363879
refactor(attachment): rename user_can_download -> explicit view_as
...
- link: shows a simple link to open attachment
- download: shows complete DSFR download UI
2022-12-08 20:36:15 +01:00
Colin Darie
7c5d27d8e9
feat(attachment): allow user to "view" a file without the complete download UI
2022-12-08 20:36:15 +01:00
Colin Darie
7719ce1865
chore(attachment): increase poll antivirus timeout and make it clear it's not blocker
2022-12-08 20:36:15 +01:00
Colin Darie
182bfcd3e3
style(attachment): delete button replaces bullet when user can download + destroy
2022-12-06 16:37:10 +01:00
Martin
1cdfc9ded0
amelioration(liens-de-telechargement): permet de specifier si le lien de téléchargement se fait sur l'onglet actuel ou vers un nouvel onglet
2022-12-05 15:59:50 +01:00
Colin Darie
c98021e58a
chore(attachment): input name attribute follows form object name for nested attributes
2022-12-05 10:47:10 +01:00
Colin Darie
6e8302101f
fix(attachments): cleanup useless kwarg
2022-12-05 10:47:10 +01:00
Colin Darie
cb2afc74b0
style(attachments): better UX when we can try to upload without network
2022-12-05 10:47:10 +01:00
Colin Darie
42b84384dd
fix(a11y/attachment): associate input to label, no empty id
2022-12-05 10:47:10 +01:00
Colin Darie
1db40de70e
style(attachments): improve when we can download our multiple attachments (dossier en_construction)
2022-12-05 10:47:10 +01:00
Colin Darie
42363e0b0d
refactor(attachment): extract PendingPoll component
2022-12-05 10:47:10 +01:00
Colin Darie
b110e58f2f
refactor(attachment): extract i18n
2022-12-05 10:47:10 +01:00
Colin Darie
6ac0114992
test(attachments): more components tests & improvements
2022-12-05 10:47:10 +01:00
Colin Darie
fefc326e6b
refactor(attachment): extract shared Attachment::ProgressComponent
2022-12-05 10:47:10 +01:00
Colin Darie
b609c3dae4
refactor(attachment): bring batch user_can_destroy, update tests
2022-12-05 10:47:10 +01:00
Colin Darie
df135b080b
refactor(attachment): remove useless id
arg
2022-12-05 10:47:10 +01:00
Colin Darie
0a114270af
refactor(attachment): update Attachment::EditComponent everywhere
2022-12-05 10:47:10 +01:00
Colin Darie
b13c5e56f6
refactor(piece_justificative): UX follows mockups
2022-12-05 10:47:10 +01:00
Colin Darie
84ca01bdf7
fix(piece_justicative): don't modify validator accepted formats in place
...
Previous implementation caused to add multiple times ".acidcsa".
2022-12-05 10:47:10 +01:00
Colin Darie
3e992589c5
style(piece_justificative): input ux & list accepted formats
2022-12-05 10:47:10 +01:00