demarches-normaliennes/spec
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
..
components tech(refactor): much nicer code, thx LeSim 2023-04-20 08:22:02 +02:00
controllers feat(stats): give access to stats on closed procedures 2023-04-19 18:31:58 +02:00
factories amelioration(editeur-de-champs): permet de choisir un niveau de titre (de 1 à 3) pour les champs de type Champs::HeaderSectionChamp. Gère les erreurs dans le cas ou un administrateur supprimerait un HeaderSection qui casserait l'ordre des titre [ex: titre 1,2,3. et l'admin supprime le titre 1 et il reste que 2,3]. 2023-04-20 08:22:02 +02:00
fixtures chore(spec): remove memory store cache from tests 2023-04-13 13:10:23 +02:00
graphql fix(graphql): return empty arrays from loaders when loading collections 2023-04-18 15:20:43 +02:00
helpers fix(dossier): improuve dossier state display 2023-04-19 12:27:16 +02:00
jobs fix(dossier): normalize champs commune data 2023-04-07 16:02:13 +02:00
lib chore(rubocop): fix Rails/RootPathnameMethods and assimiled cops 2023-04-19 12:55:13 +02:00
mailers amelioration(dolist): ne log erreurs pas les erreurs dans sentry lorsque le contact chez dolist est injoingable ou hardbounce 2023-04-19 11:22:13 +02:00
middlewares specs: always require rails_helper 2020-03-31 12:48:32 +02:00
models tech(refactor): much nicer code, thx LeSim 2023-04-20 08:22:02 +02:00
policies refactor(dossier): champs -> champs_public 2022-11-10 22:44:39 +00:00
serializers normalize boolean values (#8320) 2023-01-05 11:18:27 +00:00
services chore(rubocop): fix Rails/I18nLocaleAssignment 2023-04-19 12:55:14 +02:00
support amelioration(bloc-repetable): wrap les blocs repetatable dans des fieldsets 2023-04-20 08:22:02 +02:00
system 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
views fix(dossier): improuve dossier state display 2023-04-19 12:27:16 +02:00
rails_helper.rb Add and correct tests 2023-03-01 10:21:22 +01:00
spec_helper.rb Chore(test): enable rspec only-failures support 2021-04-15 14:17:39 +02:00