Skip to content

Open source file-system and knowledge based agent template. Build AI agents that stay up to date with your knowledge base

up

Hugo Richardabd91e42ef8f
diff --git a/apps/chat/app/assets/css/main.css b/apps/chat/app/assets/css/main.css
index 7f52828..ce72b5e 100644
--- a/apps/chat/app/assets/css/main.css
+++ b/apps/chat/app/assets/css/main.css
@@ -23,7 +23,7 @@
--ui-container: var(--container-3xl);
--ui-radius: 0.15rem;
- overscroll-behavior: none;
+ overscroll-behavior-y: none;
}
html {
diff --git a/apps/chat/app/pages/admin/logs.vue b/apps/chat/app/pages/admin/logs.vue
index bc9cf8b..aa58579 100644
--- a/apps/chat/app/pages/admin/logs.vue
+++ b/apps/chat/app/pages/admin/logs.vue
@@ -128,7 +128,6 @@ const deleteModal = overlay.create(LazyModalConfirm, {
async function runPreview() {
if (!activeValue.value) return
- previewCount.value = null
isPreviewing.value = true
try {
const query: Record<string, string> = { before: cutoffDate.value! }
@@ -397,7 +396,8 @@ async function investigateErrors() {
<div
v-if="previewCount !== null && previewCount !== undefined && activeValue"
- class="flex items-center justify-between gap-4 rounded-md bg-elevated px-4 py-3"
+ class="flex items-center justify-between gap-4 rounded-md bg-elevated px-4 py-3 transition-opacity duration-200"
+ :class="isPreviewing ? 'opacity-50' : 'opacity-100'"
>
<div>
<p class="text-sm">
@@ -423,7 +423,7 @@ async function investigateErrors() {
<span v-else class="text-xs text-muted italic">Nothing to delete</span>
</div>
- <div v-else-if="isPreviewing" class="flex items-center gap-2 text-sm text-muted">
+ <div v-else-if="isPreviewing && previewCount === null" class="flex items-center gap-2 text-sm text-muted">
<UIcon name="i-lucide-loader-circle" class="size-3.5 animate-spin" />
Counting logs…
</div>