Paul Chavard
f8b01811c1
fix(dossier): champ explication collapsible explanation should be formatted
2023-03-22 14:59:41 +01:00
Colin Darie
40a303f6a6
fix(a11y): add a title in simple renderer links and autolinks
...
Closes #8095
2023-03-22 14:05:06 +01:00
Lisa Durand
a01564adcd
create component for sidemenu and add locales for raw text
2023-03-22 09:30:26 +01:00
Paul Chavard
af7e16c372
fix(champ): use champ.required?
2023-03-21 11:23:45 +01:00
Paul Chavard
4dc95417c5
fix(champ): use champ.mandatory?
2023-03-21 11:23:33 +01:00
Colin Darie
83a3421537
Merge pull request #8769 from colinux/fix-annotations-privees-champ-type-mismatch
...
Fix: crash d'annotations privées à cause d'une incohérence avec leur type de champ
2023-03-16 15:55:56 +00:00
simon lehericey
9ae4dbd4af
feat(token depreciation): add alert on profile
2023-03-16 15:39:33 +01:00
Paul Chavard
42e74dfc76
feat(api_token): enable fin graned access rights on tokens
2023-03-15 19:09:49 +01:00
Colin Darie
84271526f3
fix(admin): translation keys for private revision changes
2023-03-15 19:00:17 +01:00
Paul Chavard
c521724cf4
Update app/components/dossiers/edit_footer_component.rb
...
Co-authored-by: Colin Darie <colin@darie.eu>
2023-03-14 15:22:13 +01:00
Paul Chavard
cbaa77fca7
feat(annotations): activate autosave
2023-03-14 15:22:13 +01:00
Colin Darie
126819939b
Merge pull request #8678 from colinux/fix-explication-read-more-button
...
fix(a11y): improve Explication "lire plus" accessibility
2023-03-07 15:37:02 +00:00
Lisa Durand
99c5a1f298
use DSFR classes for btn and form inside the dropdown
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
Paul Chavard
d3ef0fcf79
fix(datetime): improuve datetime field on old browsers
2023-03-01 12:30:25 +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
Paul Chavard
47a8d33d85
refactor(progress_bar): should be a component
2023-02-28 16:36:18 +01:00
Colin Darie
da5618b9fc
Merge pull request #8673 from colinux/translate-help-dropdown
...
Accessibilité: traduit les menus contextuels d'aide, normalise l'affichage et les icônes (dsfr)
2023-02-27 16:40:27 +00:00
Colin Darie
8156e1cc01
feat(admin): notice about auto numbering of header section
2023-02-27 17:29:22 +01:00
Colin Darie
3de089d6c7
fix(conditional): dynamic title counters using css
...
Closes #8086
2023-02-27 17:29:22 +01:00
Colin Darie
8a340b6f74
fix(upload): missing i18n key
2023-02-27 17:23:43 +01:00
sebastiencarceles
39545671f3
refacto: better error management
2023-02-27 14:35:11 +01:00
Sébastien Carceles
e89c8385a4
fetch association data when editing the dossier
2023-02-27 14:35:11 +01:00
Sébastien Carceles
b6c74b0e83
fetch etablissement when editing the dossier
2023-02-27 13:45:16 +01:00
Paul Chavard
14d889b317
fix(procedure): fix translations in changes component
2023-02-24 13:39:03 +01:00
Martin
a584279020
chore(deadcode): drop deadcode
2023-02-23 15:23:20 +01:00
Martin
fd203f5bb7
correctif(a11y): #8105 format les messages de la messageries avec la nouvelle methode pour rendre les textes saisies par les admin et les instructeurs
2023-02-23 15:23:20 +01:00
Martin
c8e9b2f008
correctif(a11y): #8105 , pour les callout, utilise un div wrappant du contenu html
2023-02-23 15:23:20 +01:00
Martin
4fd799390b
correctif(a11y): #8107 (et d'autres), utilise le nouveau composant pour rendre les textes saisies par les admins accessible
2023-02-23 15:23:20 +01:00
Martin
4d8b4e078b
amelioration(a11y): extrait un nouveau composant pour rendre du texte saisi par un humain accessible
2023-02-23 15:23:20 +01:00
Colin Darie
fc6051a4b9
fix(a11y/upload): role=status on progress antivirus & watermark
...
Cf #8555
2023-02-22 14:03:55 +01:00
Colin Darie
e4af86fb96
fix(a11y): explication "lire plus" styled as button
...
Cf #8662
2023-02-22 12:56:31 +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
Colin Darie
c968aa63d3
fix(a11y/password form): describedby rel with input and password rules
2023-02-16 16:15:40 +01:00
Colin Darie
31c99e935a
refactor(admin): migrate password form to DSFR components
2023-02-16 16:15:40 +01:00
Colin Darie
4f7839039d
refactor(password-complexity): as component for better form integration
2023-02-16 16:15:40 +01:00
Colin Darie
1f930dfe23
feat(user): can show password when editing password
2023-02-16 16:15:40 +01:00
Martin
0a386994e5
correctif(messagerie): autorise l'usage des balises <a> dans la messagerie quand les messages viennent de l'administration
2023-02-13 13:45:08 +01:00
Martin
13cbbe9138
typo(fix): text+e
2023-02-13 11:43:44 +01:00
Damien Le Thiec
4b0e6ea382
Convert datetime field to datetime_local ( #8572 )
...
* Convert datetime field to datetime_local
* Fix tests
* Add value formatting view datetime component
* Add helper datetime component value
2023-02-09 15:18:38 +01:00
Colin Darie
51338eebb1
fix(admin/conditional): don't break when target champ is empty but a value is still referenced
2023-02-06 16:49:39 +01:00
simon lehericey
a1487e9923
fix: allow a tag in various admin text
2023-02-06 11:01:28 +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
9aa6c55d1f
replace partial by component
2023-02-03 15:13:06 +01:00
Colin Darie
fa0f72aaba
feat(procedure): hide estimated fill duration when super admin disabled it
...
Closes #8466
2023-02-01 11:02:55 +01:00
Colin Darie
3402279b08
fix(menu_component): tag html options must be set as keyword args, not hash
2023-01-30 15:03:16 +01:00
Colin Darie
c15ad573bc
feat(dropdown/a11y): "other" input with label and autofocus
2023-01-30 12:16:25 +01:00
Martin
6ff81a6680
amelioration(views/instructeurs/dossiers/_state_button.html.haml): passe le popover d'instruction sur le nouveau menu
2023-01-26 11:13:23 +01:00
Martin
cd75c7a1de
amelioration(export): passe les exports sur le nouveau dropdown
2023-01-26 11:13:23 +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
7c13449b4f
feat(conditional): show loader during autosave when other champs are dependent of it
2023-01-26 09:06:30 +01:00
Paul Chavard
a4cbbe721e
feat(types de champ): add EPCI champ
2023-01-20 11:32:36 +01:00
Paul Chavard
f38ee8f03f
feat(dossier): implement refresh_after_update on champs
2023-01-20 11:05:25 +01:00
Martin
8528939b75
correctif(champs/repetitions#remove): les row id etant des ulid commence par un int. utiliser l'ulid comme selecteur css n'est pas valide. il faut donc avoir un selecteur CSS 'safe', et envoyer le row_id
2023-01-19 10:48:01 +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
44488c7014
feat(dossier): use select in filters bygroupe instructeur
2023-01-16 14:00:08 +01:00
Lisa Durand
eadd84bfb4
authorize follow and unfollow for all dossier states
2023-01-16 11:14:29 +01:00
Lisa Durand
db3085fa33
design : make filter buttons tertiary and dropdown secondary
2023-01-16 11:14:29 +01:00
Lisa Durand
06c6a4ab0c
add action 'unfollow' to page 'suivis'
2023-01-16 11:14:29 +01:00
Lisa Durand
2f666b487e
add action 'repasser en construction' to page 'suivis'
2023-01-16 11:14:29 +01:00
Paul Chavard
289d48f697
refactor(js): use autosubmit controller in filter_component
2023-01-12 11:58:46 +01:00
Paul Chavard
5d7284b8da
refactor(js): use autosubmit controller in notified_toggle_component
2023-01-12 11:58:46 +01:00
Paul Chavard
f17ae44952
fix(dossier): disable buttons when selection is canceled
2023-01-11 11:50:25 +01:00
Paul Chavard
af33d5d65c
refactor(repetition): use row_id instead of row
2023-01-10 19:31:41 +01:00
Paul Chavard
77a0033b3e
feat(batch_operation): enable only available operations
2023-01-10 19:03:32 +01:00
Lisa Durand
d856969790
add a bit of logic to display batch buttons : if more than 3 we group them in a dropdown
2023-01-10 18:05:23 +01:00
Lisa Durand
25a7fa5a34
add bulk action 'follow'
2023-01-09 11:58:51 +01:00
Paul Chavard
416550c6ea
refactor(batch): simplify stimulus controller
2023-01-06 14:25:46 +01:00
Lisa Durand
080747f60b
reorganise multiple buttons on top of table from instructeur procedure view
2023-01-05 17:22:53 +01:00
Lisa Durand
4afb873afc
feedbacks from Martin
2023-01-05 16:20:18 +01:00
Martin
3918757dc9
correctif(test): desormais l'association batch_operations.groupe_instructeurs passe par le dossier. Mise a jour des tests
2023-01-05 16:20:18 +01:00
Lisa Durand
8df0147fd1
fix linter
2023-01-05 16:20:18 +01:00
Lisa Durand
7fcc892398
imrpove dropdown bulk action style
2023-01-05 16:20:18 +01:00
Lisa Durand
1ecdf5f544
remove manipulating checkbox with JS and set just one form instead of 2
2023-01-05 16:20:18 +01:00
Lisa Durand
59468fe351
add justificatif_motivation field to batch operation accepter
2023-01-05 16:20:18 +01:00
Lisa Durand
1bc0609543
add motivation field to batch operation accepter
2023-01-05 16:20:18 +01:00
Lisa Durand
d7ebb67889
implement first step - accepte without motivation and PJ
2023-01-05 16:20:18 +01:00
Paul Chavard
378f3c5fb0
use join table instead of arrays
2023-01-05 16:20:18 +01:00
Sébastien Carceles
fa6fc077b4
normalize boolean values ( #8320 )
...
* extract parent for yes no and checkbox champs
* checkbox stores true / false instead of on / off
* normalize blank value to nil
* normalize invalid value to false
* after party task: normalize checkbox values
* after party task: normalize yes_no values
2023-01-05 11:18:27 +00:00
Martin
a4d6692bc6
accessibilite(pages-authentification): evolutions des pages de connexion/creation de compte pour respecter le DSFR et supporter une meilleure accessibilite
...
Update app/components/dsfr/input_component/input_component.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
2023-01-03 16:26:05 +01:00
Paul Chavard
0e73415904
feat(revision): improuve changes dashboard
2022-12-27 11:06:51 +00:00
Paul Chavard
3f0f5e381f
refactor(regions): champ regions to use simple select
2022-12-21 14:03:02 +01:00
Paul Chavard
e0b0a42bc3
refactor(departements): champ departements to use simple select
2022-12-21 14:03:02 +01:00
Paul Chavard
f7c1dff22a
refactor(pays): champ pays to use simple select
2022-12-21 14:03:02 +01:00
Colin Darie
c673950e56
fix(instructeurs): behavior of sort by notifications checkbox (updated_at desc)
2022-12-20 15:51:47 +01:00
Martin
2be4441a70
amelioration(attestion.et.mail): deduplique les message d'erreur, améliore les messages d'erreur, gère la pluralisation des erreurs lorsque plusieurs tags sont concernés
2022-12-19 09:28:46 +01:00
Martin
ef389eab41
amelioration(attestation.et.mail): repositionne les messages d'erreur lié à la substitution des balises a proximité du formulaire pour faciliter la comprehension. passage des champs au DSFR
2022-12-19 09:28:46 +01:00
Paul Chavard
cb5b60ccda
Revert "Revert "Merge pull request #7907 from tchak/feat-cond-repetitions""
...
This reverts commit 0d10d36cb0
.
# Conflicts:
# app/models/dossier.rb
# app/models/dossier_preloader.rb
2022-12-15 19:09:25 +01:00
Lisa Durand
2fff6faed6
fix checkbox rendering in all pages
2022-12-15 14:46:05 +01:00
Lisa Durand
ff7c1fef65
adapt button icons to bulk action
2022-12-15 10:04:25 +01:00
Lisa Durand
89730b485b
add bulk action feature for 'passer_en_instruction'
2022-12-15 10:04:25 +01:00
Colin Darie
84aabd4187
style(instructeurs): convert some dropdowns buttons to DSFR
2022-12-15 09:34:10 +01:00
Colin Darie
3a9a71079a
Merge branch 'main' into pj-en-construction-replace
2022-12-14 16:59:48 +01:00
Paul Chavard
1b95809f14
refactor(dossier): flatten champ attributes
2022-12-14 13:03:06 +01:00
Paul Chavard
0d10d36cb0
Revert "Merge pull request #7907 from tchak/feat-cond-repetitions"
...
This reverts commit 1900f8ff4c
, reversing
changes made to febffc2d64
.
# Conflicts:
# app/models/dossier.rb
2022-12-14 11:25:45 +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
Martin
e018d2975d
amelioration(administrateur/carte-email): la carte des emails affichait toujours 'A configurer'. Desormais si les 5 mail configurable on ete modifiés, on affiche 'Validé' + on affiche le nombre de mail personnalisé
2022-12-08 16:25:08 +01:00
Paul Chavard
d513c364d8
feat(cond): enable conditional on champs in repetitions
2022-12-08 09:38:12 +01:00
Paul Chavard
3c21090a88
feat(api_token): add profile api token card
2022-12-07 18:19:37 +01:00
Colin Darie
f4eb32af29
fix(messagerie): attachment open in new tab
2022-12-06 16:44:24 +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
7c65af3be0
poc(batch_operation_alert): simplier wording
2022-12-06 11:28:48 +01:00
Lisa Durand
3d2f0ebb88
add icon on submit button and simplify i18n
2022-12-06 11:28:48 +01:00
Martin
6556fda218
clean(spec): rubocopify / fix specs
2022-12-06 11:28:48 +01:00
Martin
b0ae2e8a0f
clean(spec): rubocopify / fix specs
2022-12-06 11:28:48 +01:00
Lisa Durand
7b3cbcb8f6
display batch operation alerts
2022-12-06 11:28:48 +01:00
Lisa Durand
2615da1e28
setup seen_at to hide alert when batch is finished and alert has been seen
2022-12-06 11:28:48 +01:00
Lisa Durand
1beb219fdd
display batch operation alerts
2022-12-06 11:28:48 +01:00
Martin
beb39027d0
poc(batch_operation.ui): implement simple ui to trigger a batch of current page
2022-12-06 11:28:48 +01:00
Martin
9193581ae2
correctif(admin/procedures/configuration): pour une procedure, la tuile instructeurs est considérée valide si le routage est activé ou si il y a des instructeurs declarés
...
Update app/components/procedure/card/instructeurs_component/instructeurs_component.html.haml
Co-authored-by: Paul Chavard <github@paul.chavard.net>
2022-12-06 10:20:17 +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
b9d6397a9b
fix(pj_template): private proxy template url so their links are non expirable
...
Closes #7920
2022-12-05 11:30:00 +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
920f90d2e3
chore(titre_identite): render template if exists
2022-12-05 10:47:10 +01:00
Colin Darie
3e617f34ec
chore(admin): can download an uploaded PJ template
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
e3ddb7779f
fix(form): multipart option must be set under "html" to ensure rendering as expected
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
Colin Darie
f66a0cf5a9
chore(piece_justificative): tells admins multiple files could be attached
2022-12-05 10:47:10 +01:00
Colin Darie
636645f686
refactor: minor piece_justificative_multiple? question mark use
2022-12-05 10:47:10 +01:00
Colin Darie
1f8d28c678
feat(piece_justificative): limit to 1 upload for existing procedures
2022-12-05 10:47:10 +01:00
Colin Darie
ed1c6ec515
style(piece_justificative): use DSFR Téléchargement de fichiers for instructeurs & experts
2022-12-05 10:47:10 +01:00
Colin Darie
6a0379086d
chore(piece_justificative): continue attachments refactor
2022-12-05 10:47:10 +01:00
Colin Darie
7ae6efe776
refactor(attachment): remove replace feature
2022-12-05 10:47:10 +01:00
Colin Darie
b8296c6d4d
feat(piece_justificative): supports multiple files
...
Closes #7924
2022-12-05 10:47:10 +01:00
Colin Darie
ab1928dc33
style(attachment): enable underlined link on refresh link
2022-12-05 10:47:10 +01:00
Paul Chavard
36195acb29
feat(component): add CopyButtonComponent
2022-12-02 11:30:49 +01:00
Kara Diaby
1efcacd845
add copy button component
2022-12-02 11:30:49 +01:00
Kara Diaby
fe04244138
locales
2022-12-02 11:30:49 +01:00
Kara Diaby
d0ba0e2d63
layout
2022-12-02 11:30:48 +01:00
Paul Chavard
00556715d6
fix(typography): fix quotes
2022-12-01 17:59:11 +01:00
Paul Chavard
a760e0a698
feat(demarche): enable revisions for all
2022-11-24 17:35:33 +01:00
Paul Chavard
c73b650f85
feat(attestation): validate attestation tags
2022-11-23 12:26:26 +01:00
Paul Chavard
cafda4f6f0
refactor(attestation_template): move to procedure
2022-11-23 12:26:26 +01:00
simon lehericey
924d2ae15d
refactor(procedure_adminis): extract component
2022-11-22 16:41:20 +01:00
simon lehericey
7e7363c8c3
refactor(application_component): add current_administrateur
2022-11-22 16:41:20 +01:00
simon lehericey
0e610179fb
refactor(champ_label): use ApplicationHelper
2022-11-22 16:41:20 +01:00
Colin Darie
15717c5b2f
chore(lint): fix haml linting issues on view components
2022-11-22 12:06:15 +01:00
Paul Chavard
0c0618aa79
feat(export): add GeoJSON export
2022-11-18 10:04:35 +01:00
Paul Chavard
29bdd82b59
refactor(procedure): types_de_champ -> active_revision.types_de_champ_public
2022-11-17 13:54:14 +01:00
Colin Darie
bad4581a46
style(manager): mandatory champ more visible
2022-11-15 16:30:18 +01:00
Colin Darie
b8bfb55fb2
chore(manager): replace dossier champ row by a view component
2022-11-15 16:30:18 +01:00
Martin
b3f80dc5f9
amelioration(Procedure.revision_changes): ajout du support pour les texte complementaire affichable au clique des champs de type explication
...
Co-authored-by: Paul Chavard <github@paul.chavard.net>
2022-11-08 17:49:24 +01:00
Martin
df54dc04a4
amelioration(champ.explication): ajout du support pour avoir un menu depliant avec plus d'information sur un champs explication
...
amelioration(champ.explication): ajout du support pour avoir un menu depliant avec plus d'information sur un champs explication
2022-11-08 17:49:24 +01:00
Martin
fe0411203f
amelioration(types_de_champ/editor): en mode edition d'un champ de type explication, permet de choisir d'afficher ou pas cette explication derriere un collapse
2022-11-08 17:49:24 +01:00
Paul Chavard
b020cb31b6
fix(publication): improuve publication warnings
2022-11-08 10:20:35 +00:00
Bouchra
c4011e32be
Update estimated_fill_duration_component.fr.yml
2022-11-07 13:34:58 +00:00
Paul Chavard
7de52d582a
feat(conditional): remove conditional feature flag
2022-11-04 13:37:37 +00:00
Eric Leroy-Terquem
aca2775874
remove routee? method
2022-11-04 12:03:44 +01:00
Eric Leroy-Terquem
5578115acf
update routee? method
2022-11-04 12:03:43 +01:00
Paul Chavard
33fc8a45ab
feat(emails): show email errors on procedure page
2022-11-04 09:08:41 +00:00
Paul Chavard
ddd5eab4b1
feat(dsfr): improuve vertical card component
2022-11-04 09:08:41 +00:00
Eric Leroy-Terquem
09c5b9dc99
remove categories_type_de_champ feature flag
2022-11-03 14:28:27 +01:00
Paul Chavard
86a09dd24c
fix(procedure): fix procedure cards grid view
2022-11-02 09:29:28 +01:00
Martin
c7c46c9dff
design(page de configuration de procedure): passage de la grille au DSFR
2022-10-27 14:00:44 +02:00
Martin
d46efeef85
amelioration(export): clarifier l'usage des exports pour les instructeurs pour eviter le téléchargement des export zip pour de l'archivage
2022-10-20 14:50:48 +02:00
Colin Darie
f5a0842c6e
style(dsfr): callout component with support for a bottom section like buttons
2022-10-20 09:18:16 +02:00
Paul Chavard
74aa01479b
fix(revision): fix changes list style
2022-10-20 06:56:20 +02:00
simon lehericey
6832b12bd4
clean(haml): remove commented code
2022-10-18 11:13:41 +02:00
simon lehericey
528b7ec3f8
refactor(champ): add required?
...
used for the `required` html attribute. It check visibility to avoid hidden required input which prevent the form from being sent.
2022-10-18 11:13:41 +02:00
simon lehericey
dc89ddb639
fix(translation): typo in footer
2022-10-17 22:47:42 +02:00
Paul Chavard
25c774b3a1
refactor(dossier): extract dossier edit footer into a component
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
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
73f6063c87
Merge branch 'main' into feature/add_rna_type_de_champs
2022-10-11 15:36:46 +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
9992ab9e09
style(admin): new procedure btn styles
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
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
5a50383a27
style: download links (notice & template) with expected DSFR design & details
...
Closes #7829
2022-10-11 09:50:21 +02:00
simon lehericey
e86375046b
fix: label in linked_drop_down
2022-10-07 13:56:05 +02:00
simon lehericey
3dc0ed7695
fix: label in multiple_drop_down_list
2022-10-07 13:56:05 +02:00
simon lehericey
87d0334c1c
fix: label in champ component
2022-10-07 13:56:05 +02:00
Christophe Robillard
a6928e7ca2
add ZonesComponent
2022-10-07 10:48:35 +02:00
Damien Le Thiec
0131a41266
Merge branch 'main' into feature/add_rna_type_de_champs
2022-10-05 12:38:24 +02:00
Damien Le Thiec
93e89c8968
Fix small bugs rna controller and add tests
2022-10-05 12:31:34 +02:00
Eric Leroy-Terquem
ff2e9f0816
add feature flag
2022-10-05 09:21:08 +02:00
Eric Leroy-Terquem
6925ca66e6
add grouped options for select
2022-10-05 09:21:08 +02:00
Damien Le Thiec
0d9f02c88d
First draft autofetch data for RNA
2022-10-04 22:11:01 +02:00
Martin
7125e8538a
clean(engagement): remove last pieces of engagement champs
2022-10-04 07:17:47 +02:00
simon lehericey
adbb655a4a
perf(procedure edition): validate only once to avoid reload tdc with n+1
2022-10-03 20:49:38 +02:00
Martin
aceb8996c1
feat(instructeur/procedure#show): enhance sort by notifications as planned by UX
...
Update app/javascript/controllers/checkbox_controller.ts
Co-authored-by: Paul Chavard <github@paul.chavard.net>
2022-09-30 10:29:51 +02:00
Paul Chavard
462cc41caa
refactor(block): use block? instead of repetition?
2022-09-29 17:49:14 +02:00
Colin Darie
6a943ad13f
feat(champ_pj): warn administrators about ephemeral template links
...
Closes #7681
2022-09-28 17:01:25 +02:00
simon lehericey
dd7af753fe
only display not_available error message
2022-09-28 10:06:32 +02:00
simon lehericey
f98d1463a6
compatible_type
2022-09-28 10:06:31 +02:00
simon lehericey
cd2b08e39b
options
2022-09-28 10:06:31 +02:00
simon lehericey
12b6a0d6d6
errors
2022-09-28 10:06:31 +02:00
simon lehericey
70022450cf
type
2022-09-28 10:06:31 +02:00
Martin
ba6c5b4db7
feat(instructeur/procedure#index): enhance filter to support processed_at and state [plus en_instruction_at/since]
...
feat(filter): enable filter on dossiers.state, dossiers.processed_at(since), dossiers.en_instruction_at(since)
2022-09-27 17:19:54 +02:00
simon lehericey
2e33438131
fix(conditional): add missing locals
2022-09-26 10:21:15 +02:00
simon lehericey
bae60339a7
fix: wording
2022-09-26 10:21:15 +02:00
simon lehericey
eb71207457
fix(conditional): change number input to text input, to display original text not empty in the error message
2022-09-26 10:21:15 +02:00
simon lehericey
f53e8608ae
refactor(conditional): error message system
2022-09-26 10:21:15 +02:00
simon lehericey
fcb9b55bc4
feat(conditional): add include operator
2022-09-26 10:21:15 +02:00
Colin Darie
55fd4307a1
refactor(header/notice): convert JS to stimulus
2022-09-21 15:47:35 +02:00
Colin Darie
4d5f03b99c
style(header): remove fr-header__with-notice-info when notice is closed
2022-09-21 15:47:35 +02:00
Colin Darie
ab82128585
feat(dsfr): new NoticeComponent
2022-09-21 15:47:35 +02:00
Damien Le Thiec
2141dd501e
Create RNA component
2022-09-21 15:18:23 +02:00
Colin Darie
46b69da396
style(dsfr/callout): more theming for callout component
2022-09-16 10:43:59 +02:00
Martin
67856c2f13
fix(upload.custom-types): army has a custom format for crypted zip. not recognized as an application/octet-stream by the browser. html5[accpet] attributes allows to use extensions. So we allow this extension
2022-09-09 15:54:13 +02:00
Martin
93e3f5877e
fix(champ_label_component): add missing helpers
2022-09-09 12:02:04 +02:00
simon lehericey
478a7e68ab
refactor(logic): reuse compatible_type
2022-09-09 10:55:42 +02:00
Paul Chavard
d35ceb7214
fix(champs): finish EditableChampComponent refactor
2022-09-08 11:26:29 +02:00
Colin Darie
c927f2c250
refactor(dsfr/card): rename CardComponent => CardVerticalComponent
2022-09-07 17:56:19 +02:00
Colin Darie
5f08df7561
refactor(dsfr/button): remove useless & verbose Dsfr::ButtonComponent, in favor of good link_to / f.submit
2022-09-07 17:56:19 +02:00
Colin Darie
5f760585ad
refactor(dsfr): CardComponent with footer_buttons slot
2022-09-07 17:56:19 +02:00
Colin Darie
b769def337
refactor(landings): with DSFR button & card components
2022-09-07 17:56:19 +02:00
Colin Darie
0e28a3870a
refactor(dsfr/button_component): more modular & signature more like link_to
2022-09-07 17:56:19 +02:00
Paul Chavard
c05bc61c99
fix(revisions): improuve changes information display
2022-09-07 13:52:44 +02:00
Martin
7a3dddf9de
fix(dsfr): side effect
2022-09-01 17:12:22 +02:00
simon lehericey
f4b465a03f
add errors_summary component
2022-09-01 15:07:18 +02:00
Paul Chavard
afefa2bfb4
fix(dossier): fix user form component migration errors
2022-09-01 12:43:24 +02:00
simon lehericey
994d73b426
move trad
2022-09-01 09:48:27 +02:00
simon lehericey
a3e8c09e71
component all the champ
2022-09-01 09:48:27 +02:00
Martin
39b328a984
ui(Administrateur::Procedure::Service): use ds-fr table and some ui refinements
2022-08-31 14:56:01 +02:00
Martin
d2b42dda2e
feat(Administrateur::Procedure::Service.form): enhance wording and styl
2022-08-31 14:56:00 +02:00
Martin
f086302455
feat(Administrateurs::Procedure::Service#form): wrap explanation within DSFR::CallOut
2022-08-31 14:56:00 +02:00
Martin
a2311b1b75
perf(dsfr): only include what alert and its dependencies as refered in README of each components
2022-08-31 14:56:00 +02:00
Martin
17d8c7a371
feat(Administrateurs::Procedure::Service#edit): update UI with new warning as well as DSFR ui
...
feat(Administrateur::Procedure::Service#edit): add warning message a la DSFR
2022-08-31 14:56:00 +02:00
Martin
51680b11c2
feat(Adminstrateur::Procedures#clone): redirect to home of procedure with special info regarding procedure presentation & service
2022-08-31 14:56:00 +02:00
simon lehericey
650c36e3e2
feat(conditional): add not eq operator
2022-08-10 11:59:09 +02:00
Paul Chavard
a24885c2ee
feat(champ): can condition on other option
2022-08-04 15:28:54 +02:00
Colin Darie
4a1325eadf
fix(view_component): replace form_with with unaffected buffer form_tag helper
...
form_with/form_for have buffer issues (at least with turbo).
form_tag seems not affected.
2022-08-03 11:57:26 +02:00
Paul Chavard
f48048179c
fix(conditional): enable conditional per procedure
2022-08-03 09:16:10 +02:00
Paul Chavard
0f9983e93a
feat(types_de_champ): allow siret in repetition blocks
2022-07-26 12:59:58 +02:00
simon lehericey
369141c7f7
Fix(procedure library): replace infinite list by a basic search
2022-07-26 12:38:05 +02:00
Martin
3e56fdd1d7
fix(export): when it takes more than 3 hours, exports are purge before being generated. make it possible to have an export that takes more than 3 hours and share this behaviour with kind of same class archive
2022-07-25 10:48:54 +02:00
Paul Chavard
d9eea35ae8
fix(dossier): decoralate dropdown behaviour from autosave
2022-07-21 18:40:16 +02:00
Paul Chavard
7425744f9f
refactor(procedure): move cards to components
2022-07-21 18:07:56 +02:00
Martin
87af7f3261
feat(exports): implement admin export
2022-07-20 14:08:33 +02:00
Paul Chavard
98a0bc8c71
refactor(condition): use dom_id with stable_id
2022-07-13 15:38:43 +02:00
simon lehericey
00c4076b32
conditions_component use stable_id
2022-07-13 12:38:52 +02:00
simon lehericey
53fe3c3dd8
fix: remove condition from annotations and children
2022-07-12 14:17:05 +02:00
Colin Darie
8c08d0295b
Revert "feat(champ): customizable placeholders for text & textarea champs"
...
This reverts commit 9e26ee932e
.
Finalement les champs génériques ne doivent pas avoir de placeholder
personnalisable, ce sera uniquement via la description.
2022-07-12 11:37:58 +02:00
simon lehericey
9bd1d97ed7
add feature flag
2022-07-12 10:44:40 +02:00
simon lehericey
bd708a12a0
fix: missing traduction in conditions errors
2022-07-12 10:44:40 +02:00
simon lehericey
c80a820054
expose properties after_all
2022-07-12 10:44:40 +02:00
simon lehericey
2df9d8ba98
use condition_condition_component in editor
2022-07-12 10:44:40 +02:00
Paul Chavard
9867bc3947
fix(a11y): manu buttons should have unique ids
2022-07-12 08:43:17 +02:00
Paul Chavard
b8db929e62
fix(a11y): add id to drop_down_other
2022-07-12 08:43:17 +02:00
Colin Darie
9e26ee932e
feat(champ): customizable placeholders for text & textarea champs
...
Closes #7429
2022-07-11 17:16:20 +02:00
simon lehericey
0ffa23c259
move under types_de_champ_editor namespace
2022-07-07 11:18:47 +02:00
simon lehericey
5ea8842294
more renaming
2022-07-07 10:57:12 +02:00
simon lehericey
4ac66f2b99
simplify negation and alert
2022-07-07 10:57:12 +02:00
simon lehericey
3fc3bb6d54
simplify fargets_for_select
2022-07-06 20:27:14 +02:00
simon lehericey
dfd63d4f75
renaming
2022-07-06 20:27:14 +02:00
simon lehericey
62b5bd974e
add comments
2022-07-06 20:27:14 +02:00
simon lehericey
01bc7aa29e
make it world wide
2022-07-06 20:27:14 +02:00
simon lehericey
1131a5c83e
condition component error
2022-07-06 20:27:14 +02:00
simon lehericey
cecf210503
style add row button
2022-07-06 20:27:14 +02:00
simon lehericey
bf27a5ffc4
style delete row button
2022-07-06 20:27:14 +02:00
simon lehericey
30859774e4
condition component manage invalid target
2022-07-06 20:27:14 +02:00
simon lehericey
db4b7fc344
condition component manage invalid value
2022-07-06 20:27:14 +02:00
simon lehericey
03e9e95d56
condition component manage invalid operator
2022-07-06 20:27:14 +02:00
simon lehericey
e2a236b73d
add condition_component
2022-07-06 20:27:14 +02:00
Martin
ddd67f1df2
fix(sentry/3394049118): apparently there is an attached_file without content_type nor file_size validation...
2022-07-06 13:53:16 +02:00
simon lehericey
a475515f3e
use params[:stable_id]
2022-07-05 11:53:18 +02:00
simon lehericey
7b02fa9353
typeDeChampIdValue -> typeDeChampStableIdValue
2022-07-05 11:53:18 +02:00
simon lehericey
5ebaf59fdb
parent_id -> parent_stable_id
2022-07-05 11:53:18 +02:00
simon lehericey
1342356651
after_id -> after_stable_id
2022-07-05 11:53:18 +02:00
Martin
4ec61e58ac
feat(EditComponent): add max_file_size and content_types to upload buttons inspired by dsfr
2022-06-28 17:44:35 +02:00
Martin
ea71908850
fix(ChampEditor): add missing drop_down_other for type_de_champ.drop_down_list_with_other?
2022-06-27 17:19:10 +02:00
Paul Chavard
6801b04b7b
feat(type_de_champ): type_de_champ editor in stimulus/turbo
2022-06-17 11:04:09 +02:00
Paul Chavard
906eea188e
refactor(stimulus): use stimulus in message forms
2022-05-30 18:21:32 +02:00
Paul Chavard
e257a05150
feat(dossier): preview should save dossier
2022-05-24 17:02:05 +02:00
Paul Chavard
0dfc015690
feat(dossiers): bring back export all dossiers
2022-05-17 18:34:00 +02:00
Paul Chavard
bc77390cfe
refactor(attachment): use new components
2022-05-17 16:08:47 +02:00
Paul Chavard
2ce389d474
refactor(dossier): add Dossier::ExportComponent
2022-05-17 16:08:47 +02:00
Paul Chavard
7e1c793728
refactor(attachment): add Attachment::ShowComponent
2022-05-17 16:08:47 +02:00
Paul Chavard
d6384caf10
refactor(attachment): add Attachment::EditComponent
2022-05-17 16:08:47 +02:00
Paul Chavard
d2ab8b5593
feat(message): replace message partial with MessageComponent
2022-04-26 14:54:58 +02:00
Paul Chavard
86df16ebda
feat(view_components): add view_components
2022-04-26 14:54:58 +02:00