Skip to content

Commit a9f8fe9

Browse files
committed
feat(notes): inject note view specs into page
1 parent dadd251 commit a9f8fe9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎app/src/pages/NotesPage.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ import { useNotesDeepLink } from "../hooks/useNotesDeepLink";
3333
// 批 3 T8:列规格(组列/列表列/大纲列三行的宽·夹取·阈值)改从 `shell/columnRegistry` 取
3434
// ——页面不再自建规格;断点值(t5 曾在此写 breakpointFor)现在住在注册表里
3535
import { columnSpec } from "../shell/columnRegistry";
36+
import { viewsFor } from "../views/registry";
3637

3738
interface Props {
3839
focusNoteId?: number | null;
@@ -264,6 +265,7 @@ export default function NotesPage({ focusNoteId, focusNoteSearch, focusGroupId,
264265
onOpenSession={onOpenSessions}
265266
onImageOpen={(src, title) => setPreviewImg({ src, title })}
266267
onCleanNotice={notifyCleanNotice}
268+
views={viewsFor("note")}
267269
/>
268270
{/* 覆盖层(AI 对话框 / 模型卡对话框 / 图片放大预览 / 清理留痕 toast)——
269271
条件门控与 key 语义见 components/notes/NotesOverlays */}

0 commit comments

Comments
 (0)