From d3e12191064db46c059f635eb850a6f74637ad19 Mon Sep 17 00:00:00 2001 From: Florian <45694132+flo-bit@users.noreply.github.com> Date: Wed, 21 Jan 2026 01:37:01 +0100 Subject: [PATCH] some fixes, update scopes --- docs/CardIdeas.md | 6 ++- src/lib/cards/FluidTextCard/index.ts | 11 +++--- .../PopfeedReviews/PopfeedReviewsCard.svelte | 37 +++++++++++-------- .../bluesky-post/BlueskyPost.svelte | 10 ++++- src/lib/components/post/Post.svelte | 13 ++++++- src/lib/components/post/PostAction.svelte | 10 +++++ src/lib/oauth/const.ts | 2 +- vite.config.ts | 3 ++ 8 files changed, 66 insertions(+), 26 deletions(-) diff --git a/docs/CardIdeas.md b/docs/CardIdeas.md index 7e979e3..6405723 100644 --- a/docs/CardIdeas.md +++ b/docs/CardIdeas.md @@ -45,7 +45,7 @@ - [x] latest ratings - lists - smokesignal.events (https://pdsls.dev/at://did:plc:xbtmt2zjwlrfegqvch7fboei/events.smokesignal.calendar.event/3ltn2qrxf3626) -- statusphere.xyz +- statusphere.xyz (https://googlefonts.github.io/noto-emoji-animation/, https://gist.github.com/sanjacob/a0ccdf6d88f15bf158d8895090722d14) - goals.garden - flashes.blue (https://pdsls.dev/at://did:plc:aytgljyikzbtgrnac2u4ccft/blue.flashes.actor.portfolio, https://app.flashes.blue/profile/j4ck.xyz) - room: flo-bit.dev/room @@ -66,3 +66,7 @@ - memory - pinball esque - 2048 + +## various + +- eyes tracking cursor (https://blento.app/jumpcity.blacksky.app) \ No newline at end of file diff --git a/src/lib/cards/FluidTextCard/index.ts b/src/lib/cards/FluidTextCard/index.ts index 1e04dfb..61312c2 100644 --- a/src/lib/cards/FluidTextCard/index.ts +++ b/src/lib/cards/FluidTextCard/index.ts @@ -13,16 +13,15 @@ export const FluidTextCardDefinition = { card.cardData = { text: '' }; - card.w = 4; - card.h = 2; - card.mobileW = 4; - card.mobileH = 2; + card.w = 8; + card.h = 3; + card.mobileW = 8; + card.mobileH = 4; }, creationModalComponent: CreateFluidTextCardModal, settingsComponent: FluidTextCardSettings, sidebarButtonText: 'Fluid Text', defaultColor: 'transparent', allowSetColor: false, - minW: 2, - minH: 2 + minW: 2 } as CardDefinition & { type: 'fluid-text' }; diff --git a/src/lib/cards/PopfeedReviews/PopfeedReviewsCard.svelte b/src/lib/cards/PopfeedReviews/PopfeedReviewsCard.svelte index 3d335b4..76a9f39 100644 --- a/src/lib/cards/PopfeedReviews/PopfeedReviewsCard.svelte +++ b/src/lib/cards/PopfeedReviews/PopfeedReviewsCard.svelte @@ -31,22 +31,29 @@
{#each feed ?? [] as review} - -
-
- - -
-
+ class="relative flex aspect-[2/3] h-full flex-col items-center justify-end overflow-hidden rounded-xl p-1" + > + + +
+ + +
+ + {/if} {/each} diff --git a/src/lib/components/bluesky-post/BlueskyPost.svelte b/src/lib/components/bluesky-post/BlueskyPost.svelte index 8c6640e..54b6293 100644 --- a/src/lib/components/bluesky-post/BlueskyPost.svelte +++ b/src/lib/components/bluesky-post/BlueskyPost.svelte @@ -30,7 +30,15 @@ {/snippet} {#if postData} - + {@render children?.()} {/if} diff --git a/src/lib/components/post/Post.svelte b/src/lib/components/post/Post.svelte index 530444a..7a6d175 100644 --- a/src/lib/components/post/Post.svelte +++ b/src/lib/components/post/Post.svelte @@ -26,6 +26,10 @@ onLikeClick, onBookmarkClick, + replyHref, + repostHref, + likeHref, + customActions, children, @@ -48,6 +52,10 @@ onLikeClick?: () => void; onBookmarkClick?: () => void; + replyHref?: string; + repostHref?: string; + likeHref?: string; + customActions?: Snippet; logo?: Snippet; @@ -182,7 +190,7 @@ class="text-base-500 dark:text-base-400 accent:text-base-900 mt-4 flex justify-between gap-2" > {#if showReply} - + + {#if liked} void; children: Snippet; class?: string; + href?: string; } = $props(); @@ -20,6 +22,14 @@ > {@render children?.()} +{:else if href} + + {@render children?.()} + {:else}
{@render children?.()} diff --git a/src/lib/oauth/const.ts b/src/lib/oauth/const.ts index 772d438..3b7f066 100644 --- a/src/lib/oauth/const.ts +++ b/src/lib/oauth/const.ts @@ -8,7 +8,7 @@ export const metadata = { redirect_uris: [env.PUBLIC_DOMAIN + base], scope: - 'atproto repo:app.blento.card repo:app.blento.page repo:app.blento.settings repo:app.blento.comment repo:site.standard.publication repo:site.standard.document repo:app.blento.guestbook.entry blob:*/* rpc:app.bsky.actor.getProfile?aud=did:web:api.bsky.app%23bsky_appview', + 'atproto repo:app.blento.card repo:app.blento.page repo:app.blento.settings repo:app.blento.comment repo:site.standard.publication repo:site.standard.document repo:app.blento.guestbook.entry repo:xyz.statusphere.status repo:app.bsky.feed.like blob:*/* rpc:app.bsky.actor.getProfile?aud=did:web:api.bsky.app%23bsky_appview', grant_types: ['authorization_code', 'refresh_token'], response_types: ['code'], token_endpoint_auth_method: 'none', diff --git a/vite.config.ts b/vite.config.ts index f66b649..df6708e 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -8,5 +8,8 @@ export default defineConfig({ server: { host: '127.0.0.1', port: 5179 + }, + build: { + sourcemap: true } }); -- 2.51.2