Commit graph

4128 commits

Author SHA1 Message Date
Colin Darie
594fc517d1
Merge pull request #10943 from colinux/feat-admin-prefill-service
ETQ admin mes informations de nouveau service sont pré-remplies à partir d'API publiques
2024-11-05 09:54:53 +00:00
Paul Chavard
d1565a67a0
Merge pull request #11011 from demarches-simplifiees/US/extract-pj-column
ETQ tech, je peux acceder aux pj via les columns
2024-11-05 09:39:25 +00:00
Colin Darie
4e80f16b9f
Merge pull request #10974 from demarches-simplifiees/remove_empty_brouillon
Tech: ajoute un scope pour détecter les brouillons vides
2024-11-05 09:32:16 +00:00
Eric Leroy-Terquem
ddb238ccd0
Merge pull request #11007 from demarches-simplifiees/can-condition-on-pays-champ
ETQ admin je peux conditionner / router depuis un champ pays
2024-11-05 09:26:20 +00:00
mfo
9d13ebb3ff
feat(pj): add specialized column for attachments 2024-11-05 10:09:59 +01:00
LeSim
4f0713a764
Merge pull request #11005 from demarches-simplifiees/work_on_json_path_column
ETQ Instructeur, je peux voir et filtrer sur les données retournées par API
2024-11-05 08:46:44 +00:00
simon lehericey
c364be12f1
rework ChampColumn.value 2024-11-05 09:38:29 +01:00
simon lehericey
ea57a97c06
introduce tdc_type 2024-11-05 09:38:27 +01:00
simon lehericey
52aaff5ffc
breaking: simplify linked_drop_down_column column_id 2024-11-05 09:38:27 +01:00
simon lehericey
74e6834ce2
use path instead of value_column in linked_drop_down 2024-11-05 09:38:27 +01:00
simon lehericey
de8cad888e
LinkedDropDownColumn is also a ChampColumn by the way 2024-11-05 09:38:26 +01:00
simon lehericey
9d6304e7d4
TitreIdentite is a ChampColumn 2024-11-05 09:38:26 +01:00
simon lehericey
a4617abb0e
rework JSONPathColumn to be a ChampColumn 2024-11-05 09:38:26 +01:00
simon lehericey
d03d5d0dae
add ChampColumn 2024-11-05 09:38:26 +01:00
Lisa Durand
dcf56616c3
rename ProcedureLabel by Label part 2 2024-11-04 16:48:47 +01:00
Lisa Durand
468c159b52
handle label color translation and class name 2024-11-04 16:48:47 +01:00
Lisa Durand
507ea70398
improve color selection for Admin and improve generic label lists 2024-11-04 16:48:47 +01:00
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
e723c9e365
create generic label for procedure in controller instead of using a hook 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
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
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
8dc47c1b93
feat(service): prefill contact information from annuaire service public 2024-11-04 12:48:13 +01: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
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
c8332b5e22
column: add more identifier 2024-10-31 10:54:28 +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