From f48d87754a7489c5115329853ac9de8a85122f93 Mon Sep 17 00:00:00 2001 From: AbhiVarde Date: Tue, 4 Nov 2025 21:05:56 +0530 Subject: [PATCH] fix: enable scrolling in execution sheet for small page limit sizes --- .../executions/+page.svelte | 2 +- .../executions/sheet.svelte | 203 ++++++++++-------- .../executions/table.svelte | 6 +- 3 files changed, 118 insertions(+), 93 deletions(-) diff --git a/src/routes/(console)/project-[region]-[project]/functions/function-[function]/executions/+page.svelte b/src/routes/(console)/project-[region]-[project]/functions/function-[function]/executions/+page.svelte index 55a275d5bb..9df08b6be1 100644 --- a/src/routes/(console)/project-[region]-[project]/functions/function-[function]/executions/+page.svelte +++ b/src/routes/(console)/project-[region]-[project]/functions/function-[function]/executions/+page.svelte @@ -45,7 +45,7 @@ {#if data?.executions?.total} - +
log.$id === selectedLogId); @@ -60,7 +61,7 @@ -
+
@@ -81,103 +82,125 @@
{#if selectedLog} - - - - - - - Method - - - {selectedLog.requestMethod} - - - - - Status code - - - - - - - - Status - - - -
- - -
- - {`Scheduled to execute on ${toLocaleDateTime(selectedLog.scheduledAt)}`} +
+ + + + + + + Method + + + {selectedLog.requestMethod} + + + + + Status code + + + - - + + + + Status + - - - Triggered by - - - {capitalize(selectedLog.trigger)} - - + +
+ + +
+ + {`Scheduled to execute on ${toLocaleDateTime(selectedLog.scheduledAt)}`} + +
+
- - - Duration - - - {#if ['processing', 'waiting'].includes(selectedLog.status)} - - {:else} - {calculateTime(selectedLog.duration)} - {/if} - - + + + Triggered by + + + {capitalize(selectedLog.trigger)} + + + + + + Duration + + + {#if ['processing', 'waiting'].includes(selectedLog.status)} + + {:else} + {calculateTime(selectedLog.duration)} + {/if} + + - + + + Created + + + {capitalize(timeFromNow(selectedLog.$createdAt))} + + + + - Created - - - {capitalize(timeFromNow(selectedLog.$createdAt))} + Path +
+ +
- - - Path - -
- -
-
-
- - - - - - - - + + + + + + + + +
{/if}
+ + diff --git a/src/routes/(console)/project-[region]-[project]/functions/function-[function]/executions/table.svelte b/src/routes/(console)/project-[region]-[project]/functions/function-[function]/executions/table.svelte index f681c04efa..ce3b53798c 100644 --- a/src/routes/(console)/project-[region]-[project]/functions/function-[function]/executions/table.svelte +++ b/src/routes/(console)/project-[region]-[project]/functions/function-[function]/executions/table.svelte @@ -21,10 +21,12 @@ let { columns, - executions + executions, + limit }: { columns: Column[]; executions: Models.ExecutionList; + limit: number; } = $props(); let open = $state(false); @@ -121,4 +123,4 @@ {/snippet} - +