From c333fcec32b1f90bf0da6bb14d2609c20e38a74f Mon Sep 17 00:00:00 2001 From: Adam Malczewski Date: Fri, 26 Jun 2026 22:21:55 +0900 Subject: style: switch from tabs to 2-space indentation (incl. svelte) --- .../cache-warming/ui/CacheWarmingView.svelte | 468 +++++++++++---------- 1 file changed, 239 insertions(+), 229 deletions(-) (limited to 'src/features/cache-warming/ui/CacheWarmingView.svelte') diff --git a/src/features/cache-warming/ui/CacheWarmingView.svelte b/src/features/cache-warming/ui/CacheWarmingView.svelte index ced5e99..9b3d694 100644 --- a/src/features/cache-warming/ui/CacheWarmingView.svelte +++ b/src/features/cache-warming/ui/CacheWarmingView.svelte @@ -1,234 +1,244 @@
- - - - -
- Refresh interval - - - m - - s - -
- - - {#if !controls.enabled} -

Warming paused.

- {:else if remaining !== null} -

Next warm in {formatCountdown(remaining)}

- {:else} -

Next warm: waiting…

- {/if} - - - {#if controls.retentionPct !== null} -

- Cache retention: {controls.retentionPct}% -

- {/if} - - - - - {#if !canWarm} -

Open or start a conversation to control its cache warming.

- {:else if errorText} -

{errorText}

- {:else if manualResult} - -

- Warmed — {manualResult.expectedCacheRate}% retained ({manualResult.cachePct}% of prompt cached) -

- {/if} - - - {#if latest} -
- -
- {formatWarmLabel(latest.pct)} -
-
- {#if earlier.length > 0} - {#each earlier as entry, i (i)} -

{formatWarmLabel(entry.pct)}

- {/each} - {:else} -

No earlier warmings.

- {/if} -
-
- {:else} -

No warming yet.

- {/if} + + + + +
+ Refresh interval + + + m + + s + +
+ + + {#if !controls.enabled} +

Warming paused.

+ {:else if remaining !== null} +

Next warm in {formatCountdown(remaining)}

+ {:else} +

Next warm: waiting…

+ {/if} + + + {#if controls.retentionPct !== null} +

+ Cache retention: {controls.retentionPct}% +

+ {/if} + + + + + {#if !canWarm} +

Open or start a conversation to control its cache warming.

+ {:else if errorText} +

{errorText}

+ {:else if manualResult} + +

+ Warmed — {manualResult.expectedCacheRate}% retained ({manualResult.cachePct}% of prompt + cached) +

+ {/if} + + + {#if latest} +
+ +
+ {formatWarmLabel(latest.pct)} +
+
+ {#if earlier.length > 0} + {#each earlier as entry, i (i)} +

{formatWarmLabel(entry.pct)}

+ {/each} + {:else} +

No earlier warmings.

+ {/if} +
+
+ {:else} +

No warming yet.

+ {/if}
-- cgit v1.2.3