Skip to content

Commit

Permalink
Merge pull request #63 from zaanposni/release/1.17.1
Browse files Browse the repository at this point in the history
Release/1.17.1
  • Loading branch information
zaanposni authored Nov 21, 2024
2 parents ead9f13 + ff1f048 commit 9061c48
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 51 deletions.
4 changes: 2 additions & 2 deletions src/psaggregator/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/psaggregator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "psaggregator",
"version": "1.17.0",
"version": "1.17.1",
"scripts": {
"dev": "vite dev",
"build": "vite build",
Expand Down
2 changes: 1 addition & 1 deletion src/psaggregator/src/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const GITHUB_AUTHOR_URL = "https://github.com/zaanposni";
export const SHOW_ABSOLUTE_DATES = writable(false);
export const VIDEO_COMPLEXE_VIEW = writable(false);
export const LINK_YOUTUBE = writable(false);
export const LOW_DATA_MODE = writable(false);
export const LOW_DATA_MODE = writable(true);

export const SHOW_ABSOLUTE_DATES_KEY = "showAbsoluteDates";
export const VIDEO_COMPLEXE_VIEW_KEY = "videoComplexeView";
Expand Down
20 changes: 12 additions & 8 deletions src/psaggregator/src/lib/components/InstagramPost.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,18 @@
</script>

<Card.Root>
<a class="flex flex-col gap-x-4 p-4" href={post.href} target="_blank">
<div class="mb-2 flex justify-between">
<span>{titleCase(post.additionalInfo)}</span>
{#if post.date}
<span class="text-sm">{dateFormat(post.date, $SHOW_ABSOLUTE_DATES)}</span>
{/if}
<div class="flex flex-col gap-4 p-4">
<div>
<a href={post.href} target="_blank">
<div class="mb-2 flex justify-between">
<span>{titleCase(post.additionalInfo)}</span>
{#if post.date}
<span class="text-sm">{dateFormat(post.date, $SHOW_ABSOLUTE_DATES)}</span>
{/if}
</div>
</a>
<div>{post.text}</div>
</div>
<div class="mb-4">{post.text}</div>
{#if isVideoOnly && !$LOW_DATA_MODE}
<video
bind:this={video}
Expand All @@ -50,5 +54,5 @@
{:else if post.imageUri}
<img class="m-4 rounded-xl md:m-8" src={post.imageUri} alt={"community post attachment"} />
{/if}
</a>
</div>
</Card.Root>
17 changes: 0 additions & 17 deletions src/psaggregator/src/lib/components/NewsBig.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -131,21 +131,4 @@
<div class="col-span-full mt-4 flex w-full items-center justify-center text-center md:mt-8">loading...</div>
{/if}
</div>
<div>
<div class="mb-2 ml-2 flex items-center text-2xl">
<img alt="threads" src="/threads-logo.svg" class="mr-2 inline-block h-8 w-8" />
Threads
</div>
<div class="mx-auto flex flex-col items-center text-center">
<div>
<FaceDissatisfied size={32} />
</div>
<span>Leider gibt es noch keinen Threads-Import.</span>
<span>Dieses Projekt ist Open Source.</span>
<span
>Beteilige dich gerne auf
<a href={GITHUB_URL} class="underline" target="_blank">GitHub</a>
</span>
</div>
</div>
</div>
26 changes: 4 additions & 22 deletions src/psaggregator/src/lib/components/NewsSmall.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,27 +20,22 @@

<div class="news-small">
<Tabs.Root>
<Tabs.List>
<Tabs.Trigger value="youtube">
<Tabs.List class="w-full justify-evenly">
<Tabs.Trigger value="youtube" class="grow">
<div>
<LogoYoutube size={32} />
</div>
</Tabs.Trigger>
<Tabs.Trigger value="instagram">
<Tabs.Trigger value="instagram" class="grow">
<div>
<LogoInstagram size={32} />
</div>
</Tabs.Trigger>
<Tabs.Trigger value="twitter">
<Tabs.Trigger value="twitter" class="grow">
<div>
<LogoTwitter size={32} />
</div>
</Tabs.Trigger>
<Tabs.Trigger value="threads">
<div>
<img alt="threads" src="/threads-logo.svg" class="inline-block h-8 w-8" />
</div>
</Tabs.Trigger>
</Tabs.List>
<Tabs.Content value="youtube">
<div class="flex flex-col gap-y-4">
Expand All @@ -63,18 +58,5 @@
{/each}
</div>
</Tabs.Content>
<Tabs.Content value="threads">
<div class="mx-auto flex flex-col items-center text-center">
<div>
<FaceDissatisfied size={32} />
</div>
<span>Leider gibt es noch keinen Threads-Import.</span>
<span>Dieses Projekt ist Open Source.</span>
<span
>Beteilige dich gerne auf
<a href={GITHUB_URL} class="underline" target="_blank">GitHub</a>
</span>
</div>
</Tabs.Content>
</Tabs.Root>
</div>
11 changes: 11 additions & 0 deletions src/psaggregator/src/routes/changelog/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,17 @@
</style>

<div class="flex-col p-4">
<h2 class="mb-2 text-2xl font-bold">Version 1.17.1</h2>
<div class="changelog-contents w-full grow overflow-y-auto lg:w-1/2">
<h3 class="mb-2 text-xl font-bold">Überarbeitungen</h3>
<div>
<span>News-Navigation</span>
<span
>Der Threads-Reiter wurde entfernt bis ein Import bereit gestellt werden kann. Die Navigation auf mobilen Endgeräten ist
jetzt größer.</span>
</div>
</div>

<h2 class="mb-2 text-2xl font-bold">Version 1.17.0</h2>
<div class="changelog-contents w-full grow overflow-y-auto lg:w-1/2">
<h3 class="mb-2 text-xl font-bold">Neue Features</h3>
Expand Down

0 comments on commit 9061c48

Please sign in to comment.