All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 2m9s
- Schema: soft delete with trashedAt on Notebook model - API: PATCH/GET notebooks support trashedAt filtering with cascade - Sidebar: recursive tree rendering with collapse/expand, visual guides, hover actions - HierarchicalNotebookSelector: portal-based dropdown with search, breadcrumbs, dropUp support - AI chat: context selector with Toutes mes notes + notebook selector - Agent detail: flat selects replaced with HierarchicalNotebookSelector - Breadcrumb: notebook path display on home page - Trash view: card grid with countdown, restore/permanent delete - CSS: design tokens (ink, paper, blueprint, concrete, etc.) - Types: parentId, trashedAt added to Notebook interface
14 lines
387 B
TypeScript
14 lines
387 B
TypeScript
import { getTrashedNotes, getTrashedNotebooks } from '@/app/actions/notes'
|
|
import { TrashClient } from './trash-client'
|
|
|
|
export const dynamic = 'force-dynamic'
|
|
|
|
export default async function TrashPage() {
|
|
const [notes, notebooks] = await Promise.all([
|
|
getTrashedNotes(),
|
|
getTrashedNotebooks(),
|
|
])
|
|
|
|
return <TrashClient initialNotes={notes} initialNotebooks={notebooks} />
|
|
}
|