sync: features from private repo (2025-12-24)

Synced from ra-h private repo:
- Collapsible chat panel (Cmd+\)
- FolderViewOverlay with Kanban/Grid/List views
- Updated agent prompts
- Improved executor and quickAdd services
- New views.ts types

Files kept at OS versions (auth/backend deps):
- SettingsModal, RAHChat, useSSEChat
- Delegation tools and wiseRAHExecutor
- openExternalUrl (no Tauri)

Added stub: supabaseTokenRegistry.ts for compatibility
This commit is contained in:
“BeeRad”
2025-12-24 09:57:32 +11:00
parent 52602a06c4
commit ce5bee826c
16 changed files with 2973 additions and 650 deletions
+8
View File
@@ -171,3 +171,11 @@ export interface DatabaseError {
code?: string;
details?: any;
}
// Dimension interface for dimension management
export interface Dimension {
name: string;
description?: string | null;
is_priority: boolean;
updated_at: string;
}
+45
View File
@@ -0,0 +1,45 @@
// View system types
export type ViewType = 'focus' | 'list' | 'kanban' | 'grid';
export interface ViewFilter {
dimension: string;
operator: 'includes' | 'excludes';
}
export interface ViewSort {
field: 'title' | 'created_at' | 'updated_at' | 'edge_count';
direction: 'asc' | 'desc';
}
export interface KanbanColumn {
id: string;
dimension: string;
order: number;
}
export interface ViewConfig {
filters: ViewFilter[];
filterLogic: 'and' | 'or';
sort: ViewSort;
// Kanban-specific
columns?: KanbanColumn[];
}
export interface SavedView {
id: number;
name: string;
type: ViewType;
config: ViewConfig;
is_default: boolean;
created_at: string;
updated_at: string;
}
// Default view configuration
export const DEFAULT_VIEW_CONFIG: ViewConfig = {
filters: [],
filterLogic: 'and',
sort: { field: 'updated_at', direction: 'desc' },
columns: []
};