demarches-normaliennes/app/components/editable_champ/repetition_row_component
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
..
repetition_row_component.en.yml a11y(bloc-repetable.repetition): supprime une repetition via un bouton et non un lien 2023-03-31 08:51:39 +02:00
repetition_row_component.fr.yml a11y(bloc-repetable.repetition): supprime une repetition via un bouton et non un lien 2023-03-31 08:51:39 +02:00
repetition_row_component.html.haml tech(refactor): much nicer code, thx LeSim 2023-04-20 08:22:02 +02:00