MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / openNoteInFloatingWindow

Function openNoteInFloatingWindow

integrations/raycast/src/lib/zen.ts:130–138  ·  view source on GitHub ↗
(
  note: Pick<ZenNote, "path" | "title">,
)

Source from the content-addressed store, hash-verified

128}
129
130export async function openNoteInFloatingWindow(
131 note: Pick<ZenNote, "path" | "title">,
132): Promise<void> {
133 await openNoteWithDeepLink(note, "open-window", {
134 openingTitle: "Opening floating window",
135 successTitle: "Opened floating window",
136 failureTitle: "Could not open floating window",
137 });
138}
139
140async function openNoteWithDeepLink(
141 note: Pick<ZenNote, "path" | "title">,

Callers 1

NoteActionsFunction · 0.90

Calls 1

openNoteWithDeepLinkFunction · 0.85

Tested by

no test coverage detected