Commit graph

13 commits

Author SHA1 Message Date
Paul Chavard
900db5624f refactor(champs): if champ not found - build it 2024-03-17 23:51:45 +01:00
Paul Chavard
1193c866bf refactor(dossier): has_annotations? 2024-03-04 10:59:11 +01:00
Paul Chavard
1850d80b82 refactor(dossier): use new champs_for_revision method 2024-03-04 10:59:11 +01: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
Martin
ad77b9321b amelioration(formulaire-usager): groupes les champs suivant un titre de section dans une balise html de type <fieldset> de sorte a améliorer l'accessibilite de la plateforme 2023-04-20 08:22:02 +02:00
Martin
035da4403f chore(a11y): mutualise la gestion des <button> qui font des action POST/DESTROY dans un composant unique 2023-03-31 16:15:40 +02:00
Martin
8b6a7689fa a11y(bloc-repetable.repetition): ajoute une repetition via un bouton et non un lien 2023-03-31 08:51:39 +02:00
Martin
92d3f9c192 a11y(bloc-repetable.repetition): supprime une repetition via un bouton et non un lien 2023-03-31 08:51:39 +02:00
Paul Chavard
cbaa77fca7 feat(annotations): activate autosave 2023-03-14 15:22:13 +01:00
Colin Darie
c05cc4a42d fix(annotations-privees): auto counter was not properly enabled 2023-02-28 17:49:39 +01:00
Martin
ff9bb8a3cc correctif(annotations-privee): ajout du delete form component pour supprimer une annotation privee 2023-02-24 10:19:41 +01:00
Paul Chavard
d35ceb7214 fix(champs): finish EditableChampComponent refactor 2022-09-08 11:26:29 +02:00
Paul Chavard
e257a05150 feat(dossier): preview should save dossier 2022-05-24 17:02:05 +02:00