Skip to content

v0.3.5

Choose a tag to compare

@github-actions github-actions released this 10 May 21:27
· 15 commits to main since this release
  • Fully self-contained Tbilisi-tab reveal logic — no FOUC, no framework dependency. v0.3.4 patched the framework's own inputValue(), but on stores with multiple CodeOn plugins co-installed, WordPress only registers the codeon-framework-admin script handle ONCE — whichever plugin loads first wins. If a co-installed plugin still ships the stale (broken) framework JS, codeon-core's patched copy is never loaded. v0.3.5 sidesteps the problem entirely:
    • Inline <style> at the top of the tab pre-hides our conditional rows so they never render visible (eliminates the visible→hidden flicker the user reported).
    • Inline <script> immediately after the rows snapshots them, strips the data-codeon-show* attributes so the framework's automatic logic ignores them, and runs our own scoped reveal logic.
    • Synchronous first-pass during HTML parsing — runs before any DOMContentLoaded handler (framework's or otherwise) can fire — so the correct visibility is set from the very first paint.
    • Live updates as the merchant ticks the master toggle / changes the Coverage radio.
  • Verified end-to-end via simulated DOM traces of all three state transitions (master OFF / master ON+only / master ON+plus_areas) before tagging.