feat: Implement recursive storage listing and directory browsing for backups, and add a migration option to fix cross-filters.

This commit is contained in:
2026-02-25 20:01:33 +03:00
parent 5d42a6b930
commit f9ac282596
12 changed files with 533 additions and 53 deletions

View File

@@ -386,6 +386,10 @@
}
if (action.type === "confirm" && message.confirmation_id) {
// Hide buttons immediately to prevent repeated clicks
messages = messages.map((m) =>
m.message_id === message.message_id ? { ...m, actions: [] } : m,
);
const response = await confirmAssistantOperation(
message.confirmation_id,
);
@@ -394,6 +398,10 @@
}
if (action.type === "cancel" && message.confirmation_id) {
// Hide buttons immediately to prevent repeated clicks
messages = messages.map((m) =>
m.message_id === message.message_id ? { ...m, actions: [] } : m,
);
const response = await cancelAssistantOperation(
message.confirmation_id,
);
@@ -608,7 +616,9 @@
<span
class="text-[11px] font-semibold uppercase tracking-wide text-slate-500"
>
{message.role === "user" ? $t.assistant?.you : $t.assistant?.assistant}
{message.role === "user"
? $t.assistant?.you
: $t.assistant?.assistant}
</span>
{#if message.state}
<span