UX: queue bubbles, dashboard queuing, duplicate confirm buttons, short-note fix
- Dashboard chat: allow typing/sending during streaming (queued in store) placeholder updates to "Type to queue…" during generation - ChatView/WorkspaceView: replace queued chip with actual pending message bubbles — light grey, dashed border, "Queued" badge above content; clear button below the stack - ToolCallCard: when tool returns requires_confirmation=True, show "Similar content found" label (not "Error"), link to the similar note, and "Create Anyway" / "Don't Create" buttons that auto-send the reply - tools.py: fuzzy title match now returns requires_confirmation=True with similar_note data instead of a hard error, so numbered-series notes (Lore: X 0, Lore: X 1) can be created with one button click; semantic match responses also include similar_note for the link Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -84,6 +84,11 @@ export const useChatStore = defineStore("chat", () => {
|
||||
return id ? (convQueues.value[id]?.length ?? 0) : 0;
|
||||
});
|
||||
|
||||
const queuedMessages = computed(() => {
|
||||
const id = currentConversation.value?.id;
|
||||
return id ? (convQueues.value[id] ?? []) : [];
|
||||
});
|
||||
|
||||
function clearQueue() {
|
||||
const id = currentConversation.value?.id;
|
||||
if (id) convQueues.value[id] = [];
|
||||
@@ -556,6 +561,7 @@ export const useChatStore = defineStore("chat", () => {
|
||||
chatReady,
|
||||
isStreamingConv,
|
||||
queuedCount,
|
||||
queuedMessages,
|
||||
clearQueue,
|
||||
fetchConversations,
|
||||
createConversation,
|
||||
|
||||
Reference in New Issue
Block a user