diff --git a/src/lib/pages/HistoryPage.svelte b/src/lib/pages/HistoryPage.svelte
index 556fc47..6a240b3 100644
--- a/src/lib/pages/HistoryPage.svelte
+++ b/src/lib/pages/HistoryPage.svelte
@@ -4,8 +4,10 @@
import { history, saveHistory, deleteFromHistory } from "$lib/stores/page.svelte.js";
import { convertFileSrc } from "@tauri-apps/api/core";
import Card from "$lib/components/Card.svelte";
+ import EmptyState from "$lib/components/EmptyState.svelte";
import { formatTime, formatDuration } from "$lib/utils/time.js";
import { PLAYBACK_SPEEDS, FEEDBACK_TIMEOUT_MS } from "$lib/utils/constants.js";
+ import { Search, Clock, Play, Pause, FileText, Mic, ChevronDown } from 'lucide-svelte';
let searchQuery = $state("");
let expandedId = $state(null);
@@ -157,9 +159,7 @@
-
+
{#if filtered.length === 0}
-
-
-
- {searchQuery ? "No matching transcripts" : "No history yet"}
-
-
- {searchQuery ? "Try a different search" : "Transcripts auto-save after recording"}
-
-
+
{:else}
{#each filtered as item}
toggleExpand(item.id)}
onkeydown={(e) => { if (e.key === "Enter" || e.key === " ") { e.preventDefault(); toggleExpand(item.id); } }}
role="button"
@@ -215,18 +207,12 @@
aria-label={playingId === item.id && audioEl && !audioEl.paused ? "Pause" : "Play"}
>
{#if playingId === item.id && audioEl && !audioEl.paused}
-
+
{:else}
-
+
{/if}
{:else}
-
{/if}
@@ -245,19 +231,9 @@
{#if item.source && item.source.toLowerCase().includes("file")}
-
-
+
{:else}
-
-
+
{/if}
@@ -267,17 +243,17 @@
-
+
{#if expandedId === item.id}
-
+
{#if item.audioPath && playingId === item.id}
@@ -315,22 +291,26 @@
{#if item.audioPath && item.segments && item.segments.length > 0}
{/if}