You've already forked wc-licensed-product
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 <noreply@anthropic.com>
This commit is contained in:
37
CLAUDE.md
37
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
|
||||
|
||||
Reference in New Issue
Block a user