Commit graph vanilla_respondage/variants/example/respondage_respondage/config.xml
Author SHA1 Message Date
aae3112981 feat(options): new Buttons tab after Questions with per-button color choosers (row 178 plan P6)
- config.xml: new 'Buttons' category directly after Questions — buttonsfont
  (full width) + 12 per-button options (Previous/Next/Submit x background+
  text, 6-way mode dropdown + custom picker, width 4); old global
  buttonstextcolor(+custom) removed (row-178 decision 7)
- options.twig: Buttons pane = h2+intro, full-width font row, one row of three
  col-md-4 columns (Previous/Next/Submit, border-start dividers); 6 new keys
  in aColorChooserKeys; OPTIONS_JS_TOKEN 20261129.4
- options.js + build.php: chooser key lists synced (+6)
- navigator.twig: respondage-btn-prev/-next/-submit classes, old global text
  color inline style removed; custom_header.twig: cmbg() macro (mode 'default'
  = no override) + per-button bg/text rules with decision-7 defaults
  (Next/Submit bg=Color 1 + text #ffffff, Previous bg=#ffffff + default font
  color)

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 15:48:26 +01:00
af3b408768 feat(options): Questions tab 'Question border' section with 3 subcolumns and radius rows (row 178 plan P5)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 15:26:36 +01:00
101c3135ea feat(config): universal default colors — Color 1 #26547c, Color 2 #ef476f, Color 3 #ffd166
primarycolor/secondarycolor/tertiarycolor defaults in the mother config.xml
(variants keep their own house-style colors via their jsons; variants without
an explicit value inherit these). Variants rebuilt, example config synced.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 15:20:01 +01:00
ff998489b9 feat(options): Questions tab 'Question help' section; help background becomes a 6-way color chooser (row 178 plan P4)
New section (h3 + first col-md-4 of a 3-column grid, only it used):
questionhelpbackgroundcolor as 6-way chooser (default 'other' + custom
#fff3cd, look unchanged) + questionhelpbackgroundcolorcustom, the plain
help font color picker (stays plain per row-178 decision 8) and the help
text position; keys moved between the answers block and the border options,
legacy col 1 is empty now. questionhelpbackgroundcolor joined
aColorChooserKeys (twig + js, OPTIONS_JS_TOKEN 20261129.3) and the
build.php chooser migration; custom_header.twig resolves it via cm()
(legacy hex passes through). Variants rebuilt, example config synced.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 15:17:56 +01:00
e061f7c0f3 feat(options): Questions tab 'Answer options and subquestions' section; answerstextcolor becomes a 6-way color chooser (row 178 plan P3)
New section in the Questions pane (h3 + first col-md-4 of a 3-column grid,
only it used): answersfont + answerstextcolor + answerstextcolorcustom,
moved up in config.xml between the title block and the help options,
width 12 -> 4. answerstextcolor upgraded to the chooser scheme
(default|defaultbackgroundcolor|color1|color2|color3|other, default stays
'default'), added to aColorChooserKeys in options.twig/options.js
(OPTIONS_JS_TOKEN 20261129.2) and to the build.php chooser migration.
Views (answers, survey_question_help, valid_message_and_help): 6-way
mapping with legacy primary/secondary + raw hex passthrough.
All 3 variants rebuilt, example config synced.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 15:08:49 +01:00
1085c5d132 fix(options): 'Overall question' section is a 3-column grid, only the first column used (col-md-4)
Row 183: aQSections 'overall' colClass col-md-6 -> col-md-4; per the row-160
rule the two distance options' config.xml width follows: 6 -> 4.
Variants rebuilt, example config synced. Theme was reset by the owner meanwhile
(new global tc row = 693, survey 282267 = 694).

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 15:02:46 +01:00
14eb1c2a99 feat(options): Questions tab 'Question title and body' section with 6-way color choosers (row 178 plan P2)
config.xml: new section keys questiontitlefont/textcolor(+custom)/fontsize/
fontoptions + legacy fontcolor (col 1), questiontitlebackgroundcolor(+custom)
(col 2), questionbackgroundcolor(+custom) (col 3); old width-12 Prompt-U keys
and plain colorpickers replaced; questiontitlefontweight -> questiontitlefontoptions.
options.twig: title section slots (were prepared in P1), 3 keys join
aColorChooserKeys, OPTIONS_JS_TOKEN 20261129.1. options.js: same 3 keys in its
aColorChooserKeys. Views: choosers resolved via cm() (chooser wins; legacy hex
and primary/secondary modes pass through; legacy picker used when the mode key
is absent); fontoptions mapped to weight/style with legacy fontweight fallback.
build.php: chooser migration list + questiontitle fontweight migration.
All 3 variants rebuilt (defensie legacy hex -> other+custom), example config synced.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 14:45:57 +01:00
c4ec304dd0 feat(options): Questions tab starts with 'Overall question' section + 2 distance options (plan P1)
Questions pane now has h2 'Questions' + intro paragraph, then an h3
'Overall question' section rendered as ONE col-md-6 column holding two new
text options — questiondistance ('Distance between two questions') and
questiondistancebottom ('Distance between last question and buttons at
bottom of page'), both default 30px and accepting px or rem — followed by a
full-width hr before the existing 3-column grid. custom_header.twig applies
them as CSS: .question-container margin-bottom and #navigator-container
margin-top, guarded to ^<number>(px|rem)$ with fallback 30px. config.xml:
both keys first in the Questions category, width=6 (row 160 rule). All
variants rebuilt + example config synced. jsdom: new row-179 assertions,
suite 8/8; live survey page emits both rules at 30px.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 14:27:52 +01:00
44cef7d530 refactor(options): 'Default fonts and colors' tab becomes 'Default font and colors' in one three-column row
Tab title and pane heading now 'Default font and colors' (description
unchanged); the pane is a single row with three col-md-4 columns:
col 1 = Default font (body text), Base font size (body text), Default font
color (body text); col 2 = Default background color; col 3 = Color 1
(primary), Color 2, Color 3. The old hr + 'Default colors' section between
the two rows is removed. config.xml mirrors this per the row 160 rule:
category renamed to the tab label, option order within the category = the
pane render order (fontsize moved before fontcolor), all seven options
width=4. Tab id stays 'category-fonts' so stored tab preferences survive.
All variants rebuilt (defensie/erasmus from the private defs,
respondage_respondage from /tmp/example_defs) and the tracked example
config synced from the built theme dir (it was stale from the deferred
rebuilds). options.js untouched, no OPTIONS_JS_TOKEN bump.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 11:56:04 +01:00
089ddc5642 feat(options): Default fonts and colors tab with Default font/colors sections (Prompt Y)
- Tab renamed to "Default fonts and colors" with full-width h2+p intro
  ("Default font"), 3-col row font/fontcolor/fontsize, hr, "Default colors"
  h2+p, 3-col row primarycolor ("Color 1 (primary)")/secondarycolor/new
  tertiarycolor ("Color 3", #dddddd)
- headerfont moved to Top of page Header section col 2 above navbarfontcolor;
  progressbarfont to Progress bar first row col 3 (col 2 stays empty)
- headertextcolor(+custom)/progressbartextcolor(+custom) removed from
  config.xml (covered by navbarfontcolor/progressbarfontcolor; views fall
  back to fontcolor via |default)
- 21 per-element font/color/size options moved Fonts -> Questions, rendered
  full width below the 3 question columns
- variants rebuilt (defensie/erasmus/respondage); example variant config
  synced

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-25 14:23:24 +01:00
9716aac4ee feat(options): Fonts tab becomes 'Fonts and colors' with per-element font+color combos (Prompt U)
Tab 'Fonts' is renamed to 'Fonts and colors' and gets a dedicated layout:
top row (col 1: font, fontcolor, fontsize; col 2: primarycolor +
new secondarycolor; col 3 empty), an hr, then one combo row per element
(header, progressbar, questiontitle, answers, grouptitle,
groupdescription, buttons) with col 1 = existing <el>font fontselect,
col 2 = new <el>textcolor dropdown (default|primary|secondary|other),
col 3 = new <el>textcolorcustom colorpicker, visible only when mode is
'other' (parent show-value via aShowIfValues, server-side initial d-none,
options.js updateVisibilityByParent/updateChild now handle select parents,
multi-value aware; font's self-parent removed from config.xml).
config.xml: fontcolor/primarycolor moved from Colors to Fonts (retitled
'Default font color (body text)' / 'Primary color'), secondarycolor added
(default #888888), 14 per-element color keys added with dropdownoptions.
Views emit the per-element color as inline style (default->fontcolor,
primary->primarycolor, secondary->secondarycolor, other->custom picker).
Colors tab now only holds sliderhandlecolor + privacybackgroundcolor
(final Colors layout = Prompt T, still open).
Variants rebuilt (defensie, erasmus, example respondage_respondage) —
no unknown-key failures; theme reset in LS-admin still owner action.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-25 11:51:57 +01:00
d61deb0ab1 feat(variants): public example variant respondage_respondage under variants/example/
Adds variants/example/respondage_respondage/ — the generated output of
variants/build.php (config.xml with name/extends + overridden options,
empty footer override, example logo/preview) as a tracked, public example
of the build result. .gitignore explicitly keeps only the confidential
variants/ parts local (*.json, leak-patterns.txt, tests/); the example is
NOT ignored. export_public.sh skips respondage_respondage when deriving
leak patterns from sibling respondage_* folders (it is the public example,
not a client), so the leak check stays green with the example included.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-24 22:52:24 +01:00