mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
User menu and search in sidebar when topbar is disabled (#17048)
* Added user menu to sidebar * Toggle sidebar * Improved user menu collapsed styling * Improved collapse behavior * Restored missing alias * Add global search if no topbar * Improved collapse, added search to sidebar * Styling * Collapse * Adding notification trigger to sidebar * Use h-dvh * cs & build * start cleaning up * remove new lang string * move tenant menu and global search outside of fi-sidebar-nav * notifications refactor * clean up user menu * clean up new collapse sidebar button * clean up * Update topbar.blade.php * Update sidebar.blade.php * docs * final fixes * fix alignment and button visibility issues * Update theme.css * fix collapse button alignment --------- Co-authored-by: Dan Harrin <git@danharrin.com>
This commit is contained in:
co-authored by
Dan Harrin
parent
c95d25c784
commit
e8f47efa46
@@ -211,6 +211,7 @@ Using class `Filament\View\PanelsIconAlias`
|
||||
- `PanelsIconAlias::SIDEBAR_EXPAND_BUTTON` - Button to expand the sidebar
|
||||
- `PanelsIconAlias::SIDEBAR_EXPAND_BUTTON_RTL` - Button to expand the sidebar (right-to-left direction)
|
||||
- `PanelsIconAlias::SIDEBAR_GROUP_COLLAPSE_BUTTON` - Collapse button for a sidebar group
|
||||
- `PanelsIconAlias::SIDEBAR_OPEN_DATABASE_NOTIFICATIONS_BUTTON` - Button to open the database notifications modal
|
||||
- `PanelsIconAlias::TENANT_MENU_BILLING_BUTTON` - Billing button in the tenant menu
|
||||
- `PanelsIconAlias::TENANT_MENU_PROFILE_BUTTON` - Profile button in the tenant menu
|
||||
- `PanelsIconAlias::TENANT_MENU_REGISTRATION_BUTTON` - Registration button in the tenant menu
|
||||
@@ -224,6 +225,7 @@ Using class `Filament\View\PanelsIconAlias`
|
||||
- `PanelsIconAlias::TOPBAR_OPEN_DATABASE_NOTIFICATIONS_BUTTON` - Button to open the database notifications modal
|
||||
- `PanelsIconAlias::USER_MENU_PROFILE_ITEM` - Profile item in the user menu
|
||||
- `PanelsIconAlias::USER_MENU_LOGOUT_BUTTON` - Button in the user menu to log out
|
||||
- `PanelsIconAlias::USER_MENU_TOGGLE_BUTTON` - Button to toggle the user menu
|
||||
- `PanelsIconAlias::WIDGETS_ACCOUNT_LOGOUT_BUTTON` - Button in the account widget to log out
|
||||
- `PanelsIconAlias::WIDGETS_FILAMENT_INFO_OPEN_DOCUMENTATION_BUTTON` - Button to open the documentation from the Filament info widget
|
||||
- `PanelsIconAlias::WIDGETS_FILAMENT_INFO_OPEN_GITHUB_BUTTON` - Button to open GitHub from the Filament info widget
|
||||
|
||||
@@ -108,6 +108,7 @@ use Filament\View\PanelsRenderHook;
|
||||
- `PanelsRenderHook::SIMPLE_PAGE_END` - End of the simple page content container, also [can be scoped](#scoping-render-hooks) to the page class
|
||||
- `PanelsRenderHook::SIMPLE_PAGE_START` - Start of the simple page content container, also [can be scoped](#scoping-render-hooks) to the page class
|
||||
- `PanelsRenderHook::SIDEBAR_FOOTER` - Pinned to the bottom of the sidebar, below the content
|
||||
- `PanelsRenderHook::SIDEBAR_START` - Start of the sidebar container
|
||||
- `PanelsRenderHook::STYLES_AFTER` - After styles are defined
|
||||
- `PanelsRenderHook::STYLES_BEFORE` - Before styles are defined
|
||||
- `PanelsRenderHook::TENANT_MENU_AFTER` - After the [tenant menu](../users/tenancy#customizing-the-tenant-menu)
|
||||
|
||||
Reference in New Issue
Block a user