Commit graph

13279 commits

Author SHA1 Message Date
Lisa Durand
725a97da7e
admin can modify procedure labels 2024-11-04 16:48:46 +01:00
Lisa Durand
35dee477ea
rename ProcedureLabel by Label 2024-11-04 16:48:44 +01:00
Lisa Durand
1a3f73eb01
dont display tags on show if no label in procedure 2024-11-04 16:48:11 +01:00
Lisa Durand
84c2965edf
fix scss linter 2024-11-04 16:48:11 +01:00
Colin Darie
fd38288cf8
fix(label): don't html_safe user label from bdd 2024-11-04 16:48:11 +01:00
Lisa Durand
e723c9e365
create generic label for procedure in controller instead of using a hook 2024-11-04 16:48:11 +01:00
Lisa Durand
f68f4c88eb
correction after first review 2024-11-04 16:48:11 +01:00
Lisa Durand
c0dc487732
add css to custom tags and display labels with correct UI 2024-11-04 16:48:11 +01:00
Lisa Durand
9ab49a08b1
remove old badge css and only use DSFR 2024-11-04 16:48:11 +01:00
Lisa Durand
3a45524d39
add column label to procedure table 2024-11-04 16:48:00 +01:00
simon lehericey
a5b8b936d5
a column can override its column_id 2024-11-04 16:34:38 +01:00
Lisa Durand
d0b1292060
instructeur can add and delete labels on dossier show 2024-11-04 16:05:35 +01:00
Lisa Durand
2006dd283f
create dossier_labels 2024-11-04 16:05:35 +01:00
Lisa Durand
96cfb6cc43
create generic labels for old and new procedure 2024-11-04 16:05:35 +01:00
Lisa Durand
9dd224c3c7
create procedure_labels 2024-11-04 16:05:31 +01:00
Colin Darie
8b3634ea76
refactor(service): dedicated route for prefill from siret 2024-11-04 15:13:42 +01:00
Colin Darie
384d089cb3
feat(service): prefill first service with AgentConnect siret 2024-11-04 12:50:49 +01:00
Colin Darie
7742703081
refactor(service): concurrent prefill API calls 2024-11-04 12:50:49 +01:00
Colin Darie
065d380b70
feat(service): prefill type organisme from API Entreprise 2024-11-04 12:50:49 +01:00
Colin Darie
68cca71318
feat(service): prefill contact information UI interactions 2024-11-04 12:50:49 +01:00
Colin Darie
21dc77e587
fix(input): don't show success feedback when value was not set 2024-11-04 12:48:13 +01:00
Colin Darie
8dc47c1b93
feat(service): prefill contact information from annuaire service public 2024-11-04 12:48:13 +01:00
Colin Darie
a4054053f7
refactor(admin): move siret input up 2024-11-04 12:48:13 +01:00
Corinne Durrmeyer
f457c174ee
fix(character_limit) Return number of remaining or excess characters to screen reader 2024-11-04 12:17:34 +01:00
Corinne Durrmeyer
1c99a7c187
fix(character_limit_base) Displays the number of characters recommended for everyone 2024-11-04 12:15:11 +01:00
Corinne Durrmeyer
83c942c338
Merge pull request #10993 from demarches-simplifiees/a11y-specific-fields
ETQ usager, je veux que le titre du modèle de pièce jointe reprenne l'intitulé visible
2024-11-04 10:47:00 +00:00
Paul Chavard
415be4f9ea
feat(type_de_champ): test value casts 2024-11-04 11:16:05 +01:00
Paul Chavard
aeb1d1c53a
refactor(champ): move champ.blank? implementation to type_de_champ 2024-11-04 11:16:05 +01:00
Eric Leroy-Terquem
30aa0b71d0
feat(routing): can create simple routing with pays tdc 2024-11-04 11:09:58 +01:00
Eric Leroy-Terquem
b29893a843
feat(conditional): can condition and route with pays tdc 2024-11-04 11:09:37 +01:00
Paul Chavard
7fddec484d
refactor(column): no more java 🎉 get_value -> value 2024-10-31 21:36:13 +01:00
Paul Chavard
503da1d160
chore: implement special columns 2024-10-31 13:57:23 +01:00
Paul Chavard
e9991573e7
chore: columns on some champs at this point do not make sense 2024-10-31 13:29:15 +01:00
Paul Chavard
e2ace4f6bd
chore: only create columns on fillable champs 2024-10-31 13:29:15 +01:00
simon lehericey
f27598f235
fix: assign_to.procedure_presentation should return an ActiveModel::Errors if needed
the caller will then calls `errors.full_messages`
2024-10-31 11:03:06 +01:00
simon lehericey
59b7b3dc91
tag old methods to be remove in a next pr 2024-10-31 11:03:06 +01:00
simon lehericey
c28087ba3b
move human_value_for_filter to filter_buttons_component 2024-10-31 11:03:06 +01:00
simon lehericey
f50e63ea40
remove useless conversion 2024-10-31 11:03:06 +01:00
simon lehericey
1268f323cb
move filter button to component and use plug it to new route 2024-10-31 11:03:06 +01:00
simon lehericey
a0671a1321
remove prefix, use status in controller 2024-10-31 10:54:29 +01:00
simon lehericey
b4ed393a55
extract column_filter_value 2024-10-31 10:54:28 +01:00
simon lehericey
c8332b5e22
column: add more identifier 2024-10-31 10:54:28 +01:00
simon lehericey
13356f26c3
remove procedure from component signature 2024-10-31 10:54:28 +01:00
simon lehericey
d421d41e16
plug refresh_column_filter to dedicated controller 2024-10-31 10:54:28 +01:00
simon lehericey
7ed0b91351
plug column_filter, column_picker, column_header in new controller 2024-10-31 10:54:28 +01:00
simon lehericey
d8e63221b5
extract a procedure_presentation controller 2024-10-31 10:26:43 +01:00
simon lehericey
ab9a0fc34f
remove extraneous flatten compact 2024-10-30 18:34:11 +01:00
simon lehericey
5981de90a2
use Columns::DossierColumn 2024-10-30 18:30:38 +01:00
simon lehericey
96cd4fda72
ensure exported columns existed in main columns function 2024-10-30 18:28:25 +01:00
simon lehericey
d618f7cc0f
only expose chorus col when necessary 2024-10-30 18:28:25 +01:00
simon lehericey
92a863d48c
remove_all as there is no some_usager_columns 2024-10-30 18:28:25 +01:00
simon lehericey
2181a917a2
move col def to private when possible 2024-10-30 18:28:25 +01:00
mfo
656080538b
review(pull/10591#discussion_r1818942794): remove tested enum labels 2024-10-30 18:28:25 +01:00
mfo
fa50e21101
review(pull/10591#discussion_r1818919818): export without user id 2024-10-30 18:28:24 +01:00
mfo
cbb9854f4c
review(pull/10591#discussion_r1818916426): extract groupe_instructeurs_column and followers_instructeurs_email_column 2024-10-30 18:28:24 +01:00
mfo
3bed049a29
tech(style): prefix columns builders by their table, easier to understand 2024-10-30 18:28:24 +01:00
mfo
fc45e537cf
review(pull/10591#discussion_r1818914395): extract and dry archived/motivation column 2024-10-30 18:28:24 +01:00
mfo
d9fc48ad70
review(10591#discussion_r1818752344): homogenize interface for columns builders 2024-10-30 18:28:24 +01:00
mfo
8afe4374c7
review(pull/10591#discussion_r1818744664): extract some column builder 2024-10-30 18:28:23 +01:00
Christophe Robillard
df71c6a689
align columns naming and order for filter and add for export
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-10-30 18:28:23 +01:00
LeSim
0e589fc7ad
Merge pull request #10984 from demarches-simplifiees/fix-image-processor-job-errors
Technique : gestion des cas d'erreurs de ImageProcessorJob
2024-10-30 14:43:43 +00:00
Corinne Durrmeyer
861514dba9
Add translations to card component 2024-10-30 14:53:01 +01:00
mfo
54c9e46df0
feat(shared/_piece_justificative_template): forward traduction for better naming of download title element
Co-Authored-By: Corinne Durrmeyer <corinne@inseo.fr>
2024-10-30 09:51:05 +01:00
Paul Chavard
c6329ef10a
feat(column): add column get_value 2024-10-30 08:10:50 +01:00
Corinne Durrmeyer
f72c55631c
fix(trad): Add traduction to supporting document 2024-10-29 16:47:16 +01:00
Corinne Durrmeyer
340595cc86
fix(trad): Remove useless entries 2024-10-29 12:37:21 +01:00
Corinne Durrmeyer
10909c8879
Merge pull request #10965 from demarches-simplifiees/a11y-process-screen-2
Restitution des bandeau de statut (erreur ou succès)
2024-10-28 10:34:38 +00:00
mfo
af878ca5b7
Merge pull request #10988 from mfo/US/fix-exports-recasting-simple-to-multiple
Correctif: ETQ instructeur je peux exporter des mes dossiers au format xlsx même si le formulaire usager a changer
2024-10-28 08:55:55 +00:00
mfo
e24caeb4e2
Merge pull request #10986 from demarches-simplifiees/typo
Admin: corrige une typo dans le panneau d'inélégibilité
2024-10-25 14:06:47 +00:00
mfo
d66487138f
fix(sentry#6013588148): allowing recasting from drop_down_list to multiple_drop_down_list raises due to call to .selected_options 2024-10-25 13:49:32 +02:00
simon lehericey
6898287dac
fix: typo in ineligibilite panel 2024-10-25 11:07:35 +02:00
Eric Leroy-Terquem
93fcd4ad49
fix(image processing): do not uninterlace if no png path 2024-10-24 18:48:27 +02:00
Eric Leroy-Terquem
4dc13cc56c
fix(image processing): process only authorized image and pdf types 2024-10-24 18:48:27 +02:00
Eric Leroy-Terquem
e6845cd94d
fix(image processing): handle case of blob without attachments 2024-10-24 18:48:27 +02:00
Paul Chavard
406516a346
fix(email-checker): success can have no suggestions 2024-10-24 13:17:54 +02:00
simon lehericey
d32a4a24d9
fix: do not allow empty filter in views 2024-10-24 12:06:33 +02:00
simon lehericey
b22f049318
fix: do not allow empty filter in models 2024-10-24 12:06:32 +02:00
Paul Chavard
c56aa67297
Merge pull request #10980 from colinux/helpscout-more-validation
ETQ tech, réduit le bruit Helpscout sur Sentry
2024-10-24 09:31:51 +00:00
Eric Leroy-Terquem
56b1355f71
Merge pull request #10970 from demarches-simplifiees/add-multicombobox-in-instructeur-interface
ETQ instructeur je peux ajouter plusieurs instructeurs à la fois
2024-10-24 07:38:42 +00:00
Colin Darie
eaa3350b77
feat(contact): delete contact forms when max attempts has been reached 2024-10-23 17:05:27 +02:00
Colin Darie
4b48ee02cd
fix(helpscout): limit retries to a few hours 2024-10-23 16:58:15 +02:00
Colin Darie
84ae13eb6b
fix(helpscout): don't create conversation with an empty attachment 2024-10-23 16:57:54 +02:00
mfo
84870615d8
feat(flash_messages): dry up code and ensure turbo_force: :server otherwise morphing does not refresh page with new attrs 2024-10-23 16:13:30 +02:00
Corinne Durrmeyer
f3d0968da1
Enable restitution of morphed messages 2024-10-23 14:57:55 +02:00
Corinne Durrmeyer
c91d8698bd
Remove useless note for screen readers 2024-10-23 14:00:24 +02:00
Corinne Durrmeyer
536160f83e
Remove useless aria-live attribute 2024-10-23 14:00:24 +02:00
Corinne Durrmeyer
e21ebc75e1
Explain context of the 'revoke authorization' link to assistive technologies 2024-10-23 14:00:24 +02:00
Corinne Durrmeyer
fd049f6025
Improve status message delivery to assistive technologies 2024-10-23 14:00:24 +02:00
Corinne Durrmeyer
4e64eb1af5
Hide pesudo-element content from assistive technologies 2024-10-23 14:00:23 +02:00
Corinne Durrmeyer
48f1cd4a4a
Enhance contrast of notification dot 2024-10-23 14:00:23 +02:00
Corinne Durrmeyer
b0b1cdbbeb
Remove duplicate id 2024-10-23 14:00:23 +02:00
Corinne Durrmeyer
a1abaa4ac2
Replace span by div & tab-index by tabindex 2024-10-23 14:00:23 +02:00
Paul Chavard
1b188f65b0
Merge pull request #10977 from tchak/champ-oui-non-improve-format-on-export
ETQ Instructeur, je veux pouvoir faire la différence entre un champ Oui/Non vide et “Non”
2024-10-23 09:24:57 +00:00
Benoit Queyron
2b8e2b41da
Merge pull request #10968 from demarches-simplifiees/tech-nettoyage-options-header-section
Tech: task, nettoyage des options des header_section
2024-10-23 09:23:53 +00:00
Paul Chavard
05913b4409
Merge pull request #10978 from tchak/fix-some-sentry-js-errors
fix(js): fix sentry errors
2024-10-23 09:23:22 +00:00
benoitqueyron
1169dae310
task: clean header_section options 2024-10-23 10:35:07 +02:00
Mathieu Magnin
ba54890632
Merge pull request #10967 from demarches-simplifiees/fix-10966
Fix 500 when email is malformed
2024-10-23 07:23:07 +00:00
Paul Chavard
b5c7e78bbf
fix(js): fix sentry errors 2024-10-22 22:14:45 +02:00
Paul Chavard
08490bfb82
ETQ Instructeur, je veux pouvoir faire la difference entre un champ Oui/Non vide et “Non” 2024-10-22 21:18:17 +02:00
Eric Leroy-Terquem
81cbda0553
feat(instructeurs): can add many instructeurs 2024-10-22 17:31:31 +02:00
Thibaut Poullain
5195ebd5c7
🛠️ Fix | Procedure minimal admins presence 2024-10-22 17:01:57 +02:00
Paul Chavard
857f68c912
Merge pull request #10975 from tchak/refactor-export-repetition
refactor(export): do not use dossier.champs in export
2024-10-22 12:34:29 +00:00
Benoit Queyron
4844696f5c
Merge pull request #10973 from demarches-simplifiees/etq-admin-bug-affichage-service
ETQ Admin: amélioration de l'affichage des services
2024-10-22 12:04:51 +00:00
Paul Chavard
51a8c3cf98
refactor(export): do not use dossier.champs in export 2024-10-22 12:31:40 +02:00
simon lehericey
0137763d42
feat: add empty_brouillon scope 2024-10-22 12:03:03 +02:00
benoitqueyron
9a55cd8002
correction affichage service au dsfr 2024-10-21 18:36:01 +02:00
Paul Chavard
94b06cb50f
fix(logic): we need to expose raw typed values for champs 2024-10-21 13:09:49 +02:00
Paul Chavard
5024b5b549
refactor(champs): no need to project empty champs for tag 2024-10-21 13:09:49 +02:00
Paul Chavard
1ded040730
fix(iban): format iban through type_de_champ 2024-10-21 13:09:49 +02:00
Paul Chavard
02934188b4
refactor(champ): move champ value format methods from TypeDeChamp class to instance 2024-10-21 13:09:49 +02:00
Eric Leroy-Terquem
cdaa94d5f6
Merge pull request #10963 from demarches-simplifiees/fix-pdf-preview-display
Technique: affiche les vignettes de pdf dans la galerie en l'absence de ImageMagick et pdftoppm sur les machines web
2024-10-21 08:40:58 +00:00
Paul Chavard
79711f6901
Merge pull request #10969 from tchak/fix-dossier-preloader-with-champs-outside-of-revision
fix(dossier): fix preloader with champs outside of revision
2024-10-21 08:11:17 +00:00
Paul Chavard
fb07bdb8aa
fix(dossier): fix preloader with champs outside of revision 2024-10-18 18:17:17 +02:00
Eric Leroy-Terquem
d17b913ccc
db(task): set a date_time to pieces_jointes_seen_at for remaining follows 2024-10-18 16:43:28 +02:00
Mathieu Magnin
478103b01a
[#10966] Fix 500 when email is malformed 2024-10-18 16:22:13 +02:00
Eric Leroy-Terquem
6888a3da94
fix(gallery): display pdf previews without ImageMagick and pdftoppm installed in web machines 2024-10-18 15:06:04 +02:00
Corinne Durrmeyer
fcb868c6a8
Merge pull request #10893 from demarches-simplifiees/a11y-form-errors
Améliore la restitution des message d'erreur lors d'une soumission en erreur
2024-10-17 10:37:32 +00:00
Paul Chavard
4e8336ce88
Merge pull request #10897 from tchak/refactor-dossier-diff-merge
ETQ dev, je ne veux plus de méthode `champs_for_revision`
2024-10-17 09:54:08 +00:00
Paul Chavard
0529718c4b
refactor(dossier): the end of champs_for_revision 2024-10-17 11:33:24 +02:00
Paul Chavard
dd97c2fffd
refactor(dossier): diff and merge 2024-10-17 11:33:24 +02:00
Paul Chavard
8c8bb870fc
refactor(dossier): filled champs 2024-10-17 11:33:24 +02:00
Paul Chavard
ad7458a12f
Merge pull request #10931 from tchak/better-handle-api-entreprise-jobs
fix(api_entreprise): better handle api entreprise errors
2024-10-17 09:30:09 +00:00
simon lehericey
7963746ed7
fix: suggest multiple_drop_down options on the filter component 2024-10-16 18:09:52 +02:00
simon lehericey
4059bfdc11
fix: make filter works on multiple_drop_down_list 2024-10-16 18:09:51 +02:00
Colin Darie
5522efc3e5
Merge pull request #10954 from tchak/fix-dossier-merge-with-multiple-rows
ETQ usager, fix soumission d'un dossier en construction quand multiples lignes de champs répétables ont été modifiées
2024-10-16 15:00:26 +00:00
LeSim
6862f6c6bd
Merge pull request #10875 from demarches-simplifiees/add_id_to_column_third_part
Utilisation des colonnes dans l'affichage et le filtrage
2024-10-16 14:53:30 +00:00
Paul Chavard
c417614695
fix(dossier): fix apply_diff with multiple changed rows 2024-10-16 14:15:26 +02:00
Eric Leroy-Terquem
f7bd2fb68d
Merge pull request #10942 from demarches-simplifiees/fix-import-groupes-instructeurs
Correctif : ETQ admin je peux importer des groupes d'instructeurs
2024-10-15 19:57:50 +00:00
Mathieu Magnin
04bbf09097
Merge pull request #10939 from demarches-simplifiees/fix-10919
Correction bug champ carto
2024-10-15 18:13:13 +00:00
Eric Leroy-Terquem
ea27d3208f
feat(groupes management): add import component 2024-10-15 18:04:33 +02:00
simon lehericey
5621edcca8
remove unused filtered? method 2024-10-15 16:09:09 +02:00
simon lehericey
f850924dc0
remove procedure_presentation from export 2024-10-15 16:09:09 +02:00
simon lehericey
71bcbbc440
remove useless snapshot 2024-10-15 16:09:09 +02:00
simon lehericey
b5ed8c9b61
export cache_key based on column 2024-10-15 16:09:08 +02:00
simon lehericey
954d232a47
add filtered and sorted columns to export 2024-10-15 16:09:08 +02:00
simon lehericey
603c2a108e
remove useless Export.by_key procedure_presentation arg 2024-10-15 16:09:08 +02:00
simon lehericey
d1530b40a1
use the filter_service 2024-10-15 16:09:08 +02:00
simon lehericey
4d7715fbb6
extract filter and sort function to a filter_service 2024-10-15 16:09:08 +02:00
simon lehericey
16e93a217b
reset procedure_presentation if a pb occurs with a column deserialization 2024-10-15 16:09:07 +02:00
mfo
112d49cb51
tech(deadcode): remove unused constant on ProcedurePresentation 2024-10-15 16:09:07 +02:00
simon lehericey
e41326dad5
tech(clean): remove sva_columns(for_filters)
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-10-15 16:09:07 +02:00
simon lehericey
3677f3b2d3
tech(clean): remove Column classname: attribute
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-10-15 16:09:07 +02:00
simon lehericey
30fcb75da4
extract dossier_state_column 2024-10-15 16:09:07 +02:00
mfo
242ab78235
clean(deadcode): remove unused current_filters method 2024-10-15 16:09:07 +02:00
simon lehericey
14483270ba
default default_displayed_column 2024-10-15 16:09:06 +02:00
simon lehericey
0a54db6db5
remove human_to_filter 2024-10-15 16:09:06 +02:00
simon lehericey
b2754cd26c
move validations concern to filtered_column
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-10-15 16:09:06 +02:00
simon lehericey
6b5efbda07
remove now unused code 2024-10-15 16:09:06 +02:00
simon lehericey
14fe11b612
use displayed_columns ! 2024-10-15 16:09:06 +02:00
simon lehericey
7e4ca07df2
use filtered_column to filter !
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-10-15 16:09:05 +02:00