1
0
mirror of https://github.com/immich-app/immich.git synced 2025-06-24 04:46:50 +02:00

feat(web): jump to timeline (#12117)

* feat(web): jump to timeline

* Update web/src/lib/components/memory-page/memory-viewer.svelte

Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>

* wording and open in new tab

* Use correct wording and icon

* fix: hide on archived and trashed assets

---------

Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>
Co-authored-by: Jason Rasmussen <jason@rasm.me>
This commit is contained in:
Alex
2024-08-29 16:14:52 -05:00
committed by GitHub
parent ebecb60f39
commit 6fe011e2d7
3 changed files with 25 additions and 0 deletions

View File

@ -28,6 +28,7 @@
mdiChevronRight,
mdiChevronUp,
mdiDotsVertical,
mdiImageSearch,
mdiPause,
mdiPlay,
mdiPlus,
@ -301,6 +302,19 @@
draggable="false"
/>
{/key}
<div
class="absolute bottom-6 right-6 transition-all"
class:opacity-0={galleryInView}
class:opacity-100={!galleryInView}
>
<CircleIconButton
href="${AppRoute.PHOTOS}?at=${currentAsset.id}"
icon={mdiImageSearch}
title={$t('view_in_timeline')}
color="light"
/>
</div>
<!-- CONTROL BUTTONS -->
{#if canGoBack}
<div class="absolute top-1/2 left-0 ml-4">