feat: add Proaktiv and KI Chat tabs to AI sidebar

This commit is contained in:
Agent Zero
2026-07-18 17:48:09 +02:00
parent df82796023
commit 7e53b747c7
5 changed files with 149 additions and 88 deletions
@@ -4,14 +4,11 @@ import { Sidebar } from './Sidebar';
import { TopBar } from './TopBar';
import { PluginToolbar } from './PluginToolbar';
import { AISidebar } from './AISidebar';
import { SuggestionSidebar } from '@/components/ai/SuggestionSidebar';
import { ToastContainer } from '@/components/ui/Toast';
import { useUIStore } from '@/store/uiStore';
import { useAIContext } from '@/hooks/useAIContext';
export function AppShell() {
const location = useLocation();
const { suggestionSidebarOpen, toggleSuggestionSidebar } = useUIStore();
// Track context for AI Proactive suggestions
useAIContext();
@@ -39,11 +36,6 @@ export function AppShell() {
</div>
{/* AI Sidebar — full height, right of TopBar and Toolbar */}
{showAISidebar && <AISidebar />}
{/* Suggestion Sidebar — overlays from right */}
<SuggestionSidebar
isOpen={suggestionSidebarOpen}
onClose={() => toggleSuggestionSidebar()}
/>
<ToastContainer />
</div>
);