Skip to content

v0.3.1

Choose a tag to compare

@github-actions github-actions released this 10 May 20:29
· 19 commits to main since this release
  • Cascade placeholder unification. Every dropdown in the cascade now uses a consistent "Choose X" placeholder ("Choose Region", "Choose Municipality", "Choose Settlement") in both the static PHP-rendered first option AND the JS-driven post-cascade refresh. The previous wording (mix of "Select municipality…", "Select settlement…", "— pick a Municipality first —") is gone; the Settlement dropdown now reads "Choose Settlement" the moment a Municipality is picked, instead of being stuck on "— pick a Municipality first —" until the customer focuses it.
  • Bulletproof Select2 placeholder transition. Refactored enhanceWithSelect2() to be idempotent — destroys any pre-existing Select2 instance before re-initialising, and now accepts the placeholder text as an explicit argument (passed straight from fillSelect()) instead of inferring it from the first option's text. Eliminates a class of bugs where Select2's internal cache could keep showing the previous placeholder after the underlying option list was rewritten.
  • Region placeholder via WC locale. The standard WooCommerce Region (state) field now picks up a "Choose Region" placeholder via the GE locale — same wording family as Municipality + Settlement, no more theme-specific "Select an option…" leakage.
  • Dashboard restyle: minimalistic + brand-aligned. Adopted the codeon.ge token palette as scoped CSS variables on .codeon-dashboard — same blue (#2563eb), success/warning/danger soft tints, and radii/shadows as the storefront. Visible changes:
    • Welcome card now renders on a flat white surface (border + subtle shadow) instead of the deep-blue gradient. Heading slimmer, body copy in muted-grey for readability, status pill uses the brand --success-soft / --danger-soft tokens.
    • Stat tiles (regions / municipalities / settlements / field-modes) sit on --bg-soft with quiet --border-muted strokes; numbers are tabular-nums in --fg-strong instead of a heavy navy blue.
    • Ecosystem cards lose the hover lift and shadowy navy treatment — clean white on hover (--bg-soft), brand-soft tint when installed, brand-border accent. Badges use --success-soft / --brand-soft / --bg-muted for parity with the codeon.ge product-card chips.
    • Buttons: primary CTA flat brand colour (--brand) with focus ring; secondary CTA neutral white with hover tint to brand. No more gradient text-shadow.
    • Whole layout capped at 1180px so it stops sprawling on ultra-wide admin screens. Mobile breakpoint stacks the welcome head + the card CTA buttons full-width.