From cdf90222c769bc29a2a4ad6742a6b950772a1eb8 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 5 Nov 2025 03:59:09 -0500 Subject: [PATCH] refac --- .../chat/Messages/ResponseMessage.svelte | 5 +- .../ResponseMessage/StatusHistory.svelte | 75 +++++++------------ 2 files changed, 30 insertions(+), 50 deletions(-) diff --git a/src/lib/components/chat/Messages/ResponseMessage.svelte b/src/lib/components/chat/Messages/ResponseMessage.svelte index 4d8937a74b..80694190ef 100644 --- a/src/lib/components/chat/Messages/ResponseMessage.svelte +++ b/src/lib/components/chat/Messages/ResponseMessage.svelte @@ -648,10 +648,7 @@
{#if model?.info?.meta?.capabilities?.status_updates ?? true} - + {/if} {#if message?.files && message.files?.filter((f) => f.type === 'image').length > 0} diff --git a/src/lib/components/chat/Messages/ResponseMessage/StatusHistory.svelte b/src/lib/components/chat/Messages/ResponseMessage/StatusHistory.svelte index bcc29ab243..9971db4b97 100644 --- a/src/lib/components/chat/Messages/ResponseMessage/StatusHistory.svelte +++ b/src/lib/components/chat/Messages/ResponseMessage/StatusHistory.svelte @@ -29,38 +29,6 @@ {#if history && history.length > 0} {#if status?.hidden !== true}
- {#if showHistory} -
- {#if history.length > 1} -
- {#each history as status, idx} - {#if idx !== history.length - 1} -
-
-
- - - -
- -
-
- - -
- {/if} - {/each} -
- {/if} -
- {/if} - + + {#if showHistory} +
+ {#if history.length > 1} +
+ {#each history as status, idx} +
+
+
+ + + +
+ {#if idx !== history.length - 1} +
+ {/if} +
+ + +
+ {/each} +
+ {/if} +
+ {/if}
{/if} {/if}