Snapshot synced v3.6.1 working state as baseline

Machine-sync snapshot: the working tree carried the full 3.0.0-3.6.1 arc
(licensing/FileManager/DatabaseExplorer removal, all new replacement screens
and REST controllers) that had not been committed on this machine. Captured
here as a safety baseline before starting the Adminify-parity revamp.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
NixReaper
2026-07-12 08:41:18 -05:00
co-authored by Claude Opus 4.8
parent 07d77bda57
commit e2db2ad4b5
88 changed files with 8944 additions and 2730 deletions
+11 -16
View File
@@ -11,6 +11,10 @@ const props = defineProps({
type: String,
default: '',
},
activeParentFile: {
type: String,
default: '',
},
logo: {
type: String,
default: '',
@@ -60,7 +64,13 @@ const isItemActive = (item) => {
const isSectionActive = (item) => {
if (isItemActive(item)) return true;
return (item.submenu || []).some((sub) => normalize(sub.url) === current.value);
if ((item.submenu || []).some((sub) => normalize(sub.url) === current.value)) return true;
// Covers native "hidden child" screens WP core itself doesn't list as a
// submenu link but still treats as belonging to this section for
// highlighting purposes (theme-install.php under Appearance, media-new.php
// under Media, user-new.php under Users, ...) — see Shell::print_mount()'s
// activeParentFile, sourced from WP core's own $parent_file global.
return !!props.activeParentFile && item.id === props.activeParentFile;
};
// Accordion: only one section's submenu open at a time — the WP-native
@@ -239,9 +249,6 @@ const filteredAuroraNav = computed(() => {
:class="{ 'sidebar__sublink--active': isAuroraActive(item) }"
>
{{ item.title }}
<span v-if="item.locked" class="sidebar__pro-badge" title="Pro feature">
<span class="dashicons dashicons-lock" />
</span>
</a>
</li>
</ul>
@@ -474,18 +481,6 @@ const filteredAuroraNav = computed(() => {
font-weight: 600;
}
.sidebar__pro-badge {
display: flex;
align-items: center;
color: var(--aurora-text-muted);
flex-shrink: 0;
}
.sidebar__pro-badge .dashicons {
font-size: 13px;
width: 13px;
height: 13px;
}
/* --- Aurora branded nav (right under the native menu's own divider) ---- */
.sidebar__aurora {
padding-bottom: 4px;