-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* initial svelte 5 migration * fix some issues * remove dependency on deprecated AppShell * linting * fix type * update node version * fix chips * fix deprecation warning * fix pull to refresh * attempt to form a valid image url * fix dockerfile warnings * fix layout and pull to refresh issues * add padding to drawer * fix item hash when in non secure context * rearrange dockerfile so it caches more often * fix layout again * fix settings not being reactive * update more components to svelte 5 * fix setup wizard * update svelte and node types * fix types on stepper components * fix reactivity on create account form * copy component from skeleton to fix typing
- Loading branch information
Showing
76 changed files
with
1,143 additions
and
711 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,21 @@ | ||
<script lang="ts"> | ||
import { Avatar } from "@skeletonlabs/skeleton"; | ||
export let user: { | ||
name: string; | ||
picture?: string | null; | ||
}; | ||
interface Props { | ||
user: { | ||
name: string; | ||
picture?: string | null; | ||
}; | ||
[key: string]: any; | ||
} | ||
let { ...props }: Props = $props(); | ||
</script> | ||
|
||
<Avatar | ||
style="height:100%" | ||
background="bg-primary-400-500-token" | ||
initials={user?.name.split(" ").reduce((x, y) => x + y.at(0), "")} | ||
src={user.picture ? `/api/assets/${user.picture}` : ""} | ||
{...$$props} | ||
initials={props.user?.name.split(" ").reduce((x, y) => x + y.at(0), "")} | ||
src={props.user.picture ? `/api/assets/${props.user.picture}` : ""} | ||
{...props} | ||
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.