3.4 KiB
3.4 KiB
Changelog
All notable changes to XShop follow Keep a Changelog and SemVer.
[1.0.0] – Unreleased
Added
- Phase 0: product spec, architecture, feature matrix, roadmap, UI spec, database model, security, performance, testing, compatibility docs + ADRs.
- M1 — Theme Foundation:
- Templates:
header.php,footer.php,index.php,front-page.php(section-based hero/category/product/promo/latest),single.php,page.php,archive.php,search.php,404.php,sidebar.php,comments.php(threaded, paginated, accessible). - Components:
template-parts/components/site-header.php,site-footer.php,breadcrumbs.php(Woo-aware, filterable),pagination.php(RTL-safe),search-form.php,post-card.php,empty-state.php,loading.php,section-heading.php,hero.php,promo-banner.php. - Design system: finalized
assets/css/tokens.css(full palette/typography/spacing/radius/shadow/z/transition + dark mode semantic swap),base.css,layout.css,components.css,utilities.css— logical properties, zeroleft/right. - JS:
assets/js/theme.jsextended with accessible mobile nav (aria-expanded, focus trap, Esc, click-outside) + dark-mode toggle. - PHP:
inc/helpers/template.php(xshop_has_woocommerce, xshop_is_woocommerce_page, branding fallback),inc/setup/body-classes.php,inc/setup/assets.php(layered enqueue + Woo style dequeue),inc/woocommerce/setup.php(wrappers). - Docs: updated
docs/ARCHITECTURE.md,docs/UI-SPEC.md,docs/TESTING.mdfor M1.
- Templates:
- M1.1 — Runtime QA:
- Local XAMPP WP 7.1 + WC 11.1.0 + PHP 8.2.12 — 29 tests all PASS, 2 bugs fixed (
.htaccess+ ZIP wrapper),docs/RUNTIME-QA.md+.gitignoreupdate,tools/build-release.ps1fix.
- Local XAMPP WP 7.1 + WC 11.1.0 + PHP 8.2.12 — 29 tests all PASS, 2 bugs fixed (
- M2 — WooCommerce Storefront Foundation:
assets/css/woo.css(shop toolbar, product grid 4/3/2/1, card badges/price/rating, single gallery/thumbs/tabs/related, cart responsive table, mini-cart, account 220|1fr, checkout col2-set — logical props, token-based, dark-mode via semantic tokens).- Components:
product-card.php(WC_Product sale%/outofstock/featured/no-image/long titles, hookxshop_product_card_after_actions),product-grid.php,product-gallery.php(keyboard Arrow/Home/End,is-active),mini-cart.php(count/items/subtotal/remove/empty). - Woo integration:
inc/woocommerce/setup.php(loop_start/endxshop-products, toolbar, remove gallery, related 4/4,product.jsconditional onis_product()),inc/setup/assets.php(woo.css global intentional, documented). - Templates:
woocommerce/content-product.php:3.6.0,archive-product.php:3.4.0,content-single-product.php:3.6.0,single-product.php:1.6.4(all minimal, versioned, hooks preserved). - JS:
assets/js/product.js(gallery thumbs, 40 lines, vanilla). - Data: variable product 24 with 3 real variations (S 120k instock 10 / M 150→130k outofstock / L 180k) — attribute
SizeS/M/L,data-product_variationsJSON,reset_variations. - Runtime: shop/category/empty, simple/sale/no-image/outofstock/variable, gallery, cart quantity/coupon/totals/empty, account, checkout, RTL/LTR, dark, mobile — 18 tests PASS, 2 bugs fixed (coming-soon +
global $product: Typeparse error),debug.logclean, ZIP rebuild + manual install PASS. - Docs:
ARCHITECTURE.md,UI-SPEC.md,TESTING.md,COMPATIBILITY.md,RUNTIME-QA.mdupdated.