Release 3.0.1 - #33
Merged
Merged
Conversation
Built-in tabs registry now exports a resolveTabs() function that
applies the loggedin.admin.tabs JS filter on each call. AdminApp
invokes it inside useMemo so the lookup runs after addon bundles
have had a chance to addFilter — same deferred pattern as the
existing loggedin.settings.panels.
Addons supply { key, label, component, wide?, before?, after? };
matching keys replace built-ins, and before/after position the
new tab relative to an existing one.
Footer now pins the primary CTA (Buy Now / Get it / Manage License) on the left and the "More details" link on the right, inside an explicit Flex wrapper so the order doesn't depend on CardFooter's default justify. Title-cases the license button labels to match the 404 plugin's copy. The link is now a Button variant="link" labelled "More details" (was a plain <a> with "Learn more"), so its typography matches the sibling product.
Promo Notice at the bottom of the Force Logout PanelBody, routed through a new `loggedin.settings.force_logout.cross_sell` filter so the Active Sessions addon (or any future replacement) can return `null` to hide the banner once installed. The wrapper class `loggedin-cross-sell` shares its spacing rules with the 404 to 301 plugin's `d404-cross-sell` — same flat-title / no-trailing-margin treatment so the notice reads the same across our product family.
Add the 3.0.1 Changelog and Upgrade Notice blocks covering the loggedin.admin.tabs filter, the Force Logout cross-sell slot, the addon-card layout sync with 404 to 301, and the v2→v3 migration fix. Also surface the new Active Sessions addon at the top of the add-ons list.
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.
Cuts the 3.0.1 release. Maintenance + extensibility — no schema or
behaviour changes for existing installs beyond the migration fix.
What's in this release
Added
loggedin.admin.tabsJS filter — addons can register a Reactcomponent as a top-level tab in the Loggedin admin nav, with
before/afterpositioning hints and same-key replacement ofbuilt-ins. Powers the new Active Sessions
addon. (
ddcfb14)loggedin.settings.force_logout.cross_sellfilter — default bannerpromotes Active Sessions; the addon returns
nullto hide it onceinstalled. (
d9bec61)Improved
pinned to the left of the footer, More details link on the right,
title-cased license button labels. (
268181f)Fixed
leaving legacy option keys in place after the upgrade. (already on
dev pre-bump, included here for completeness.)
Housekeeping
WPINCguard comment. (afc4c7f)loggedin.php,class-plugin.php,package.json,and
readme.txt(Stable tag + Changelog + Upgrade Notice). (982e0b9,eb10f85)Verification
npm run buildcomposer phpcscomposer phpunitVersion pins all at
3.0.1:loggedin.phpVersion:headerreadme.txtStable tag:DuckDev\Loggedin\Plugin::VERSIONpackage.jsonDocs
Companion changes already merged on
docs/main:loggedin.admin.tabs,loggedin.settings.force_logout.cross_sellManage Sessionspage / URL toForce LogoutPost-merge
3.0.1on master.bin/pack.sh.3.0.1).