[2.x] revert(admin): remove collapsible extension categories, restore 3-section sidebar#4446
Merged
[2.x] revert(admin): remove collapsible extension categories, restore 3-section sidebar#4446
Conversation
…tion sidebar The collapsible category groups introduced in #4392 added too much friction — everything collapsed by default, count badges read like notification counts, and single-item categories (Infrastructure: 1, Analytics: 1) were pointless to collapse. Reverts AdminNav back to plain <h4> section headers with three sections (Features, Themes, Languages). All extensions with specific categories (moderation, discussion, formatting, etc.) fall back to Features via getCategorizedExtensions, which is the correct behaviour for a flat list. The extension health widget, abandoned package badges on individual extension items, and ExtensionLinkButton tooltip are all preserved. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
All 20 bundled extensions had their composer.json category changed from "feature" to specific values (moderation, formatting, discussion, etc.) in #4392 alongside the collapsible sidebar. Since the sidebar is being reverted to a 3-section model (feature/theme/language), restoring "feature" keeps the data consistent with the rendering logic. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Summary
Reverts the collapsible extension category sidebar introduced in #4392, replacing it with the previous 3-section flat list (Features, Themes, Languages).
The collapsible groups caused more problems than they solved:
27) read like unread notification counts, creating false urgencyWhat's kept from #4392
The rest of that PR is preserved:
!badges on individual extension sidebar itemsExtensionLinkButtontooltip showing title and versionExtensionManager::getInstalledPackageNames()andAdminPayloadabandoned override logicChanges
AdminNav.js: removedcollapsedstate,isCollapsed/toggleCollapsed/categoryIconmethods, restored plain<h4>category headersAdminApplication.tsx: revertedextensionCategoriesto{ feature: 30, theme: 20, language: 10 }AdminNav.less: reverted.ExtensionListTitleto simple muted uppercase heading, removed 5 new CSS classesExtensions with specific categories (moderation, discussion, formatting, etc.) fall back to the Features section via the existing
getCategorizedExtensionsfallback behaviour.