Skip to content

release/1.5.1#180

Draft
d4mation wants to merge 18 commits into
mainfrom
release/1.5.1
Draft

release/1.5.1#180
d4mation wants to merge 18 commits into
mainfrom
release/1.5.1

Conversation

@d4mation

Copy link
Copy Markdown
Collaborator

d4mation and others added 18 commits July 14, 2026 13:36
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
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant