Collapsable+resizable sidebar. Standard view header component.

This commit is contained in:
Shivering Ocelot committed 2025-07-20 21:44:20 -05:00
1 parent 69e8614a98
commit 9b30473c40
9 files changed
+202 -41

No files matched your search

+6 -1
View File
@@ -4,6 +4,8 @@
onMounted, onUnmounted,
} from "vue";
import TitleBar from '../components/TitleBar.vue';
import * as backend from '../backend';
import * as ui from '../ui';
@@ -188,7 +190,10 @@
<template>
<main>
<h1>{{ agent.name || `Agent-${id}` }}</h1>
<TitleBar>
<h1>{{ agent.name || `Agent-${id}` }}</h1>
</TitleBar>
<section class="top-section">
<p style="white-space: pre-wrap; padding-bottom: 1em; border-bottom: 1px solid var(--color-border)">{{ kindInfo.description }}</p>
+5 -1
View File
@@ -4,6 +4,8 @@
onMounted, onUnmounted,
} from "vue";
import TitleBar from '../components/TitleBar.vue';
import * as backend from '../backend';
import * as ui from '../ui';
@@ -48,7 +50,9 @@
<template>
<main>
<h1>Create New Chat</h1>
<TitleBar>
<h1>Create Agent</h1>
</TitleBar>
<div class="main-container">
<input v-model="agent.name" type="text" placeholder="name">
+5 -1
View File
@@ -4,6 +4,8 @@
onMounted, onUnmounted,
} from "vue";
import TitleBar from '../components/TitleBar.vue';
import * as backend from '../backend';
import * as ui from '../ui';
@@ -390,7 +392,9 @@
<template>
<main>
<h1>{{ chat.name || 'Chat #' + chat.id }}</h1>
<TitleBar>
<h1>{{ chat.name || 'Chat #' + chat.id }}</h1>
</TitleBar>
<div class="messages-container" ref="chatContainerElem">
<div v-for="msg in chatEntries" :class="chatEntryClass(msg)" @contextmenu.prevent="chatEntryContextMenu(msg)">
+5 -1
View File
@@ -4,6 +4,8 @@
onMounted, onUnmounted,
} from "vue";
import TitleBar from '../components/TitleBar.vue';
import * as backend from '../backend';
import * as ui from '../ui';
@@ -39,7 +41,9 @@
<template>
<main>
<h1>Create New Chat</h1>
<TitleBar>
<h1>Create Chat</h1>
</TitleBar>
<div class="main-container">
<input v-model="title" type="text" placeholder="title">