release/1.5.1#180
Draft
d4mation wants to merge 18 commits into
Draft
Conversation
Owned-but-unactivated products now surface an Activate CTA next to the header badge, mirroring the per-tier Activate button so the action is reachable without expanding a tier row. Refs CONS-628
Partition the Feature Manager product list into two sections. Products with at least one installed plugin/theme feature render under "Installed Features" first; everything else renders under "Available Features". Within Available, owned-but-not-installed products (covered by the unified or a legacy license) sort above products the user does not own. Available cards suppress the header license badge. CONS-629
When a unified key owns multiple unactivated tiers for one product, the header Activate control becomes a dropdown listing each owned tier (highest first) so the user can choose which to activate, instead of silently targeting an arbitrary tier. Single-tier products keep the plain Activate link, and the chevron flips while the menu is open. - getUnactivatedLicenseProducts selector (plural, reuses the same predicate) - DropdownMenu UI primitive (radix, no-Portal like select.tsx) - Button forwards its ref so radix can anchor the menu to the trigger - Multi-tier and mixed-tier licensing fixtures Refs CONS-628
The Feature Manager shell used position:absolute with a fixed h-[calc(100vh-32px)], leaving an empty gray gap below the content when the WP admin menu was taller than the app. Dropping the fixed height lets the shell flow and the page scroll naturally.
Update the heading assertions from the removed "Your Features" to "Available Features", and add a dedicated spec covering the split: install state moving a product into Installed Features, owned-but-not- installed products sorting to the top of Available, and license-badge suppression on Available cards. Adds fixture install/uninstall endpoints that toggle a product's install state by writing a stub plugin file with a version header, and cleans those stubs up on reset. CONS-629
…g gap" This reverts commit 7db371d.
The skeleton showed each product's real logo and name in the hardcoded catalog order, so when the computed Installed/Available layout replaced it the named cards appeared to reorder. Render nameless placeholder headers and a generic heading placeholder instead, since install state and ownership are not known until the data resolves. CONS-629
…nto-installed-features-and-available Split product cards into Installed Features and Available Features
…he-unactivated-badge-in-the # Conflicts: # build-dev/index.asset.php # build-dev/index.css.map # build-dev/index.js # build-dev/index.js.map # build/index.asset.php # build/index.js # resources/js/components/organisms/ProductSection.tsx
…ide-the-unactivated-badge-in-the Add Activate link beside the Unactivated badge in the product header
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contains: