vanilla_respondage/options
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tammo ter Hark 1b6ae85f83 feat(options): return to the options tab you were on after Save
Row 133: after changing an option on a non-first tab and saving, the page
reloaded on the first tab. The active tab button id is now stored in
sessionStorage on every tab click (keyed per options-page URL: pathname +
sid/gsid scope, so global and per-survey pages don't clash and volatile
redirect params cannot change the key), and on page load the stored tab is
re-activated by class toggling (nav-link active/aria-selected + pane
active/show) — no Bootstrap API needed. OPTIONS_JS_TOKEN -> 20261126.12.
Verified: render tc=618 (served options.js?v=20261126.12), jsdom 6/6 incl.
new pins (tab click stores the id; a fresh load with the id pre-seeded
activates the stored tab and pane, first tab inactive), export exit 0.
Variants not rebuilt (deferred).

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-26 18:45:16 +01:00
..
options.js feat(options): return to the options tab you were on after Save 2026-11-26 18:45:16 +01:00
options.twig feat(options): return to the options tab you were on after Save 2026-11-26 18:45:16 +01:00