Merge pull request #364 from Xyphyn/command-palette

feat: add a command palette
This commit is contained in:
Xylight authored and GitHub committed 2024-07-20 14:39:55 -07:00
commit 7305ee6e0c
14 files changed
+837 -6

No files matched your search

+8
View File
@@ -32,6 +32,7 @@
import EntityHeader from '$lib/components/ui/EntityHeader.svelte'
import CommunityLink from '$lib/components/lemmy/community/CommunityLink.svelte'
import Subscribe from '../../communities/Subscribe.svelte'
import { resumables } from '$lib/lemmy/item'
export let data
@@ -45,6 +46,13 @@
'lastSeenCommunity',
data.community.community_view.community,
)
resumables.add({
name: community.community.title,
type: 'community',
url: $page.url.toString(),
avatar: community.community.icon,
})
})
onDestroy(() => {