Skip to content

Commit acb51c9

Browse files
committed
feat: Add Playbooks menu item to AppSidebar
- Add playbooks menu item with Wand2 icon in account section - Integrated with existing navigation system and tab handling - Available after access code verification like other protected tabs
1 parent 14c13b9 commit acb51c9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/components/AppSidebar.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,17 @@ export function AppSidebar({ activeTab, setActiveTab, hasAccess = false, ...prop
343343
<span>{t('sidebar.team')}</span>
344344
</SidebarMenuButton>
345345
</SidebarMenuItem>
346+
<SidebarMenuItem className={getLockedStyles('playbooks')}>
347+
<SidebarMenuButton
348+
isActive={activeTab === 'playbooks'}
349+
onClick={() => handleTabClick('playbooks')}
350+
tooltip={t('sidebar.playbooks') || 'AI Playbooks'}
351+
className={menuButtonClass}
352+
>
353+
<Wand2 />
354+
<span>{t('sidebar.playbooks') || 'Playbooks'}</span>
355+
</SidebarMenuButton>
356+
</SidebarMenuItem>
346357
<SidebarMenuItem className={getLockedStyles('integrations')}>
347358
<SidebarMenuButton
348359
isActive={activeTab === 'integrations'}

0 commit comments

Comments
 (0)