Something went wrong. Try again.
Monorepo for Tangled forked from tangled.org/core
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839<script module lang="ts"> import { defineMeta } from "@storybook/addon-svelte-csf"; import { sampleMarkup, sampleThreads } from "$fixtures/comments"; import IssueThreadView, { type IssueData } from "$lib/components/repo/issues/IssueThreadView.svelte"; import type { RepoInfo } from "$lib/components/repo/types";
const issue: IssueData = { uri: "at://did:plc:author/sh.tangled.repo.issue/3issue", cid: "bafyissue", rkey: "3issue", title: "Generate loading geometry from the real issue thread", body: "The skeleton should preserve the issue header, metadata, body, comments, and panel chrome.", bodyHtml: "<p>The skeleton should preserve the issue header, metadata, body, comments, and panel chrome.</p>", state: "open", authorDid: "did:plc:author", authorHandle: "dawn.tngl.sh", createdAt: "2026-08-19T12:00:00Z", reactions: [] }; const repo: RepoInfo = { uri: "at://did:plc:repo/sh.tangled.repo.repo/3repo", rkey: "3repo", name: "tangled", ownerDid: "did:plc:owner", ownerHandle: "dawn", repoDid: "did:plc:repo", knot: "knot1.tangled.sh", defaultBranch: Promise.resolve("main") }; const { Story } = defineMeta({ title: "Repo/Issues/IssueThreadView" });</script>
<Story name="Skeleton fixture" asChild parameters={{ auth: true, notifications: true }}> <IssueThreadView {issue} comments={sampleThreads} markup={sampleMarkup} {repo} /></Story>