From f90cec42e937883cb2adafc3fc06255bf1631f42 Mon Sep 17 00:00:00 2001 From: Harsh Mahajan <127186841+HarshMN2345@users.noreply.github.com> Date: Thu, 28 Aug 2025 12:23:39 +0530 Subject: [PATCH] feat: added responsivness and linked transfer project and unarchiving functionality --- src/lib/components/archiveProject.svelte | 164 +++++++++++++++++++++-- 1 file changed, 152 insertions(+), 12 deletions(-) diff --git a/src/lib/components/archiveProject.svelte b/src/lib/components/archiveProject.svelte index 539081ff2..812a060d0 100644 --- a/src/lib/components/archiveProject.svelte +++ b/src/lib/components/archiveProject.svelte @@ -1,6 +1,6 @@ {#if projectsToArchive.length > 0} @@ -71,26 +162,27 @@ data. - - +
+ {#each projectsToArchive as project} {@const platforms = filterPlatforms( project.platforms.map((platform) => getPlatformInfo(platform.type)) )} + {@const formatted = formatName(project.name)} {project?.platforms?.length ? project?.platforms?.length : 'No'} apps - {project.name} + {formatted} - +
{ e.preventDefault(); e.stopPropagation(); @@ -128,15 +220,20 @@ - handleUnarchiveProject(project)} >Unarchive project handleMigrateProject(project)} >Migrate project - +
+ {#each platforms.slice(0, 2) as platform} {@const icon = getIconForPlatform(platform.icon)} {/each} + + {#if platforms.length > 3} + + {/if} + + + {#if isCloud && $regionsStore?.regions} + {@const region = findRegion(project)} + {region.name} + {/if} +
{/each} - - +
+
{/if} + + + + + + + + + + + +