mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-26 03:21:41 +03:00
[PR #1850] [MERGED] feat: Add mixed navigation type with admin-configurable defaults #1608
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pelican-dev/panel/pull/1850
Author: @PalmarHealer
Created: 10/30/2025
Status: ✅ Merged
Merged: 10/31/2025
Merged by: @notAreYouScared
Base:
main← Head:palmarhealer/add-third-navbar-option📝 Commits (5)
96554e6Add support for mixed navigation type and default navigation configurationd2a64cbAdd spaces to top navigation customization in AppPanelProvider and PanelProvider, and remove unused import in EditProfile.93b0dd1set topbar properlyb0c8390satisfy pint4af82ffremove redundant option📊 Changes
7 files changed (+38 additions, -11 deletions)
View changed files
📝
app/Enums/CustomizationKey.php(+1 -1)📝
app/Filament/Admin/Pages/Settings.php(+9 -0)📝
app/Filament/Pages/Auth/EditProfile.php(+12 -6)📝
app/Providers/Filament/PanelProvider.php(+10 -2)📝
config/panel.php(+1 -0)📝
lang/en/admin/setting.php(+2 -0)📝
lang/en/profile.php(+3 -2)📄 Description
Adds a new "mixed" navigation type that combines sidebar navigation with topbar functionality (like it was before #1789), and allows admins to set the default navigation type for new users.
Changes
Navigation Types: Extends navigation options from boolean (sidebar/topbar) to three distinct types:
sidebar: Traditional sidebar navigation (default)topbar: Full top navigation layoutmixed: Sidebar navigation with topbar enabled (best of both worlds)Admin Configuration:
FILAMENT_DEFAULT_NAVIGATIONsetting in admin settings panelconfig/panel.phpasfilament.default-navigationUser Customization:
PanelProvider.phpto handle string-based navigation typesAppPanelProvider.phpto support mixed modetrue→topbar,false→sidebar)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.