Skip to content

High performance self-hosted photo and video management solution.

feat(web): Album picker shortcut info (#21273)

xCJPECKOVERxa7821a0b7938
diff --git a/i18n/en.json b/i18n/en.json
index f061cb1450..ccd0c9d7fe 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -1941,7 +1941,9 @@
"to_change_password": "Change password",
"to_favorite": "Favorite",
"to_login": "Login",
+ "to_multi_select": "to multi-select",
"to_parent": "Go to parent",
+ "to_select": "to select",
"to_trash": "Trash",
"toggle_settings": "Toggle settings",
"total": "Total",
diff --git a/web/src/lib/modals/AlbumPickerModal.svelte b/web/src/lib/modals/AlbumPickerModal.svelte
index 17a69953e4..529ef4b137 100644
--- a/web/src/lib/modals/AlbumPickerModal.svelte
+++ b/web/src/lib/modals/AlbumPickerModal.svelte
@@ -7,7 +7,8 @@
} from '$lib/components/shared-components/album-selection/album-selection-utils';
import { albumViewSettings } from '$lib/stores/preferences.store';
import { createAlbum, getAllAlbums, type AlbumResponseDto } from '@immich/sdk';
- import { Button, Modal, ModalBody } from '@immich/ui';
+ import { Button, Icon, Modal, ModalBody, ModalFooter, Text } from '@immich/ui';
+ import { mdiKeyboardReturn } from '@mdi/js';
import { onMount } from 'svelte';
import { t } from 'svelte-i18n';
import AlbumListItem from '../components/asset-viewer/album-list-item.svelte';
@@ -199,4 +200,22 @@
>
{/if}
</ModalBody>
+ <ModalFooter>
+ <div class="flex justify-around w-full">
+ <div class="flex gap-4">
+ <div class="flex gap-1 place-items-center">
+ <span class="bg-gray-300 dark:bg-gray-500 rounded p-1">
+ <Icon icon={mdiKeyboardReturn} size="1rem" />
+ </span>
+ <Text size="tiny">{$t('to_select')}</Text>
+ </div>
+ <div class="flex gap-1 place-items-center">
+ <span class="bg-gray-300 dark:bg-gray-500 rounded p-1">
+ <Text size="tiny">CTRL</Text>
+ </span>
+ <Text size="tiny">{$t('to_multi_select')}</Text>
+ </div>
+ </div>
+ </div>
+ </ModalFooter>
</Modal>