feat: add annotations, user profiles, watchers, stories, search and more

This commit is contained in:
hh committed 2026-06-01 17:15:09 +02:00
1 parent ed469ba8dd
commit 2465bcd184
47 files changed
+5009 -242

No files matched your search

+32 -1
View File
@@ -1,10 +1,19 @@
<script lang="ts">
import AlertsPanel from "$lib/components/alerts/AlertsPanel.svelte";
import AnnotationsPanel from "$lib/components/annotations/AnnotationsPanel.svelte";
import JobsPanel from "$lib/components/jobs/JobsPanel.svelte";
import PolicyEditor from "$lib/components/policy/PolicyEditor.svelte";
import AnalyticsPanel from "$lib/components/presence/AnalyticsPanel.svelte";
import ProfilePanel from "$lib/components/profile/ProfilePanel.svelte";
import ChatSearchPanel from "$lib/components/search/ChatSearchPanel.svelte";
import CallbacksPanel from "$lib/components/social/CallbacksPanel.svelte";
import LinksPanel from "$lib/components/social/LinksPanel.svelte";
import ReactionsPanel from "$lib/components/social/ReactionsPanel.svelte";
import AllStoriesArchive from "$lib/components/stories/AllStoriesArchive.svelte";
import StoriesArchive from "$lib/components/stories/StoriesArchive.svelte";
import Button from "$lib/components/ui/Button.svelte";
import Icon from "$lib/components/ui/Icon.svelte";
import WatchesPanel from "$lib/components/watches/WatchesPanel.svelte";
import { type RightPanel, ui } from "$lib/stores/ui.svelte";
const titles: Record<RightPanel, string> = {
@@ -12,12 +21,16 @@
search: "Поиск",
versions: "Версии",
reactions: "Реакции",
callbacks: "Callback-данные",
links: "Ссылки",
annotations: "Заметки",
jobs: "Данные и хранилище",
presence: "Аналитика",
stories: "Сторис",
"stories-all": "Все сторис",
policy: "Политика захвата",
watches: "Отслеживания",
alerts: "Алерты",
};
</script>
@@ -35,7 +48,9 @@
</header>
<div class="right-body custom-scroll">
{#if ui.rightPanel === "policy"}
{#if ui.rightPanel === "profile"}
<ProfilePanel />
{:else if ui.rightPanel === "policy"}
<PolicyEditor />
{:else if ui.rightPanel === "jobs"}
<JobsPanel />
@@ -43,6 +58,22 @@
<AnalyticsPanel />
{:else if ui.rightPanel === "search"}
<ChatSearchPanel />
{:else if ui.rightPanel === "reactions"}
<ReactionsPanel />
{:else if ui.rightPanel === "callbacks"}
<CallbacksPanel />
{:else if ui.rightPanel === "links"}
<LinksPanel />
{:else if ui.rightPanel === "stories"}
<StoriesArchive />
{:else if ui.rightPanel === "stories-all"}
<AllStoriesArchive />
{:else if ui.rightPanel === "watches"}
<WatchesPanel />
{:else if ui.rightPanel === "alerts"}
<AlertsPanel />
{:else if ui.rightPanel === "annotations"}
<AnnotationsPanel />
{/if}
</div>