Compare commits

...

5 Commits

Author SHA1 Message Date
Alex Tran
1cb5c617c8 wip: update 2024-12-28 23:09:32 -06:00
Alex Tran
c9e03003c0 wip: update 2024-12-28 23:09:24 -06:00
Alex Tran
677fbca7b5 merge main 2024-12-27 14:40:13 -06:00
Alex
f1577bc120 Merge branch 'main' of github.com:immich-app/immich into workflows 2024-09-15 23:12:14 -05:00
Alex Tran
b86e1c389e feat(web): workflows 2024-09-15 00:06:50 -05:00
5 changed files with 41 additions and 1 deletions

View File

@@ -1338,5 +1338,6 @@
"years_ago": "{years, plural, one {# year} other {# years}} ago",
"yes": "Yes",
"you_dont_have_any_shared_links": "You don't have any shared links",
"zoom_image": "Zoom Image"
"zoom_image": "Zoom Image",
"workflows": "Workflows"
}

View File

@@ -17,4 +17,14 @@
</span>
{$t('review_duplicates')}
</a>
<a
href={AppRoute.WORKFLOWS}
class="w-full hover:bg-gray-100 dark:hover:bg-immich-dark-gray flex items-center gap-4 p-4"
>
<span
><Icon path={mdiContentDuplicate} class="text-immich-primary dark:text-immich-dark-primary" size="24" />
</span>
{$t('workflows')}
</a>
</div>

View File

@@ -46,6 +46,7 @@ export enum AppRoute {
UTILITIES = '/utilities',
DUPLICATES = '/utilities/duplicates',
WORKFLOWS = '/utilities/workflows',
FOLDERS = '/folders',
TAGS = '/tags',

View File

@@ -0,0 +1,14 @@
<script lang="ts">
import UserPageLayout from '$lib/components/layouts/user-page-layout.svelte';
import type { PageData } from './$types';
interface Props {
data: PageData;
}
let { data }: Props = $props();
</script>
<UserPageLayout title={data.meta.title}>
<div class="w-full h-full bg-gray-50 dark:bg-immich-dark-gray rounded-xl p-6">hello</div>
</UserPageLayout>

View File

@@ -0,0 +1,14 @@
import { authenticate } from '$lib/utils/auth';
import { getFormatter } from '$lib/utils/i18n';
import type { PageLoad } from './$types';
export const load = (async () => {
await authenticate();
const $t = await getFormatter();
return {
meta: {
title: $t('workflows'),
},
};
}) satisfies PageLoad;