Commit graph

3 commits

Author SHA1 Message Date
Martin
180c659a84 correctif(sections.numerotation-automatique): ETQ administrateur, je souhaite que la numerotation automatique des titres de section fonctionne meme quand si deux titres de sections se succèdent 2023-05-09 14:23:53 +02:00
Martin
bbd565edee correctif(ui): les balises <select> avec un balise <option> à rallonge prenent la largueur du contenu de l'option
Update app/components/editable_champ/drop_down_list_component.rb

Co-authored-by: Colin Darie <colin@darie.eu>
2023-04-27 10:05:07 +02:00
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