vanilla_respondage/variants
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tammo ter Hark 28f6b0f9c1 feat(variants): json definitions may list ALL option keys — empty value means inherit the mother default
- build.php: an option value of "" or null in the variant json is skipped, so
  it inherits the default from vanilla_respondage's config.xml (previously an
  empty value would have been written as-is). The legacy logotopmargin
  migration now also ignores an empty value, and the fontOptions default-font
  rule treats "font": "" as unset. Header comment documents the convention.
- Regenerated the three local variant definitions (variants/respondage_defensie,
  respondage_erasmus, respondage_respondage — gitignored) with all 109 option
  keys: known values filled in (legacy keys modernized: logotopmargin ->
  per-logo keys, brandlogo off -> brandlogofile off, hex chooser values ->
  mode "other" + *custom), everything else "". respondage_respondage's known
  values were derived from the tracked example output config.xml.
- README build process documents the all-keys/empty-inherits convention.

Verified in a /tmp sandbox: all three jsons build cleanly (4 built, 0 failed);
defensie/erasmus/respondage configs carry the known values and inherit the
mother defaults for empty keys (e.g. erasmus centerlogofile stays
./files/logo.png, centerlogotopmargin 30); php -l clean; export exit 0.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-30 12:47:35 +01:00
..
example/respondage_respondage chore(variants): row 239 — variant titles: Defensie/Erasmus/Respondage LimeSurvey theme 2026-11-30 12:30:50 +01:00
build.php feat(variants): json definitions may list ALL option keys — empty value means inherit the mother default 2026-11-30 12:47:35 +01:00
build_all.sh feat(variants): build_all.sh modes — build only new variants, --rebuild only existing ones 2026-11-30 12:38:05 +01:00
export_public.sh chore(files): sync files/preview.svg publicly (row 237) 2026-11-30 12:27:00 +01:00