diff --git a/web/src/routes/+error.svelte b/web/src/routes/+error.svelte index ed8749f43..c83ebef97 100644 --- a/web/src/routes/+error.svelte +++ b/web/src/routes/+error.svelte @@ -42,10 +42,10 @@
-
-
+
+
-
+

{copy.status} — {copy.title}

{copy.message}

-
+
diff --git a/web/src/routes/[handle]/+layout.svelte b/web/src/routes/[handle]/+layout.svelte index 64e437459..3b7e27ca5 100644 --- a/web/src/routes/[handle]/+layout.svelte +++ b/web/src/routes/[handle]/+layout.svelte @@ -127,7 +127,7 @@ /> {/if} -
+
{#key page.params.handle} @@ -135,7 +135,7 @@ {/snippet} {#snippet failed(cause: unknown)} -
+
{/snippet} diff --git a/web/src/routes/[handle]/+page.svelte b/web/src/routes/[handle]/+page.svelte index 82e766aca..ce4395c8e 100644 --- a/web/src/routes/[handle]/+page.svelte +++ b/web/src/routes/[handle]/+page.svelte @@ -23,7 +23,7 @@ {#snippet peopleSkeleton(title: string)}
- +
{/snippet} @@ -61,7 +61,7 @@ {:else if data.tab === "starred"} {#snippet skeleton()} - + {/snippet} {@const identity = await data.identity} {@const counts = await data.counts} @@ -70,7 +70,7 @@ {:else if data.tab === "strings"} {#snippet skeleton()} - + {/snippet} {@const identity = await data.identity} {@const counts = await data.counts} diff --git a/web/src/routes/[handle]/[repo]/+layout@.svelte b/web/src/routes/[handle]/[repo]/+layout@.svelte index cd5e80ede..6cb1f4cc8 100644 --- a/web/src/routes/[handle]/[repo]/+layout@.svelte +++ b/web/src/routes/[handle]/[repo]/+layout@.svelte @@ -205,8 +205,8 @@ class={standalone ? "contents" : fullWidth - ? "w-full pt-2 sm:pl-2" - : "mx-auto w-full max-w-5xl py-6"} + ? "w-full pt-xs sm:pl-xs" + : "mx-auto w-full max-w-page py-xl"} > {#key `${page.params.handle}/${page.params.repo}`} @@ -239,7 +239,7 @@ {@render children()} {#snippet failed(cause: unknown, reset: () => void)} {noteFailure(reset)} -
+
{/snippet} diff --git a/web/src/routes/[handle]/[repo]/branches/+page.svelte b/web/src/routes/[handle]/[repo]/branches/+page.svelte index c536a38ca..1ddf582c7 100644 --- a/web/src/routes/[handle]/[repo]/branches/+page.svelte +++ b/web/src/routes/[handle]/[repo]/branches/+page.svelte @@ -20,4 +20,4 @@ /> - + diff --git a/web/src/routes/[handle]/[repo]/issues/+page.svelte b/web/src/routes/[handle]/[repo]/issues/+page.svelte index f8fae77f2..6a3b167bf 100644 --- a/web/src/routes/[handle]/[repo]/issues/+page.svelte +++ b/web/src/routes/[handle]/[repo]/issues/+page.svelte @@ -4,7 +4,7 @@ import Bones from "$lib/components/ui/Bones.svelte"; import Pending from "$lib/components/ui/Pending.svelte"; import RoutePagination from "$lib/components/ui/RoutePagination.svelte"; - import TabPanel from "$lib/components/ui/TabPanel.svelte"; + import ListPanel, { listRows } from "$lib/components/ui/ListPanel.svelte"; import repoTicketsTicketlistIssues from "$lib/bones/repo-tickets-ticketlist--issues.bones.json"; import repoTicketsTickettoolbarIssuesOpen from "$lib/bones/repo-tickets-tickettoolbar--issues-open.bones.json"; @@ -13,40 +13,36 @@ {#snippet skeleton()} -
- -
-
- -
+ + {#snippet toolbar()} + + {/snippet} + + {/snippet} {@const repo = await data.repo} - - - -
+ + {#snippet toolbar()} + + {/snippet} + {#snippet skeleton()} - + {/snippet} + -
- - +
diff --git a/web/src/routes/[handle]/[repo]/issues/new/+page.svelte b/web/src/routes/[handle]/[repo]/issues/new/+page.svelte index 0d637f0f5..2b56cea8a 100644 --- a/web/src/routes/[handle]/[repo]/issues/new/+page.svelte +++ b/web/src/routes/[handle]/[repo]/issues/new/+page.svelte @@ -6,7 +6,7 @@ import Pending from "$lib/components/ui/Pending.svelte"; import Bones from "$lib/components/ui/Bones.svelte"; import repoIssuesIssueformCreate from "$lib/bones/repo-issues-issueform--create.bones.json"; - import TabPanel from "$lib/components/ui/TabPanel.svelte"; + import Card from "$lib/components/ui/Card.svelte"; let { data } = $props(); @@ -31,8 +31,8 @@ }; - -

Create a new issue

+ +

Create a new issue

{#snippet skeleton()} @@ -52,4 +52,4 @@ oncancel={handleCancel} /> -
+ diff --git a/web/src/routes/[handle]/[repo]/pipelines/+page.svelte b/web/src/routes/[handle]/[repo]/pipelines/+page.svelte index fe533d856..4e8eaed01 100644 --- a/web/src/routes/[handle]/[repo]/pipelines/+page.svelte +++ b/web/src/routes/[handle]/[repo]/pipelines/+page.svelte @@ -6,7 +6,7 @@ import RoutePagination from "$lib/components/ui/RoutePagination.svelte"; import repoPipelinesPipelinelistDefault from "$lib/bones/repo-pipelines-pipelinelist--default.bones.json"; import repoPipelinesPipelinetoolbarAll from "$lib/bones/repo-pipelines-pipelinetoolbar--all.bones.json"; - import TabPanel from "$lib/components/ui/TabPanel.svelte"; + import ListPanel, { listRows } from "$lib/components/ui/ListPanel.svelte"; import Error from "$lib/components/ui/Error.svelte"; let { data } = $props(); @@ -14,38 +14,32 @@ {#snippet skeleton()} - - - - + + {#snippet toolbar()} + + {/snippet} + + {/snippet} {@const repo = await data.repo} - -
+ + {#snippet toolbar()} -
+ {/snippet} {#snippet skeleton()} - + {/snippet} {@const spindleError = await data.spindleError} {#if spindleError} -
+
{:else} @@ -63,5 +57,5 @@ {/if} - + diff --git a/web/src/routes/[handle]/[repo]/pulls/+page.svelte b/web/src/routes/[handle]/[repo]/pulls/+page.svelte index b0bf1445a..e1985ceaf 100644 --- a/web/src/routes/[handle]/[repo]/pulls/+page.svelte +++ b/web/src/routes/[handle]/[repo]/pulls/+page.svelte @@ -4,7 +4,7 @@ import Bones from "$lib/components/ui/Bones.svelte"; import Pending from "$lib/components/ui/Pending.svelte"; import RoutePagination from "$lib/components/ui/RoutePagination.svelte"; - import TabPanel from "$lib/components/ui/TabPanel.svelte"; + import ListPanel, { listRows } from "$lib/components/ui/ListPanel.svelte"; import repoTicketsTicketlistPulls from "$lib/bones/repo-tickets-ticketlist--pulls.bones.json"; import repoTicketsTickettoolbarPullsOpen from "$lib/bones/repo-tickets-tickettoolbar--pulls-open.bones.json"; @@ -13,30 +13,31 @@ {#snippet skeleton()} -
- -
-
- -
+ + {#snippet toolbar()} + + {/snippet} + + {/snippet} {@const repo = await data.repo} - - - -
+ + {#snippet toolbar()} + + {/snippet} + {#snippet skeleton()} - + {/snippet} + -
- - +
diff --git a/web/src/routes/[handle]/[repo]/pulls/[aturi]/[version]/[[range]]/PullViewPage.svelte b/web/src/routes/[handle]/[repo]/pulls/[aturi]/[version]/[[range]]/PullViewPage.svelte index 4ced9f2bd..0b3c53130 100644 --- a/web/src/routes/[handle]/[repo]/pulls/[aturi]/[version]/[[range]]/PullViewPage.svelte +++ b/web/src/routes/[handle]/[repo]/pulls/[aturi]/[version]/[[range]]/PullViewPage.svelte @@ -46,7 +46,6 @@ import RepoTabs from "$lib/components/repo/RepoTabs.svelte"; import Ticket from "$lib/components/repo/tickets/Ticket.svelte"; import Card from "$lib/components/ui/Card.svelte"; - import TabPanel from "$lib/components/ui/TabPanel.svelte"; import type { ResolvedPathname } from "$app/types"; import type { Did } from "@atcute/lexicons/syntax"; import type { PullState } from "$lib/api/records"; @@ -647,17 +646,17 @@ image={pullCard(data.repo, pull, data.comments?.length, data.publicConfig?.ogreUrl)} /> -
-
+
+
-