Add Activate link beside the Unactivated badge in the product header#178
Open
d4mation wants to merge 9 commits into
Open
Add Activate link beside the Unactivated badge in the product header#178d4mation wants to merge 9 commits into
d4mation wants to merge 9 commits into
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
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.
pauloiankoski
previously approved these changes
Jul 14, 2026
estevao90
previously approved these changes
Jul 15, 2026
…g gap" This reverts commit 7db371d.
Collaborator
Author
|
@pauloiankoski @estevao90 Sorry, I ended up reverting that commit which removed a small gap at the bottom of the page. The drawbacks to that change weren't worth it and I think it would be better to investigate it separately anyway. |
estevao90
approved these changes
Jul 15, 2026
pauloiankoski
approved these changes
Jul 15, 2026
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.
🎫 https://linear.app/nexcess/issue/CONS-628/add-activate-link-beside-the-unactivated-badge-in-the-product-header
📹 https://www.loom.com/share/3538f5584bdc4ac39cd199378dbfea9e
📹 https://www.loom.com/share/fde8d573f033496190e539404c677f2e
Adds an "Activate" button next to the amber "Unactivated" badge in the sticky product header so owned-but-unactivated products expose the activation CTA without expanding a tier row. When a unified key covers more than one owned-but-unactivated tier for a product, the button becomes a dropdown listing each tier (highest first) so the user picks which to activate; single-tier products keep the plain link.
Figma: https://www.figma.com/design/Sjw9LaLeUU1up5qnMO9jqf/Admin?node-id=162-65 (node
162:3940)