fix(web): hash large files before upload

This commit is contained in:
Jason Rasmussen
2025-09-10 22:49:48 -04:00
parent 2d2673c114
commit 57cf717786
7 changed files with 124 additions and 34 deletions
@@ -92,8 +92,8 @@
{#if uploadAsset.state === UploadState.STARTED}
<div class="text-black relative mt-[5px] h-[15px] w-full rounded-md bg-gray-300 dark:bg-gray-700">
<div class="h-[15px] rounded-md bg-immich-primary transition-all" style={`width: ${uploadAsset.progress}%`}></div>
<p class="absolute top-0 h-full w-full text-center text-primary text-[10px]">
<div class="h-[15px] rounded-md bg-primary/50 transition-all" style={`width: ${uploadAsset.progress}%`}></div>
<p class="absolute top-0 h-full w-full text-center text-dark text-[10px]">
{#if uploadAsset.message}
{uploadAsset.message}
{:else}