Feat: Add collapsible shell
This commit is contained in:
@@ -9,6 +9,7 @@ import {
|
||||
Keyboard,
|
||||
LayoutGrid,
|
||||
LogOut,
|
||||
Plus,
|
||||
Repeat,
|
||||
Search,
|
||||
Settings,
|
||||
@@ -81,6 +82,12 @@ export type SidebarItem = {
|
||||
meta?: string;
|
||||
};
|
||||
|
||||
export type SidebarHeaderAction = {
|
||||
id: string;
|
||||
label: string;
|
||||
icon: ShellIcon;
|
||||
};
|
||||
|
||||
export type TopBarAction = {
|
||||
id: string;
|
||||
label: string;
|
||||
@@ -172,6 +179,12 @@ export const serverSidebarItems: readonly SidebarItem[] = [
|
||||
{ id: "settings", label: "Settings", icon: Settings },
|
||||
] as const;
|
||||
|
||||
export const workspaceSidebarHeaderActions: readonly SidebarHeaderAction[] = [
|
||||
{ id: "workspace-settings", label: "Workspace settings", icon: Settings },
|
||||
{ id: "search-workspace", label: "Search workspace", icon: Search },
|
||||
{ id: "create-board", label: "Create board", icon: Plus },
|
||||
] as const;
|
||||
|
||||
export const topBarActions: readonly TopBarAction[] = [
|
||||
{ id: "search", label: "Search", icon: Search },
|
||||
] as const;
|
||||
|
||||
Reference in New Issue
Block a user