diff --git a/app/src/lib/components/ChatContainer.svelte b/app/src/lib/components/ChatContainer.svelte
index 14ab83e..c93001b 100644
--- a/app/src/lib/components/ChatContainer.svelte
+++ b/app/src/lib/components/ChatContainer.svelte
@@ -15,16 +15,18 @@
-
diff --git a/app/src/lib/components/RenderExamples.svelte b/app/src/lib/components/RenderExamples.svelte
index 6a3e3ea..03cb659 100644
--- a/app/src/lib/components/RenderExamples.svelte
+++ b/app/src/lib/components/RenderExamples.svelte
@@ -25,7 +25,7 @@
-
Start with one of the following
+ Start with one
{#each contentExamplesDict as [category, content]}
diff --git a/app/src/lib/components/RootNav.svelte b/app/src/lib/components/RootNav.svelte
index 99df60e..cb2a3bd 100644
--- a/app/src/lib/components/RootNav.svelte
+++ b/app/src/lib/components/RootNav.svelte
@@ -2,10 +2,10 @@
import Logo from './Logo.svelte';
import SearchSlideSheet from './SlideSheet.svelte';
import Sidebar from './Sidebar.svelte';
- import { Button } from './ui/button';
import { getAppContext } from '$lib/stores/appContext.svelte';
import { invalidateAll } from '$app/navigation';
import { mediaBreakPoints$ } from '@/utils/mediaBreakpoints';
+ import SidebarToggleButton from './SidebarToggleButton.svelte';
export let sessionId: string;
@@ -28,20 +28,9 @@
- {/if}
-
- {#if $mdAndUp}
+ {:else}
-
+
openSettingsDrawer$.update((v) => !v)} />
{/if}
diff --git a/app/src/lib/components/Sidebar.svelte b/app/src/lib/components/Sidebar.svelte
index de7e575..ce434a2 100644
--- a/app/src/lib/components/Sidebar.svelte
+++ b/app/src/lib/components/Sidebar.svelte
@@ -41,16 +41,18 @@
import cs from 'clsx';
import { page } from '$app/stores';
import NewAudiocastButton from './NewAudiocastButton.svelte';
- import { goto } from '$app/navigation';
+ import { goto, invalidateAll } from '$app/navigation';
import { env } from '@env';
+ import SidebarToggleButton from './SidebarToggleButton.svelte';
+ import Logo from './Logo.svelte';
const dispatch = createEventDispatcher<{ clickItem: void }>();
const { openSettingsDrawer$ } = getAppContext();
const { session$, refreshSidebar$ } = getSessionContext();
$: sidebarItems = getSidebarItems(getSessionItems());
-
- $: if ($refreshSidebar$ || $session$?.title) {
+
+ $: if ($refreshSidebar$ || $session$) {
sidebarItems = getSidebarItems(getSessionItems());
}
@@ -79,12 +81,23 @@
- {/if}
+ {:else}
+
+
Last 24 hrs
+ {#each inLast24Hrs as item (item.sessionId)}
+
+ {/each}
+
+
+
+
Last 7 days
+ {#each inLast7Days as item (item.sessionId)}
+
+ {/each}
+
-
-
Today
- {#each inLast24Hrs as item (item.sessionId)}
-
- {/each}
-
-
-
-
Last 7 days
- {#each inLast7Days as item (item.sessionId)}
-
- {/each}
-
-
-
-
Last month
- {#each inLast30Days as item (item.sessionId)}
-
- {/each}
-
-
+
+
Last 30 days
+ {#each inLast30Days as item (item.sessionId)}
+
+ {/each}
+
+
+ {/if}
diff --git a/app/src/lib/components/SidebarToggleButton.svelte b/app/src/lib/components/SidebarToggleButton.svelte
new file mode 100644
index 0000000..8c1501b
--- /dev/null
+++ b/app/src/lib/components/SidebarToggleButton.svelte
@@ -0,0 +1,15 @@
+
+
+
diff --git a/app/src/lib/components/SlideSheet.svelte b/app/src/lib/components/SlideSheet.svelte
index 19d4772..c1584f5 100644
--- a/app/src/lib/components/SlideSheet.svelte
+++ b/app/src/lib/components/SlideSheet.svelte
@@ -1,21 +1,12 @@