feat: editor improvements and architectural grid prototype

Multiple feature additions and improvements across the application:

- NextGen Editor: drag handles, smart paste, block actions
- Structured views: Kanban and table layouts for notes
- Architectural Grid: new brainstorming/agent interface prototype
- Flashcards: SM-2 revision algorithm with AI generation
- MCP server: robustness improvements
- Graph/PDF chat: fix click propagation and copy behavior
- Various UI/UX enhancements and bug fixes

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Antigravity
2026-05-27 19:45:15 +00:00
parent 2de66a863d
commit f46654f574
99 changed files with 29948 additions and 919 deletions

View File

@@ -2,12 +2,7 @@ import { cookies } from 'next/headers'
import { getAllNotes } from '@/app/actions/notes'
import { getAISettings } from '@/app/actions/ai-settings'
import { HomeClient } from '@/components/home-client'
import {
NOTES_LAYOUT_COOKIE,
NOTES_VIEW_TYPE_COOKIE,
parseNotesLayoutMode,
parseNotesViewType,
} from '@/lib/notes-view-preference'
import { NOTES_LAYOUT_COOKIE, parseNotesLayoutMode } from '@/lib/notes-view-preference'
export default async function HomePage() {
const [allNotes, settings, cookieStore] = await Promise.all([
@@ -17,13 +12,11 @@ export default async function HomePage() {
])
const initialLayoutMode = parseNotesLayoutMode(cookieStore.get(NOTES_LAYOUT_COOKIE)?.value)
const initialViewType = parseNotesViewType(cookieStore.get(NOTES_VIEW_TYPE_COOKIE)?.value)
return (
<HomeClient
initialNotes={allNotes}
initialLayoutMode={initialLayoutMode}
initialViewType={initialViewType}
initialSettings={{
showRecentNotes: settings?.showRecentNotes !== false,
noteHistory: settings?.noteHistory === true,