feat(backend,frontend): feed gets a bots tab so private is people only, a folder's context menu opens the feed of its chats
This commit is contained in:
1 parent
b9e8a96774
commit
c2180e80ad
11 files changed
+128
-16
No files matched your search
@@ -2,8 +2,10 @@
|
||||
import ContextMenu from "#lib/components/ui/ContextMenu.svelte";
|
||||
import ContextMenuItem from "#lib/components/ui/ContextMenuItem.svelte";
|
||||
import { t } from "#lib/i18n/locale.svelte.js";
|
||||
import { feed } from "#lib/stores/feed.svelte.js";
|
||||
import { folders } from "#lib/stores/folders.svelte.js";
|
||||
import { policyUi } from "#lib/stores/policy.svelte.js";
|
||||
import { page } from "$app/state";
|
||||
|
||||
interface Tab {
|
||||
id: number | null;
|
||||
@@ -93,6 +95,12 @@
|
||||
</button>
|
||||
{/snippet}
|
||||
{#snippet menu()}
|
||||
<ContextMenuItem
|
||||
icon="recent"
|
||||
onselect={() => feed.open(page.url, tab.id)}
|
||||
>
|
||||
{t("feed.folder")}
|
||||
</ContextMenuItem>
|
||||
<ContextMenuItem icon="settings" onselect={() => editPolicy(tab)}>
|
||||
{t("settings.policy")}
|
||||
</ContextMenuItem>
|
||||
|
||||
Reference in new issue
Block a user