Martin
8b6a7689fa
a11y(bloc-repetable.repetition): ajoute une repetition via un bouton et non un lien
2023-03-31 08:51:39 +02:00
Martin
92d3f9c192
a11y(bloc-repetable.repetition): supprime une repetition via un bouton et non un lien
2023-03-31 08:51:39 +02:00
Colin Darie
6ddbda34a2
fix(avis): don't list question_answer radios on empty question
2023-03-29 15:42:33 +02:00
Paul Chavard
dc605015b3
feat(commune): chose commune by postal code
2023-03-28 16:34:19 +02:00
Lisa Durand
ac886d011a
merge form view expert and instructeur
2023-03-27 14:59:49 +02:00
Lisa Durand
0424f9dff8
merge avis_list view expert and instructeur
2023-03-27 14:59:49 +02:00
Colin Darie
3a9b2d99e3
Merge pull request #8776 from colinux/fix-deadlocks
...
Fix: corrige peut-être des deadlocks postgresql sur le champ SIRET
2023-03-21 11:11:46 +00:00
Paul Chavard
b750be75d6
Merge pull request #8782 from tchak/fix-champ-carte-too-many-features
...
fix(dossier): do not show features list if more then 20
2023-03-21 10:18:05 +00:00
Paul Chavard
281ee20af9
fix(dossier): do not show features list if more then 20
2023-03-20 18:30:00 +01:00
simon lehericey
1ffeaf6c34
feat(siret): add copy shortcut on siret
2023-03-20 17:45:58 +01:00
Colin Darie
f8d075c187
fix(siret): remove message "nous récupérons…" without siret
2023-03-20 14:32:14 +01:00
Colin Darie
b628cf85cd
feat(siret): render siret formatted like INSEE
2023-03-15 12:43:56 +01:00
Colin Darie
37afd142cb
fix(entreprise): don't leak entreprise name if it's not diffusable
2023-03-15 12:43:56 +01:00
Paul Chavard
cbaa77fca7
feat(annotations): activate autosave
2023-03-14 15:22:13 +01:00
Lisa Durand
2554f72668
remove useless class in html
2023-03-14 11:04:19 +01:00
Lisa Durand
17c8450450
adjust badge alignement for users dossiers
2023-03-10 17:54:10 +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
c05cc4a42d
fix(annotations-privees): auto counter was not properly enabled
2023-02-28 17:49:39 +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
3de089d6c7
fix(conditional): dynamic title counters using css
...
Closes #8086
2023-02-27 17:29:22 +01:00
Colin Darie
7a67345d49
refactor(help_dropdown): fix font sizes & use dsfr icons
2023-02-27 17:23:43 +01:00
Colin Darie
11fb3a5ca8
fix(i18n): translate contextual procedure help dropdown
...
Cf #8665
2023-02-27 17:23:43 +01:00
sebastiencarceles
39545671f3
refacto: better error management
2023-02-27 14:35:11 +01:00
sebastiencarceles
30eef3e128
review: detailled error message
2023-02-27 13:45:16 +01:00
Martin
ff9bb8a3cc
correctif(annotations-privee): ajout du delete form component pour supprimer une annotation privee
2023-02-24 10:19:41 +01:00
Lisa Durand
76947a5ccf
add mention if user_deleted and move dossier info back to info_generales
2023-02-23 16:05:43 +01:00
Martin
8a44e6a03c
correctif(a11y): #8179 , quand la messagerie est desactivée. supprime les br et utilise le nouveau mode de rendu pour afficher les horaires saisies par l'administration
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
Lisa Durand
fddcce8b7b
fix specs
2023-02-22 18:17:06 +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
Julie Salha
0e5deda86c
add scrolling functionnality for description procedure
2023-02-16 11:44:26 +01:00
Lisa Durand
b7a5f8bf7f
extract actions and info from dropdown
2023-02-14 17:57:50 +01:00
Martin
c3fd555e6c
amelioration(a11y.invites): focus sur la liste des invitations lorsqu'on ajoute un invite a un dossier
2023-02-06 17:19:11 +01:00
simon lehericey
a1487e9923
fix: allow a tag in various admin text
2023-02-06 11:01:28 +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
Martin
b3e3f083b8
amelioration(app/views/shared/help/_help_dropdown_procedure.html.haml
...
): passe le menu d'aide sur une procedure par un usager au nouveau menu
2023-01-26 11:13:23 +01:00
Martin
34c5bb70e7
amelioration(app/views/shared/help/_help_dropdown_instructeur.html.haml): passe le menu d'aide instructeur au nouveau menu
2023-01-26 11:13:23 +01:00
Martin
3dc4a51bf3
amelioration(app/views/shared/help/_help_dropdown_dossier.html.haml): passe le menu d'aide sur un dossier au nouveau menu
2023-01-26 11:13:23 +01:00
Julie Salha
2d61d94a46
add label textarea message
2023-01-24 16:31:46 +01:00
Paul Chavard
a4cbbe721e
feat(types de champ): add EPCI champ
2023-01-20 11:32:36 +01:00
Colin Darie
b549a0ba83
fix(instructeurs): notify that dossier can be terminer if a siret champ is in degraded mode
2023-01-18 19:23:25 +01:00
François Vantomme
08d276472b
refactor(links): use localized FAQ URLs
2023-01-11 11:28:03 +01:00
François Vantomme
fe518fed8c
refactor(links): move FAQ from footer to common scope
2023-01-11 11:28:03 +01:00
François Vantomme
faa5dda761
refactor(links): use FAQ URL locale everywhere
2023-01-11 11:28:03 +01:00
Martin
0ce293d2e0
fix(instructeurs/dossier#show): missing preload on dossier
2023-01-09 14:29:47 +01: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
Colin Darie
9d3b2f6027
fix(a11y): html structure in dossier summary
...
Closes #8162
2023-01-02 18:06:50 +01:00
Paul Chavard
3f0f5e381f
refactor(regions): champ regions to use simple select
2022-12-21 14:03:02 +01:00
Colin Darie
40a1eaaaed
fix(annuaire-education): schema should not require adresse_1, type_contrat_prive attributes
...
https://sentry.io/organizations/demarches-simplifiees/issues/3328955794/events/147affe4b73b43a391c257b97d298bb9/?project=1429550
2022-12-07 22:23:34 +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
920f90d2e3
chore(titre_identite): render template if exists
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
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
70d4d7848b
feat(i18n): more footer translations
2022-12-05 10:38:16 +01:00
Colin Darie
3a2fae9cc2
fix(a11y): table having role=presentation (critere 5.3)
...
Closes #8154
2022-11-30 13:41:13 +01:00
Colin Darie
8baac2087e
style(mobile): fix burger menu alignment: we need a left icon (match UX)
2022-11-30 12:08:59 +01:00
Colin Darie
8c16eb1543
fix(a11y): more external link having title saying it will open in new tab
2022-11-30 09:27:46 +01:00
Colin Darie
4d00fcc2d9
fix(a11y/home): add missing title attributes
...
Cf #8050
2022-11-30 09:27:46 +01:00
Colin Darie
720995f48f
fix(a11y/footer): add "new tab" suffix on title links
...
Cf #8050
2022-11-30 09:27:46 +01:00
Paul Chavard
234975b806
feat(graphql): expose groupe_instructeur state and update mutation
2022-11-24 14:33:29 +01:00
Colin Darie
fb7ac3c610
style(dsfr): convert a user button to DSFR
2022-11-14 14:56:43 +01:00
Paul Chavard
e6288c39f2
refactor(dossier): champs -> champs_public
2022-11-10 22:44:39 +00:00
Paul Chavard
5e87539d6d
fix(groupe_instructeur): add explicit order to groupe_instructeurs
2022-11-09 10:56:40 +00:00
Eric Leroy-Terquem
aca2775874
remove routee? method
2022-11-04 12:03:44 +01:00
Martin
e56441b7f5
correctif(Administrateurs::Archives#index): mauvaise comparaison
2022-11-02 14:07:53 +01:00
Martin
1b1568b2c2
remaniement(Administrateurs::ArchivesController): ne passe pas par la table des traitement pour compter le nombre de dossier traites par mois. Depuis que nous avons redescendu la colonne processed_at sur la table dossiers, ce n'\est plus necessaire et le code est compliqué a comprendre
2022-11-01 12:43:49 +01:00
Martin
527f416f52
amelioration(archives): documentation de la structure de l'archive
...
Update app/views/shared/archives/_notice.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
Update app/views/shared/archives/_notice.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
Update app/views/shared/archives/_notice.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
Update app/views/shared/archives/_notice.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
Update app/views/shared/archives/_notice.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
Update app/views/shared/archives/_notice.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
Update app/views/shared/archives/_notice.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
Update app/views/shared/archives/_notice.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
2022-10-20 16:40:53 +02:00
Paul Chavard
25c774b3a1
refactor(dossier): extract dossier edit footer into a component
2022-10-13 14:44:46 +02:00
Paul Chavard
78a1323fc2
refactor(dossier): move dossier submit action in to a new form
2022-10-13 14:44:46 +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
df672fb493
fix(footer): etalab link with rel=noopener
2022-10-11 09:50:21 +02:00
Colin Darie
0e1077487a
style(autosave): better font-size & link style
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
be367503cf
fix(footer): add missing title attribute on a
2022-10-11 09:50:21 +02:00
Colin Darie
8bd36921e0
style(footer): drop useless br since we now have a default margin-bottom on p
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
Colin Darie
1e9d5b753c
refactor(footer): licence sentence in partial
2022-10-11 09:50:21 +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
Damien Le Thiec
776736fe5a
Fix rights view RNA champ data
2022-10-05 09:46:15 +02:00
Damien Le Thiec
0d9f02c88d
First draft autofetch data for RNA
2022-10-04 22:11:01 +02:00
Martin
19bac6339c
fix(multiple_drop_down_list): iterate over selected options not to_s
2022-09-30 12:24:00 +02:00
Colin Darie
da22c29688
feat(procedure): warn administrator that notice links are not shareable
...
Closes #7681
2022-09-28 17:01:25 +02:00
Damien Le Thiec
bd0df2b60b
Clean rna champ_row
2022-09-22 17:14:05 +02:00
Colin Darie
9b929c86ea
Merge pull request #7760 from betagouv/dsfr-dossier-top-form
...
DSFR: convert dossier top form elements
2022-09-21 16:44:51 +02:00
Colin Darie
39322e6dff
feat(instructeurs): warn about acceptation/reject unavailable due to incomplete etablissement
2022-09-21 16:00:59 +02:00
Colin Darie
fcb478eb53
refactor(fc_info): use Dsfr::Notice for france connect informations
2022-09-21 15:47:35 +02:00
Colin Darie
a5e1d8865b
style(france_connect_account): convert notice about FC user to DSFR
2022-09-21 15:47:35 +02:00
Colin Darie
80daf3ede1
style(dsfr): dossier form header + notice link
2022-09-21 15:47:35 +02:00
Colin Darie
7e1c542807
fix: FranceConnect button was not visible anymore, convert to DSFR
2022-09-21 09:28:54 +02:00
simon lehericey
9d2d19800d
feat(champ siret): save etablissement in degraded mode if api down and allow submission
2022-09-19 12:12:05 +02:00
simon lehericey
c7d54fc750
feat(champ siret): display an acknowledgment if siret exist
2022-09-19 11:50:33 +02:00
simon lehericey
0f318a1f7f
feat(api_entreprise): display partial information when degraded_mode
2022-09-16 14:43:18 +02:00
Colin Darie
3cd02ceae3
fix(etablissement): improve annuaire_link, with SIRET & as search
...
Dans certaines circonstances le SIREN pouvait être vide alors qu'on a
toujours le SIRET. Aussi, on se base sur la recherhce qui redirige vers
le bon namespace car il n'y a pas forcément que des entreprises : certaines
sont listées sous "etablissement".
2022-09-16 10:43:59 +02:00
Paul Chavard
d6f5be622c
feat(dossier): autosave en construction
2022-09-08 11:26:29 +02:00
Paul Chavard
d35ceb7214
fix(champs): finish EditableChampComponent refactor
2022-09-08 11:26:29 +02:00
Martin
fb0e863efd
feat(header): migrate help button to dsfr
2022-09-06 10:09:12 +02:00
Martin
a48a8b6081
feat(title): avoid title issues
2022-09-06 10:09:12 +02:00
Martin
af00936aac
ui(header): refine to fit with olivier design
2022-09-06 10:09:12 +02:00
Colin Darie
4e3b063b87
feat(carte/export): list geo labels
2022-09-05 11:02:51 +02:00
simon lehericey
a3e8c09e71
component all the champ
2022-09-01 09:48:27 +02:00
Martin
69ef1d508d
fix(brouillon.edit.form): when their is a type de champs repetition having a child being mandatory ; the form being not validatable the browser does not block the submission
2022-08-24 15:18:05 +02:00
Martin
e35da17ce8
bug(instructeurs/archives#create): month should not be nil
2022-08-23 15:31:17 +02:00
simon lehericey
00d0813292
ensure the mandatory star hint is always displayed
2022-08-09 10:29:41 +02:00
Paul Chavard
31d80d80bd
fix(dossier): prevent users from removing mandatory fiels after submission
2022-07-28 11:19:47 +02:00
Colin Darie
4699d15853
fix(archives): don't fail when there are no weight estimation
...
A priori ça peut arriver lorsqu'il n'y a pas de dossier terminé sur une procédure
Closes #7615
2022-07-27 15:12:18 +02:00
Colin Darie
9597b3b4b7
style(champ): remove placeholder of drop down other input, since it's not recommended anymore
2022-07-25 12:37:38 +02:00
Colin Darie
865c8c5af0
fix(champ): let auto input width in "other input" dropdown.
...
On unset explicitement l'attribut `size` pour ne pas que l'helper
`text_field` réutilise la valeur de maxlength et vienne faire déborder
l'input.
2022-07-25 12:36:37 +02:00
Colin Darie
22fed3d9de
feat: show entreprise etat "en activité" | "fermé in entreprise summary
...
Closes #7505
2022-07-25 10:58:02 +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
e85fe71887
fix(champ): allow to submit when secondary options are empty
2022-07-20 10:49:07 +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
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
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
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
Paul Chavard
d00a91aea5
feat(dossier): check conditions on en construction dossier
2022-07-13 10:49:17 +02:00
Paul Chavard
e82f0fd0c8
feat(dossier): exclude conditionally invisible fields from instructeur interface
2022-07-12 17:33:42 +02:00
Paul Chavard
120b593015
feat(dossier): toggle conditional champs visibility
2022-07-12 17:33:42 +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
Colin Darie
9e26ee932e
feat(champ): customizable placeholders for text & textarea champs
...
Closes #7429
2022-07-11 17:16:20 +02:00
Colin Darie
e26cee8d9d
style(champ): add default placeholders for text & textarea champs
...
cc #7429
2022-07-11 17:16:20 +02:00
Colin Darie
e0c5608218
refactor(iban): i18n extraction of input title attribute
2022-07-11 17:16:19 +02:00
Colin Darie
9768f4e1c9
style(champ): add placeholders for email, iban, phone, siret champs
...
Closes #7428
2022-07-11 17:16:19 +02:00
Martin
4c0aac8e0c
fix(linked_dropdown/dropdown): for dropdown_list, drop blank option because rails add it when the field is required. kind of same behaviour for linked_dropdown_list [but requires to manage it on the front too]
2022-07-11 14:47:26 +02:00
Martin
7fb85c97cb
feat(Administrateur::ArchivesControllers): add archives #index and #create for admin
2022-07-04 14:18:46 +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
Paul Chavard
19da848206
chore(dossier): remove dead code
2022-06-27 12:23:44 +02:00
Paul Chavard
eba1973d5f
refactor(stimulus): eager load stimulus controllers
2022-06-23 15:22:55 +02:00
Kara Diaby
7695ad47cf
ETQ Usager, je veux entrer mon Iban de manière plus simple (avec espaces)
2022-06-22 15:07:31 +02:00
Martin
ab4d4c83a8
feat(GroupeInstructeurs.closed): add closed option to GroupeInstructeur in order to prevent usagers to submit dossier
2022-06-20 16:32:06 +02:00
Pierre de La Morinerie
c1616adf8c
app: remove procedure-estimated-fill-time feature-flag
...
The feature is now enabled for every procedure.
Ref #7338
2022-06-01 11:11:55 +02:00
Pierre de La Morinerie
1a34a357a3
views: fix exception when creating a procedure with estimate enabled
2022-05-31 17:21:04 +02:00
Paul Chavard
906eea188e
refactor(stimulus): use stimulus in message forms
2022-05-30 18:21:32 +02:00
Pierre de La Morinerie
3e91a16895
app: display estimated fill duration on procedure description
2022-05-25 10:39:15 +02:00
Paul Chavard
e257a05150
feat(dossier): preview should save dossier
2022-05-24 17:02:05 +02:00
Paul Chavard
bc77390cfe
refactor(attachment): use new components
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
771a92a5e2
refactor(menu-button): use menu button controller
2022-05-11 16:23:42 +02:00
Paul Chavard
c9b8d43acd
feat(autosave): use new autosave controller
2022-05-10 18:10:20 +02:00
Paul Chavard
c5addb4829
fix(turbo): use link_to instead of submit button
2022-05-10 13:39:33 +02:00
Paul Chavard
1a9f2f0eef
refactor(champ): improuve repetition champ
2022-05-04 17:18:52 +02:00
Paul Chavard
2db892d876
refactor(turbo): champ siret and dossier_link use turbo
2022-05-04 14:11:43 +02:00