From 7d02105284db2e6ac59a55df895244a02ec4eb8f Mon Sep 17 00:00:00 2001 From: magdev Date: Mon, 26 Jan 2026 15:20:35 +0100 Subject: [PATCH] Update CLAUDE.md with v0.5.1 session history Co-Authored-By: Claude Opus 4.5 --- CLAUDE.md | 37 +++++++++++++++++++++++++++++++------ 1 file changed, 31 insertions(+), 6 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index bbebc70..424deab 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -32,18 +32,14 @@ This project is proudly **"vibe-coded"** using Claude.AI - the entire codebase w **Note for AI Assistants:** Clean this section after the specific features are done or new releases are made. Effective changes are tracked in `CHANGELOG.md`. Do not add completed versions here - document them in the Session History section at the end of this file. -### Known Bugs +### Version 0.5.2 -No known bugs at the moment. +*No planned bugfixes yet.* ### Version 0.6.0 *No planned features yet.* -### Version 0.5.1 - -*No planned bugfixes yet.* - ## Technical Stack - **Language:** PHP 8.3.x @@ -1268,3 +1264,32 @@ Major feature release enabling customers to purchase multiple licenses for diffe - Created release package: `releases/wc-licensed-product-0.5.0.zip` (863 KB) - SHA256: `446804948e5f99d705b548061d5b78180856984c58458640a910ada8f27f5316` - Tagged as `v0.5.0` and pushed to `main` branch + +### 2026-01-26 - Version 0.5.1 - Admin UI Fixes + +**Overview:** + +Bug fix release improving admin UI usability for version management and license overview. + +**Bug Fixes:** + +- Fixed: Product versions in admin now sort by version DESC when adding via AJAX +- Fixed: License actions in admin overview are now always visible (not just on hover) + +**Modified files:** + +- `assets/css/admin.css` - Added `!important` to `.licenses-table .row-actions` for permanent visibility +- `assets/js/versions.js` - Added `compareVersions()` function and sorted insertion for AJAX-added versions + +**Technical notes:** + +- Version sorting uses semantic version comparison (major.minor.patch) +- New versions are inserted in correct sorted position in the table instead of always appending +- CSS override uses `!important` to overcome WordPress default hover-only behavior for row actions +- `compareVersions()` function compares version strings numerically (1.10.0 > 1.9.0) + +**Release v0.5.1:** + +- Created release package: `releases/wc-licensed-product-0.5.1.zip` (863 KB) +- SHA256: `a489f0b8cfcd7d5d9b2021b7ff581b9f1a56468dfde87bbb06bb4555d11f7556` +- Tagged as `v0.5.1` and pushed to `main` branch