feat: consolidate to single Architectural Grid view and remove all notesViewMode logic
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 2m6s

This commit is contained in:
Antigravity
2026-05-10 14:05:12 +00:00
parent b31efac8ba
commit f6880bd0e1
12 changed files with 14 additions and 1801 deletions

View File

@@ -8,19 +8,11 @@ export default async function HomePage() {
getAISettings(),
])
const notesViewMode =
settings?.notesViewMode === 'masonry'
? ('masonry' as const)
: settings?.notesViewMode === 'tabs'
? ('tabs' as const)
: ('masonry' as const)
return (
<HomeClient
initialNotes={allNotes}
initialSettings={{
showRecentNotes: settings?.showRecentNotes !== false,
notesViewMode,
noteHistory: settings?.noteHistory === true,
noteHistoryMode: (settings?.noteHistoryMode ?? 'manual') as 'manual' | 'auto',
aiAssistantEnabled: settings?.paragraphRefactor !== false,