feat(ui): dock the chat at the bottom of every page and keep a skeleton while a conversation loads

This commit is contained in:
sam committed 2026-10-19 03:01:12 +11:00
1 parent 0eecc95aac
commit 61ee5fd3a7
16 files changed
+222 -317

No files matched your search

+3 -3
View File
@@ -5,7 +5,7 @@ import { useRoute } from "vue-router";
import AccountEntry from "@/accounts/AccountEntry.vue";
import { useAccountsStore } from "@/accounts/accounts";
import ChatLauncher from "@/chat/ChatLauncher.vue";
import ChatDock from "@/chat/ChatDock.vue";
import Topbar from "@/components/topbar/Topbar.vue";
import SettingsShell from "@/settings/SettingsShell.vue";
import { TooltipProvider } from "@/components/ui/tooltip";
@@ -59,7 +59,7 @@ watch(() => accounts.status?.user, (user) => {
<a href="#main-content" class="sr-only focus:not-sr-only focus:fixed focus:top-2 focus:left-4 focus:z-[60] focus:rounded-md focus:bg-card focus:px-3 focus:py-2">Skip to main content</a>
<Topbar :hidden="hidden" />
<main id="main-content" ref="main" tabindex="-1" class="scroll-mt-16 w-full flex-1 px-6 py-5 max-lg:p-4"
:class="workflowsPage ? 'max-md:flex max-md:min-h-0 max-md:flex-col' : 'max-md:pb-24'">
:class="workflowsPage ? 'max-md:flex max-md:min-h-0 max-md:flex-col' : 'pb-24'">
<!--
Keyed on the path and its parameters but not the query: a query-only
change is an entry state, so the page keeps the operator's filters,
@@ -79,6 +79,6 @@ watch(() => accounts.status?.user, (user) => {
</main>
</div>
<ChatLauncher />
<ChatDock />
</TooltipProvider>
</template>