demarches-normaliennes/spec/models/concern
simon lehericey e64ac79f05 tech(refactor): much nicer code, thx LeSim
root -> rooted_tree

depth_cach -> walk

smal refactor

comment

remove form for header_section

remove seen_at from header section

header_section: champ -> header_section

champ_subree: remove if not

remove root_depth use header_section_level_value instead

remove unused include

remove ChampTreeComponent

rename ChampsSubtreeComponent to SectionComponent

use TreeableConcern only in section component

remove fields_for_champ_component

champs -> tail

add split_section_champ helper

refactor(editable_champ::header_section): keep same interface everywhere

fix(repetition): add spec for SectionComponent on repetitions
2023-04-20 08:22:02 +02:00
..
champ_conditional_concern_spec.rb refactor(conditional): extract in a ChampConditionalConcern with tests 2023-01-26 09:06:30 +01:00
dossier_prefillable_concern_spec.rb fetch etablissement when editing the dossier 2023-02-27 13:45:16 +01:00
dossier_rebase_concern_spec.rb feat(dossier): multiselect without react 2023-04-03 16:54:50 +02:00
dossier_sections_concern_spec.rb fix(dossier): don't auto-number header sections in repetitions 2023-03-09 16:15:56 +01:00
email_sanitizable_concern_spec.rb Fix some files according the the .editorconfig rules 2018-09-20 16:23:09 +02:00
mail_template_concern_spec.rb Fix apostrophes ‘ -> ’ 2021-05-26 18:05:14 +02:00
procedure_stats_concern_spec.rb fix(demarche): exclude preview and deleted dossiers from stats 2023-02-23 16:38:40 +01:00
rna_champ_association_fetchable_concern_spec.rb refacto: better error management 2023-02-27 14:35:11 +01:00
siret_champ_etablissement_fetchable_concern_spec.rb fix(champ): may fix pg deadlocks: autosave already saves value at the same time 2023-03-20 14:32:14 +01:00
tags_substitution_concern_spec.rb feat(dossier): optional repetition champ should not add first row 2023-02-06 11:53:32 +01:00
treeable_concern_spec.rb tech(refactor): much nicer code, thx LeSim 2023-04-20 08:22:02 +02:00