enh: folders

This commit is contained in:
Timothy Jaeryang Baek
2025-07-19 14:29:08 +04:00
parent 3251f8b14d
commit 37c2fb0aa8
11 changed files with 361 additions and 50 deletions

View File

@@ -2113,8 +2113,8 @@
showBanners={!showCommands}
/>
<div class="flex flex-col flex-auto z-10 w-full @container">
{#if $settings?.landingPageMode === 'chat' || createMessagesList(history, history.currentId).length > 0}
<div class="flex flex-col flex-auto z-10 w-full @container overflow-auto">
{#if ($settings?.landingPageMode === 'chat' && !$selectedFolder) || createMessagesList(history, history.currentId).length > 0}
<div
class=" pb-2.5 flex flex-col justify-between w-full flex-auto overflow-auto h-0 max-w-full z-10 scrollbar-hidden"
id="messages-container"
@@ -2212,7 +2212,7 @@
</div>
</div>
{:else}
<div class="overflow-auto w-full h-full flex items-center">
<div class="flex items-center h-full">
<Placeholder
{history}
{selectedModels}