From 025f22553f3c26360a4c9d04d0aa969c79b32b12 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Wed, 15 Oct 2025 18:49:29 +0300 Subject: [PATCH] feat(collection/presentation): add empty view for presentation --- apps/client/src/widgets/collections/NoteList.tsx | 3 +++ apps/client/src/widgets/collections/presentation/index.tsx | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 apps/client/src/widgets/collections/presentation/index.tsx diff --git a/apps/client/src/widgets/collections/NoteList.tsx b/apps/client/src/widgets/collections/NoteList.tsx index 1f35cfb40..cb43ab1be 100644 --- a/apps/client/src/widgets/collections/NoteList.tsx +++ b/apps/client/src/widgets/collections/NoteList.tsx @@ -12,6 +12,7 @@ import BoardView from "./board"; import { subscribeToMessages, unsubscribeToMessage as unsubscribeFromMessage } from "../../services/ws"; import { WebSocketMessage } from "@triliumnext/commons"; import froca from "../../services/froca"; +import PresentationView from "./presentation"; interface NoteListProps { note: FNote | null | undefined; @@ -104,6 +105,8 @@ function getComponentByViewType(viewType: ViewTypeOptions, props: ViewModeProps< return case "board": return + case "presentation": + return } } diff --git a/apps/client/src/widgets/collections/presentation/index.tsx b/apps/client/src/widgets/collections/presentation/index.tsx new file mode 100644 index 000000000..eada2b14e --- /dev/null +++ b/apps/client/src/widgets/collections/presentation/index.tsx @@ -0,0 +1,5 @@ +import { ViewModeProps } from "../interface"; + +export default function PresentationView({ }: ViewModeProps<{}>) { + return

Presentation goes here.

; +}