Row 131: the navbarfontcolor dropdown entries now read exactly "Default font
color", "Default background color", "Color 1", "Color 2", "Color 3",
"Other ..." (config.xml options/optionlabels/dropdownoptions renamed from
"Same as default font color" / "Other…"). options.js appends each entry's
chosen hexcode in brackets — presets from their color option fields,
"Other ..." from the custom picker's value (navbarfontcolorcustom) — and the
entry marked data-default="1" stays bold via a real <b> (row 129) plus CSS.
Rendered list example: bold "Default font color [#444444]", "Default
background color [#ffffff]", "Color 1 [#5e1c64]", ..., "Other ... [#444444]".
OPTIONS_JS_TOKEN -> 20261126.10. Verified: render tc=603 (raw option texts
match the list), jsdom 6/6 incl. new pins (exact label texts, hex on
"Other ..." and "Default background color" entries, <b> only on default),
export exit 0. Variants not rebuilt (deferred).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Row 128 made the section headers ("Header", "Logos", "Default font",
"Default colors", "Progress bar") exactly h1-sized (2.5rem at desktop),
which turned out too big — row 130 fixes them at a flat 24px. The modal
title h2.modal-title stays excluded. No options.js change ->
OPTIONS_JS_TOKEN stays 20261126.9. Verified: render tc=588 (rule in served
HTML), jsdom 6/6 incl. updated pin (24px rule present, no stale calc/2.5rem
rule), export exit 0. Variants not rebuilt (deferred).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Row 126 marked the default choice with data-default="1" and bolded it via
CSS (select option[data-default="1"]), but not every browser applies
font-weight to <option> elements, so the entry could still render non-bold.
refreshLabels in options.js now wraps the default option's label (including
its live hex) in a real <b> element, on top of the CSS rule — bold in every
browser. Non-default options stay plain. OPTIONS_JS_TOKEN -> 20261126.9.
Verified: render tc=588 (served as options.js?v=20261126.9), jsdom 6/6 incl.
new pins (default option contains <b> with its label, color1 has no <b>),
export exit 0. Variants not rebuilt (deferred).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Row 128: the section headers this options page inserts inside the tab panes
("Header", "Logos", "Default font", "Default colors", "Progress bar")
were Bootstrap h2-sized. The inline <style> of options.twig now applies to
.tab-content h2:not(.modal-title) the exact same rule Bootstrap applies to
h1 — font-size: calc(1.375rem + 1.5vw), 2.5rem at >=1200px — so they render
just as big as the h1 page header at every viewport. The modal title
h2.modal-title is outside .tab-content and explicitly excluded. No options.js
change -> OPTIONS_JS_TOKEN stays 20261126.8. Verified: render tc=588, jsdom
6/6 incl. a new pin (calc rule + 2.5rem media rule present, modal-title
excluded); export exit 0. Variants not rebuilt (deferred).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Row 127: the .form-label elements ABOVE the option controls were rendering
at 14px — the same size as the option texts. The inline <style> of
options.twig now sets .action_update_options_string_form .form-label to
font-size: 16px. Labels NEXT TO checkboxes (.form-check-label) are
deliberately not covered by the rule. No options.js change, so
OPTIONS_JS_TOKEN stays 20261126.8. Verified: render tc=588 (rule present
in the served page), jsdom 6/6 incl. a new pin asserting the 16px rule
exists and that no rule sets 16px on .form-check-label; export exit 0.
Variants not rebuilt (deferred).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
The 5 named color choices were already in the requested order (row 125):
Default font color | Default background color | Color 1 | Color 2 | Color 3
('Other…' stays as the 6th dropdown entry that opens the custom picker).
New: the option's default choice is now visually marked. config.xml marks
the default <option data-default="1"> of every color-chooser dropdown
(navbarfontcolor + the five <el>textcolor dropdowns); options.twig's inline
<style> renders those options bold (select option[data-default="1"]) and
options.js adds .is-default (bold) to the matching swatch label, reading the
default from the DOM so any future chooser gets it automatically. For
navbarfontcolor the default is 'default' = 'Same as default font color'.
OPTIONS_JS_TOKEN -> 20261126.8. Verified: render tc=588 (dropdown order
default,defaultbackgroundcolor,color1,color2,color3,other with
data-default on 'default'; served as options.js?v=20261126.8), jsdom 6/6
incl. 4 new row-126 pins, export_public.sh exit 0. No view changes, live
survey unaffected. Variants not rebuilt (deferred).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- navbarfontcolor dropdown reordered to default|defaultbackgroundcolor|
color1|color2|color3|other (options attr, optionlabels, dropdownoptions),
and the swatch chips follow the same order (presets map key order in
options.js) — 'Default background color' is now the second choice.
- Label of navbarfontcolor changed to 'Menu item color in header' (child
navbarfontcolorcustom -> 'Custom menu item color ...').
- Per-option default mechanism made explicit: the config.xml <default> of a
color-chooser dropdown is that option's default choice (stored on theme
reset); navbarfontcolor keeps default 'default' = 'Same as default font
color'. The JS no-value fallback no longer hardcodes 'default' but falls
back to data-inheritvalue / the first non-inherit dropdown entry, so a
future chooser (e.g. questiontitlebackgroundcolor defaulting to color1)
can set its own default. custom_header.twig mapping unchanged.
- OPTIONS_JS_TOKEN -> 20261126.7. Verified: render tc=573 (dropdown order
default,defaultbackgroundcolor,color1,color2,color3,other; label; divs
balanced; served as options.js?v=20261126.7), jsdom 6/6 incl. new pins
(dropdown order + chip order, Default background color 2nd), live survey
282267 with stored mode 'default' renders navbar menu color = fontcolor
#444444, export_public.sh exit 0. Variants not rebuilt (deferred).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
New colorpicker option defaultbackgroundcolor (category Fonts, default
#ffffff), rendered as column 1 of the second row of the 'Default fonts and
colors' tab — that colors row is now 4 columns (col-md-3 each; the top row
stays 3 x col-md-4). The experimental color chooser (navbarfontcolor dropdown
+ swatch chips) gains this color as a 5th preset: dropdown option
'defaultbackgroundcolor', 5 swatch chips with live hex labels, presets map in
options.js extended, and custom_header.twig maps the mode to the option value.
OPTIONS_JS_TOKEN -> 20261126.6. Verified: render tc=558 (colors row =
defaultbackgroundcolor|primarycolor|secondarycolor|tertiarycolor in 4 col-md-3,
top row unchanged, divs balanced, dropdown has 6 options), jsdom suite 6/6
(5 chips pinned), live survey 282267 with mode defaultbackgroundcolor ->
#aabbcc (DB row restored), export 0. Variants not rebuilt (deferred).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Row 122 follow-up: the outline followed dropdown changes (delegated document
handler, native events bubble) but not swatch clicks — the click handler did
sel.val(mode).trigger('change'); refreshAll();, and when the synthetic change
chain throws on the real page, jQuery aborts the rest of the click handler, so
refreshAll() never ran. Now the click handler sets the value and refreshes
FIRST, then fires trigger('change') inside try/catch. OPTIONS_JS_TOKEN ->
20261126.5. jsdom regression test: a throwing change handler on the select + chip
click still moves the outline (plus the existing dropdown/other assertions).
Suite 6/6, export 0. Variants not rebuilt (deferred).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
The outline around the chosen swatch (.color-chip.active) only updated on page
load/save, not when the dropdown choice changed: the refresh was bound as a
direct change handler on the select, and on the real page an earlier direct
handler in the chain can throw, which aborts jQuery's dispatch so the refresh
never ran (native user events still bubble, synthetic triggers do not). Fixes:
the chip click handler now calls refreshAll() directly after triggering change,
and a delegated document-level change handler on select[name=navbarfontcolor]
acts as a backup that still fires for real user changes. OPTIONS_JS_TOKEN ->
20261126.4. jsdom test pins: outline moves on chip click and on dropdown
change, and no preset is outlined in mode 'other'. Suite 6/6, export 0.
Variants not rebuilt (deferred).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Owner request (row 121): the swatches were fine after the caching fix, but make
them double as high (1.6rem -> 3.2rem) and the hexcode label below each swatch
as large as the swatch — the label now spans the full swatch width (width:100%)
at font-size 1rem (was 0.65rem, easy to miss). Styles live in the inline
<style> block of options/options.twig (options-page-only UI). No options.js
change, token stays 20261126.3. jsdom test asserts the new sizes against the
rendered inline style; suite 6/6, export 0. Variants not rebuilt (deferred).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
The admin options page (themeOptions/update) does NOT load the theme's
css/plain.css — that file is registered for survey pages only — so the swatch
chip styles added there never applied on the options page: with the new JS
(hex label element) but old/absent CSS the swatches collapsed to tiny buttons
with the hex beside them. The chip/disable-mode styles are options-page-only
UI, so they now live in an inline <style> block in options/options.twig (always
rendered with the page, twig auto_reload — no asset cache involved) and were
removed from css/plain.css (sass source kept in sync). No options.js change, so
OPTIONS_JS_TOKEN stays 20261126.3. jsdom test now asserts gap:10px and the
column layout against the inline <style>; suite 6/6, export 0. Variants not
rebuilt (deferred).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Two fixes for the navbarfontcolor working example: (1) the hex value inside the
swatch chips was unreadable and obscured the color — chips are now plain color
swatches with the hex in a small label BELOW each swatch (.color-chip-label),
and the chips row uses gap: 10px so the swatches stand out. (2) The visible
color swatch input (navbarfontcolorcustom_picker) never re-enabled when
choosing 'Other…' from the dropdown: it lacked data-parent/selector_radio_childfield,
so updateChild/updateAllChildren never touched it and it stayed disabled
(server-side rendered disabled) — the text field was enabled but the swatch
the user actually clicks stayed grayed out. The swatch now gets the child
classes when parented, so it follows the mode like the text field (also fixes
the same latent bug for the per-element <el>textcolorcustom pickers).
OPTIONS_JS_TOKEN -> 20261126.3. jsdom test extended: swatch enabled in mode
'other'/disabled otherwise, hex below swatch, chip gap 10px asserted against
css/plain.css; suite 6/6, export 0. Variants intentionally not rebuilt.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
The new navbarfontcolorcustom picker fell into the generic 'rest' slot of the
Top-of-the-page layout, which opened a NEW col-md-4 — so the picker landed in
column 3 next to the sticky checkboxes and left the divs unbalanced. Map the
key to slot h2 so it stays in column 2 under the navbarfontcolor dropdown,
rendered col-12 (full column width); column 3 is the sticky block again and
the pane markup is balanced (89/89 divs). The swatch chips under the dropdown
were tiny inline squares — make the chips row full column width with taller
flex chips showing the hex value (options.js chip.text). OPTIONS_JS_TOKEN
bumped to 20261126.2 (options.js changed). Layout pinned by jsdom assertions
(picker in the same col-md-4 as the dropdown, wrapper col-12); suite 6/6,
export 0. Variants intentionally not rebuilt (owner: deferred).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
navbarfontcolor (Top of the page tab, column 2) changes from a plain
colorpicker to a dropdown: Same as default font color | Color 1 | Color 2 |
Color 3 | Other. The new navbarfontcolorcustom colorpicker stays visible but
grayed out (disabled + aria-disabled) unless 'Other' is chosen, and keeps its
value across saves (data-keep-value) so switching back to 'Other' restores the
last picked color. Dropdown option labels show the live hex of each preset and
clickable swatch chips select a preset; an effective-color swatch next to the
picker shows the color actually applied. A legacy stored hex is migrated to
mode 'other' + custom field (options.js) and accepted directly in
custom_header.twig, so nothing is lost before a theme reset. Views map
default->fontcolor, color1/2/3->primary/secondary/tertiarycolor,
other->navbarfontcolorcustom. headerbackgroundcolor/bodybackgroundcolor stay
plain colorpickers, default #ffffff. build.php maps a legacy hex
navbarfontcolor in variant jsons to other+custom for when variants are built.
Verified: jsdom suite 6/6 (new options_navbar_color_mode test: migration,
gray-out, keep-value on save, chips, swatches), live survey render for all 5
modes, export check exit 0.
NOTE (owner 2026-11-26): variant builds are intentionally DEFERRED — no
customer is waiting; the on-disk variant folders were left at their
pre-feature state and no variant theme was reset. Run
variants/build.php per variant only after the open prompts are done.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Hardening against the 2026-11-25 regression (unguarded JSON.parse of
#optionCssFiles="inherit" at global level killed the whole options.js:
no handlers bound, Save silently posted stale JSON). run() now executes
each startup step through safeStep() (try/catch + console.ls.error) and
ALWAYS calls bind(), so the save/change handlers exist even if a prepare
step fails. OPTIONS_JS_TOKEN bumped to 20261125.5.
Regression guard added in variants/tests/options_save_global.test.js
(local-only, gitignored): loads the page with optionCssFiles="inherit"
(the global-page condition) and asserts the save button has a click
handler, pickers have input+change handlers, a swatch color change
reaches the saved options JSON on Save, and the label layout (checkbox
box before label; d-block label above btn-groups). Verified the test
FAILS on the pre-fix options.js and PASSES on the fixed one; full suite
5/5.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
On the GLOBAL theme options page the hidden #optionCssFiles holds the
literal string "inherit" (not JSON). options.js did an unguarded
JSON.parse($('#optionCssFiles').val()) in the ThemeOptions constructor,
which threw and meant run() never executed: no change handlers and no
save handler were bound, so Save posted the stale options JSON and
nothing changed in the UI (e.g. colors on the Default fonts and colors
tab) was saved. Fall back to an empty file list on parse failure.
OPTIONS_JS_TOKEN bumped to 20261125.4.
Verified against the live page (themeOptions/update&id=497, where
optionCssFiles="inherit"): constructor no longer throws, picker
input/change handlers bind, and the save click writes the new color
into TemplateConfiguration[options]; real HTTP POST confirmed the
value lands in lime_template_configuration.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- checkboxes (incl. the 9 logo show-on boxes): back to classic .form-check
with the input BEFORE the label (label right of the box); label keeps id
lbl_simple_edit_options_<key> so JS/test anchors are unchanged
- all other option types: label gets d-block so it sits above the control
even next to an inline-flex btn-group (Simple options / Questions tabs)
- options.js: color swatch syncs on 'input' as well as 'change', so a color
picked in the native popup is already in the saved JSON when Save is
clicked (browsers fire 'change' only when the popup closes);
OPTIONS_JS_TOKEN bumped to 20261125.3
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
The Colors category tab is no longer rendered. Its only remaining options
(sliderhandlecolor, privacybackgroundcolor; the other Colors keys already
live in Top of the page) stay defined in config.xml and keep their stored
values, but are not rendered until they are placed on another tab.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
The label-rendering change is in the shared generic loop, so the Images
and Questions tabs were already covered; the only remaining label beside
its control was the upload row on Images (label in a left column next to
the button). It now renders as a full-width form-label above the Upload
button.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
On the custom options page (Simple options) the label now always renders
above the control. The checkbox exception (label right of the box via
form-check/form-check-label, incl. the 9 logo device checkboxes) is
removed; the generic form-label keeps the same id
(lbl_simple_edit_options_<key>) so JS/tests anchors are unchanged.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Delete the standalone {# Prompt X ... #} comment blocks (not meant for
normal users) and strip the prompt tags from the few comments that also
carry functional documentation (slot layout, HOIST TABS, parent
visibility, label placement, tab skipping). No markup change: rendered
options page is structurally identical (whitespace-only diff).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- 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>
The Top-of-page pane is now structured in sections with translatable
h2+p intros (gT): 'Header' (full width), then a 3-column row
(col 1 header background color, col 2 menu item text color, col 3
'Make header sticky' + 3 checkboxes), a full-width hr; 'Logos' intro +
the existing 3-column logo block + its hr; 'Progress bar' intro,
position in column 1 (cols 2-3 empty), then a new row with the three
progress bar colors, one per column, in the existing order.
Implemented via the slot mechanism (fSlot/fLastSlot) shared with the
Fonts pane; the old Prompt N single-column progress block is replaced.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Label-above stays the rule for every option type, with one exception:
checkboxes now render their label to the RIGHT of the box (classic
.form-check, label after the input, same lbl_ id so JS/tests keep
anchoring). Applies to the generic checkbox branch (headersticky*)
and the logo-block showon* checkboxes.
New experiment for explanatory text on the options pages: the
'Top of the page' pane starts with <h2>Header</h2> and a <p> explaining
what the header is, both wrapped in gT() so they are translatable.
(Owner's source typos fixed: distinguishable, you can choose.)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
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>
config.xml: Questions options reordered into the three pane columns
(col1 colors+help, col2 border + children, col3 checkbox color), all
width=12; new colorpicker questionhelpfontcolor (default #444444);
questionbordercolor/style/dropdown + 4 radii get parent="questionborder".
options.twig: Questions pane renders three col-md-4 columns (border-start
between), options stacked as col-12; aShowIfValues map carries the
multi-value show list (box|top) as data-show-if-value since core passes
only parent through; server-side initial d-none is multi-value aware
(Prompt Q logic extended); buttons/colorpicker children now also get
data-parent/selector_radio_childfield. options.js: updateVisibilityByParent
and updateChild are multi-value + checked-radio aware (single-value
behaviour unchanged); OPTIONS_JS_TOKEN bumped.
custom_header.twig: .question-help-container gets color from
questionhelpfontcolor.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
options.twig: the Images pane wraps its option row in a single
col-md-4 (columns 2-3 stay empty, like the Prompt M logo block but
single-column); the upload block below stays full width.
config.xml: the five background options are width=12 (consistent with
Prompt O), so each wrapper is full width of that column and the options
stack vertically. Prompt Q conditional visibility keeps working inside
the column.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
config.xml: Images background block reordered to backgroundimage,
bodybackgroundcolor, then the three image-detail children
(backgroundimagefixed/display/file, all parent="backgroundimage") —
the color stays directly below the Yes/No choice, the details only
matter when an image is shown.
options.twig: the .option-visibility wrapper now gets a server-side
d-none at render time when the parent buttons group's current value is
not the show-value, so the initial state matches the stored value even
before/without options.js; options.js updateVisibilityByParent() keeps
toggling on change (idempotent, verified by jsdom test).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
In the Top-of-page tab the four progress-bar keys (position + 3 colors)
render as a single col-md-4 column directly under the logo <hr>, with an
empty col-md-8 next to it; inside the column the options stack as col-12.
config.xml: progressbarposition choice order swapped to in|under so
'In header' is listed first (default value unchanged: under).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Prompt M: per logo position (left=brand, center, right) the options page now
shows one column with vertical separators and an <hr> below: file dropdown
with 'No logo' (off) first, top margin as plain number 0-100, and 'Show logo
on' with computer/tablet/mobile checkboxes. New option keys per position:
<pos>logofile, <pos>logotopmargin, <pos>showon{computer,tablet,mobile};
old keys (brandlogo/centerlogo/rightlogo, *logohideonsmall, shared
logotopmargin) removed from config.xml. Views map the checkboxes to
Bootstrap display classes per breakpoint and emit per-logo padding-top;
variants/build.php migrates the old json keys to the new ones.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
config.xml: the three headersticky* checkboxes lose parent="headersticky"
and get width=12 (stacked as a vertical list); the master key headersticky
stays in config.xml/DB for backward compatibility but is rendered as a
static label only (special case in options.twig — no input). Views:
custom_header.twig emits the per-breakpoint fixed-top media queries based
on the three checkboxes alone (master gate dropped; defaults on/on/off
when undefined); nav_bar.twig fallback now keys off headerstickycomputer
being defined. Migration note: an old row with headersticky=off no longer
disables sticky — only the checkboxes govern it.
Verified: CLI render row 270 — top-of-page pane shows the label + 3
checkboxes (col-md-12, no parent, checked on/on/off, no option-visibility);
survey 282267 renders media queries for computer+tablet but not mobile and
no hardcoded fixed-top; jsdom toggle/serialize + radio idempotency PASS;
run_all PASS; export green. Variants NOT rebuilt yet (config.xml batch —
rebuild+reset once after Prompt U per standing rule).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
When building the tab list, resolve each category's option keys first
(after excluding the top-of-page keys and ajaxmode) and only add the tab
when at least one option remains. The "Progress" category's only option
(progressbarposition) lives in the Top-of-page tab, so the empty
Progress tab and pane are no longer rendered. Generic: any future
emptied category disappears too. No config.xml change, no variant
rebuild, no theme reset. Verified via CLI render (row 270): no
category-progress tab/pane, 6 tabs remain, all 63 option wrappers
present, progressbarposition + the 3 progressbar colors render exactly
once, in the top-of-page pane.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
With optionspage=custom, core renders the custom options page inside a
single outer "Simple options" tab (#simple). A new inline script
(respondage-hoist-tabs, POS_END) moves our tab buttons into the outer
ul#theme-options-tabs, our panes into the outer .tab-content and the
spinner/inherit row above the tab bar, then drops the #simple wrapper and
the outer "Simple options" li; the first tab (Fonts) becomes the active
top-level tab and the debug "Advanced options" tab stays last.
Bootstrap 5 tabs use delegated click handlers, so moved buttons keep
working. No core changes, no config.xml change, no OPTIONS_JS_TOKEN bump
(options.js untouched). Verified via jsdom full-page fixture (global +
survey/inherit): flat tab bar, panes in outer tab-content, tab clicking
works, 63 option wrappers intact, radio groups still idempotent.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Remove the show/hide around the init prepare() call in options.js; the
spinner keeps its display:none default and is only shown during a real
upload (onBeforeSend/onSuccess in BindUpload). Bump OPTIONS_JS_TOKEN to
20261124.4 so browsers fetch the changed options.js once.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
The generic form-label is now rendered for every option type; the
checkbox branch no longer emits an inline form-check-label (only the
form-check wrapper around the input remains). Classes/id/name/for and
data-parent wiring are unchanged, so options.js keeps working.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Prompt V (prompts.md rows 51-54). Mother theme folder + <name> renamed to
vanilla_respondage (version 3.3.0); client variants renamed to
respondage_defensie / respondage_erasmus (<extends>vanilla_respondage</extends>,
auto-derived by build.php). export_public.sh now derives the release name from
the theme dir and the leak-check glob matches ../respondage_* siblings, so the
public-release leak check keeps working after the rename (sabotage-tested).
All doc/tooling references updated; local-only files stay gitignored.
Also includes the pending uncommitted theme work from this testing week
(custom options page, header logos, sticky-header options, bundled OFL fonts,
per-element font overrides, font-dropdown reordering, jsdom tests) that was
verified locally but not yet pushed.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- config.xml: brandlogo/brandlogofile = left logo; new centerlogo/centerlogofile
and rightlogo/rightlogofile options; old secondlogo/secondlogofile removed.
- nav_bar.twig renders the three positions: left in flow, center absolutely
centered, right flush right (ms-auto on the logo, menu keeps ms-auto when no
right logo). Logos render only when the file resolves (imageSrc guard).
- sass/plain.sass: flex/relative container + absolute centering for .logo-center.
- options/options.twig: removed dead secondlogo variables.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
All text files in the theme (config.xml, sass, css, js, twig, md) used mixed
CRLF/LF. Normalize everything to LF (Unix), matching the LimeSurvey core
themes. .gitattributes (* text=auto eol=lf, binary images/fonts) keeps it
that way; config.xml documents the convention in its header comment.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>