Update dependencies

This commit is contained in:
Sebastian Martinez
2025-05-21 13:40:52 +02:00
parent 14f3c6f63b
commit 2c362adffb
19 changed files with 1194 additions and 892 deletions
+1 -1
View File
@@ -29,7 +29,7 @@
height="48"
width="48"
fill="currentColor"
viewBox={"0 0 24 24"}>
viewBox="0 0 24 24">
{#if name === "alert"}
<path
fill-rule="evenodd"
+1 -2
View File
@@ -87,7 +87,6 @@
}
.title * {
line-clamp: 1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
@@ -146,7 +145,7 @@
<ActivityDiagram
id={repo.rid}
viewBoxHeight={200}
styleColor="var(--color-foreground-primary"
styleColor="var(--color-foreground-primary)"
activity={repoInfo.activity} />
</div>
<div class="title">
+2 -2
View File
@@ -47,7 +47,7 @@
{baseUrl}
{rawPath}
id={root.id}
lastEdit={root.edits.length > 1 ? root.edits.pop() : undefined}
lastEdit={root.edits.length > 1 ? root.edits.at(-1) : undefined}
authorId={root.author.id}
authorAlias={root.author.alias}
reactions={root.reactions}
@@ -62,7 +62,7 @@
<CommentComponent
{baseUrl}
{rawPath}
lastEdit={reply.edits.length > 1 ? reply.edits.pop() : undefined}
lastEdit={reply.edits.length > 1 ? reply.edits.at(-1) : undefined}
id={reply.id}
authorId={reply.author.id}
authorAlias={reply.author.alias}
-1
View File
@@ -4,7 +4,6 @@
// with Radicle Linking Exception. For full terms see the included
// LICENSE file.
//@ts-expect-error the typescript bindings are out of date.
import * as Bacon from "baconjs";
// A task executor that runs only one task concurrently. If a new task
+6 -6
View File
@@ -2,15 +2,15 @@ import type { BaseUrl } from "@http-client";
import isEqual from "lodash/isEqual";
import storedWritable from "@app/lib/localStore";
import { array, number, string, object } from "zod";
import * as z from "zod";
import { get } from "svelte/store";
import config from "@app/lib/config";
const seedSchema = object({
hostname: string(),
port: number(),
scheme: string(),
const seedSchema = z.object({
hostname: z.string(),
port: z.number(),
scheme: z.string(),
});
// Seed that is opened on cold app start on the landing page.
@@ -24,7 +24,7 @@ export const selectedSeed = storedWritable<BaseUrl | undefined>(
// A list of seeds that the user has explicitly bookmarked.
export const bookmarkedSeeds = storedWritable<BaseUrl[]>(
"bookmarkedSeeds",
array(seedSchema),
z.array(seedSchema),
[],
!window.localStorage,
);
@@ -64,7 +64,9 @@
$: if (visible) {
syntaxHighlightingLoading = true;
void highlightContent().then(output => {
// eslint-disable-next-line
highlighting = output;
// eslint-disable-next-line
syntaxHighlightingLoading = false;
});
}
+1 -1
View File
@@ -13,5 +13,5 @@
style:font-family="var(--font-family-monospace)">
{fromCommit.substring(0, 6)}..{toCommit.substring(0, 6)}
</span>
<Icon name={"chevron-down"} />
<Icon name="chevron-down" />
</Button>
+1 -4
View File
@@ -297,10 +297,7 @@
<!-- Footer -->
{#if !collapsedOnly}
<div class="sidebar-footer" style:flex-direction="row">
<Button
title={"Collapse"}
on:click={toggleSidebar}
variant="background">
<Button title="Collapse" on:click={toggleSidebar} variant="background">
<div class="icon" class:expanded>
<Icon name="chevron-left" />
</div>
+2
View File
@@ -159,6 +159,7 @@
styleBorderRadius="0"
variant={!preview ? "selected" : "not-selected"}
on:click={() => {
// eslint-disable-next-line
preview = false;
}}>
<Icon name="chevron-left-right" />Code
@@ -168,6 +169,7 @@
variant={preview ? "selected" : "not-selected"}
on:click={() => {
window.location.hash = "";
// eslint-disable-next-line
preview = true;
}}>
<Icon name="eye-open" />Preview
@@ -119,7 +119,7 @@
slot="toggle"
let:expanded
let:toggle
styleBorderRadius={"var(--border-radius-tiny) 0 0 var(--border-radius-tiny)"}
styleBorderRadius="var(--border-radius-tiny) 0 0 var(--border-radius-tiny)"
styleWidth="100%"
on:click={toggle}
title="Change branch"
@@ -81,6 +81,7 @@
tabindex="0"
class="folder"
on:click={() => {
// eslint-disable-next-line
expanded = !expanded;
}}>
<div class="icon-container" class:expanded>