All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 7s
- Add brainstorm feature with collaborative canvas, AI idea generation, live cursors, playback, and export - Add PDF upload/extraction/ingestion pipeline with pgvector document search (RAG) - Add document Q&A overlay with streaming chat and PDF preview - Add note attachments UI with status polling, grid layout, and auto-scroll - Add task extraction AI tool and agent executor improvements - Fix NoteEmbedding missing updatedAt column, re-index 66 notes with 1536-dim embeddings - Fix brainstorm 'Create Note' button: add success toast and redirect to created note - Fix memory echo notification infinite polling - Fix chat route to always include document_search tool - Add brainstorm i18n keys across all 14 locales - Add socket server for real-time brainstorm collaboration - Add hierarchical notebook selector and organize notebook dialog improvements - Add sidebar brainstorm section with session management - Update prisma schema with brainstorm tables, attachments, and document chunks
94 lines
4.3 KiB
TypeScript
94 lines
4.3 KiB
TypeScript
import { Carnet, Note } from './types';
|
|
|
|
export const CARNETS: Carnet[] = [
|
|
{ id: '1', name: 'Daily Notes', initial: 'D', type: 'Private', isPrivate: true },
|
|
{ id: '2', name: 'Project: Neo', initial: 'P', type: 'Project' },
|
|
{ id: '3', name: 'Shared Docs', initial: 'S', type: 'Shared' },
|
|
{ id: '4', name: 'Architecture Research', initial: 'A', type: 'Project' },
|
|
{ id: '5', name: 'History of Architecture', initial: 'H', type: 'Project', parentId: '4' },
|
|
{ id: '6', name: 'Modernism', initial: 'M', type: 'Project', parentId: '5' },
|
|
{ id: '7', name: 'Sustainable Design', initial: 'S', type: 'Project', parentId: '4' },
|
|
];
|
|
|
|
export const ALL_NOTES: Note[] = [
|
|
{
|
|
id: 'n1',
|
|
carnetId: '4',
|
|
title: 'Grid Systems & Geometry',
|
|
date: 'Oct 26, 2024',
|
|
content: 'Grid Systems are the foundation of cognitive design. We use geometric blocks to define spaces. The repetitive structure creates a sense of order and rhythm in the built environment.',
|
|
imageUrl: 'https://images.unsplash.com/photo-1503387762-592dea58ef23?auto=format&fit=crop&q=80&w=800&h=600',
|
|
tags: [
|
|
{ id: 't1', label: 'Architecture', type: 'user' },
|
|
{ id: 't2', label: 'Systems', type: 'ai' }
|
|
],
|
|
embedding: [0.1, 0.1]
|
|
},
|
|
{
|
|
id: 'n1-b',
|
|
carnetId: '4',
|
|
title: 'Parametric Grids',
|
|
date: 'Oct 27, 2024',
|
|
content: 'Parametricism allows us to deform traditional grid systems. By using mathematical algorithms, we can create fluid yet structured geometries that respond to environmental data.',
|
|
imageUrl: 'https://images.unsplash.com/photo-1511225070737-5af5ac9a690d?auto=format&fit=crop&q=80&w=800&h=600',
|
|
tags: [{ id: 't1', label: 'Geometry', type: 'user' }],
|
|
embedding: [0.12, 0.08]
|
|
},
|
|
{
|
|
id: 'n2',
|
|
carnetId: '4',
|
|
title: 'Sustainable Materiality',
|
|
date: 'Oct 24, 2024',
|
|
content: 'Exploring cross-laminated timber (CLT) as a sustainable alternative to concrete. Material choice is key to carbon-neutral construction. The warmth of wood contrasts with the coldness of steel.',
|
|
imageUrl: 'https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&q=80&w=800&h=600',
|
|
tags: [
|
|
{ id: 't3', label: 'Materials', type: 'user' },
|
|
{ id: 't4', label: 'Sustainabilty', type: 'ai' }
|
|
],
|
|
embedding: [0.8, 0.8]
|
|
},
|
|
{
|
|
id: 'n2-b',
|
|
carnetId: '7',
|
|
title: 'Solar Passive Design',
|
|
date: 'Oct 25, 2024',
|
|
content: 'Using orientation to maximize natural heat. Sustainable architecture must prioritize passive systems over active ones. Thermal mass and insulation are critical factors.',
|
|
imageUrl: 'https://images.unsplash.com/photo-1509391366360-fe5bb5843e0c?auto=format&fit=crop&q=80&w=800&h=600',
|
|
tags: [{ id: 't4', label: 'Sustainabilty', type: 'user' }],
|
|
embedding: [0.85, 0.75]
|
|
},
|
|
{
|
|
id: 'n3',
|
|
carnetId: '4',
|
|
title: 'Light & Minimalist Space',
|
|
date: 'Oct 22, 2024',
|
|
content: 'Minimalism is about the subtraction of the unnecessary. Light becomes a material in itself. Reflections on glass and white surfaces create depth without clutter.',
|
|
imageUrl: 'https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=800&h=600',
|
|
tags: [
|
|
{ id: 't5', label: 'Lighting', type: 'user' },
|
|
{ id: 't6', label: 'Atmosphere', type: 'ai' }
|
|
],
|
|
embedding: [0.2, 0.8]
|
|
},
|
|
{
|
|
id: 'n3-b',
|
|
carnetId: '6',
|
|
title: 'The Glass House Study',
|
|
date: 'Oct 23, 2024',
|
|
content: 'Analyzing the transparency of the Glass House. The boundary between interior and exterior is blurred. A pure expression of modernist ideals and minimal structure.',
|
|
imageUrl: 'https://images.unsplash.com/photo-1464938050520-ef2270bb8ce8?auto=format&fit=crop&q=80&w=800&h=600',
|
|
tags: [{ id: 't6', label: 'Modernism', type: 'user' }],
|
|
embedding: [0.25, 0.85]
|
|
},
|
|
{
|
|
id: 'bridge-1',
|
|
carnetId: '4',
|
|
title: 'Geometric Ecology',
|
|
date: 'Oct 28, 2024',
|
|
content: 'Can we use grid systems to optimize sustainable solar collection? This note bridges the gap between rigid geometry and ecological necessity. Structured sustainability.',
|
|
imageUrl: 'https://images.unsplash.com/photo-1464146072230-91cabc968276?auto=format&fit=crop&q=80&w=800&h=600',
|
|
tags: [{ id: 't1', label: 'Bridge', type: 'ai' }],
|
|
embedding: [0.45, 0.45] // Center point
|
|
}
|
|
];
|