feat: ai chat added, login flow still broken

This commit is contained in:
2026-02-11 18:00:37 +01:00
parent 258e313f0e
commit 870bec4dcd
21 changed files with 3174 additions and 25 deletions

View File

@@ -5,7 +5,7 @@ import { persist } from 'zustand/middleware';
const STORAGE_KEY = 'bds-app-state';
// Tab types
export type TabType = 'post' | 'media' | 'settings' | 'tags';
export type TabType = 'post' | 'media' | 'settings' | 'tags' | 'chat';
export interface Tab {
type: TabType;
@@ -88,7 +88,7 @@ interface AppState {
activeTabId: string | null;
// UI State
activeView: 'posts' | 'media' | 'settings' | 'tags';
activeView: 'posts' | 'media' | 'settings' | 'tags' | 'chat';
sidebarVisible: boolean;
panelVisible: boolean;
selectedPostId: string | null;
@@ -136,7 +136,7 @@ interface AppState {
restoreTabState: (state: TabState) => void;
// Actions
setActiveView: (view: 'posts' | 'media' | 'settings' | 'tags') => void;
setActiveView: (view: 'posts' | 'media' | 'settings' | 'tags' | 'chat') => void;
toggleSidebar: () => void;
togglePanel: () => void;
setSelectedPost: (id: string | null) => void;