From d0c07564122f37968dd4e68db0d30429f4a11f61 Mon Sep 17 00:00:00 2001 From: magdev Date: Thu, 22 Jan 2026 00:26:46 +0100 Subject: [PATCH] Update CLAUDE.md with v0.0.11 session history Corrected session history to reflect actual v0.0.11 release: - Created date column added to license overview - Removed references to AnalyticsController (was deleted due to issues) - Added release package details and SHA256 checksum Co-Authored-By: Claude Opus 4.5 --- CLAUDE.md | 37 ++++++++++++++----------------------- 1 file changed, 14 insertions(+), 23 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 0cee627..d8df938 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -594,35 +594,26 @@ Full API documentation available in `openapi.json` (OpenAPI 3.1 specification). - SHA256: `3f4a093f6d4d02389082c3a88c00542f477ab3ad4d4a0c65079e524ef0739620` - Tagged as `v0.0.10` and pushed to `main` branch -### 2026-01-21 - Version 0.0.11 Features +### 2026-01-22 - Version 0.0.11 Features **Implemented:** -- Created date column added to admin license overview -- License Statistics page under WooCommerce menu (WooCommerce > License Statistics) -- REST API endpoints for analytics data with time-series support -- WooCommerce Analytics integration via submenu page - -**New files:** - -- `src/Admin/AnalyticsController.php` - WooCommerce Analytics integration -- `templates/admin/statistics.html.twig` - Statistics page template - -**New REST API endpoints:** - -- `GET /wp-json/wc-licensed-product/v1/analytics/stats` - License statistics with time-series data (supports day/week/month/quarter/year intervals) -- `GET /wp-json/wc-licensed-product/v1/analytics/products` - License counts by product +- Created date column added to admin license overview showing when each license was generated **Modified files:** -- `templates/admin/licenses.html.twig` - Added "Created" column -- `src/Admin/AdminController.php` - Added "Created" column to fallback rendering -- `src/Plugin.php` - Added AnalyticsController initialization and `getInstance()` alias +- `templates/admin/licenses.html.twig` - Added "Created" column to table header and data cells +- `src/Admin/AdminController.php` - Added "Created" column to PHP fallback rendering +- `src/Plugin.php` - Added `getInstance()` alias for singleton access **Technical notes:** -- Statistics page accessible via WooCommerce > License Statistics submenu -- REST API endpoints support date range filtering (`after`, `before` parameters) -- Time-series data aggregation supports multiple intervals (day, week, month, quarter, year) -- AnalyticsController registers REST routes and renders statistics page -- Page uses existing dashboard CSS styles for consistent appearance +- New column displays license creation date in Y-m-d format +- Both Twig template and PHP fallback updated for consistency +- WooCommerce Analytics integration was attempted but removed due to WordPress permission issues with submenu pages + +**Release v0.0.11:** + +- Created release package: `releases/wc-licensed-product-0.0.11.zip` (473 KB) +- SHA256: `c3f66c4ac54741053f87ce1a63b4ddb49ad9707d5c194a271311bb95518ab13c` +- Tagged as `v0.0.11` and pushed to `main` branch