Add calendar actions, menus, etc

This commit is contained in:
Jon Staab
2025-02-06 09:29:30 -08:00
parent fa4bc6894f
commit 5684d1a9cf
11 changed files with 416 additions and 24 deletions
+2 -2
View File
@@ -16,7 +16,7 @@
import ThreadMenu from "@app/components/ThreadMenu.svelte"
import {publishDelete, publishReaction} from "@app/commands"
import {notifications} from "@app/notifications"
import {makeSpacePath} from "@app/routes"
import {makeThreadPath} from "@app/routes"
interface Props {
url: any
@@ -28,7 +28,7 @@
const thunk = $derived($thunks[event.id])
const deleted = deriveIsDeleted(repository, event)
const path = makeSpacePath(url, "threads", event.id)
const path = makeThreadPath(url, event.id)
const filters = [{kinds: [COMMENT], "#E": [event.id]}]
const replies = deriveEvents(repository, {filters})