From 3c06c95f396b6e911076bc3291d5855ed01b5caa Mon Sep 17 00:00:00 2001 From: "netop://ウィビ" Date: Sun, 26 Apr 2026 20:18:30 -0700 Subject: cleanup and ready for launch --- source/library/components/HistoryPanel.svelte | 225 ++++++++++++++------------ 1 file changed, 122 insertions(+), 103 deletions(-) (limited to 'source/library/components/HistoryPanel.svelte') diff --git a/source/library/components/HistoryPanel.svelte b/source/library/components/HistoryPanel.svelte index 01f397a..e224e1e 100644 --- a/source/library/components/HistoryPanel.svelte +++ b/source/library/components/HistoryPanel.svelte @@ -1,4 +1,5 @@
-
-
- History -
- {#if onExport} - - {/if} - {#if onImport} - - - {/if} - {#if entries.length > 0} - - {/if} -
+
+ History + +
+ {#if onExport} + + {/if} + + {#if onImport} + + + {/if} + + {#if entries.length > 0} + + {/if}
- {#if notice} -
- {notice} - {#if onDismissNotice} - - {/if} -
- {/if}
+ + {#if notice} +
+ {notice} + {#if onDismissNotice} + + {/if} +
+ {/if} +
{#if sorted.length === 0}
No history yet.
@@ -264,16 +271,28 @@ class="star" class:active={entry.favorite} onclick={(e) => { e.stopPropagation(); onFavorite(entry.id); }} - type="button">{entry.favorite ? "★" : "☆"} + type="button"> + {#if entry.favorite} + + + + {:else} + + + + {/if} + +
{entry.title}
{formatTimestamp(entry.timestamp)}
+ + type="button">×
{/each} {/if} -- cgit v1.2.3