fix(ui): one name for the workflow chat bar
This commit is contained in:
1 parent
27c70d8e24
commit
0d6d5e7dd3
2 files changed
+3
-4
No files matched your search
@@ -14,7 +14,7 @@ import { channelID } from "@/chat/channel";
|
||||
* earlier turns as context. Archie writes the draft; the operator keeps or
|
||||
* reverts each change in the draft review and publishes.
|
||||
*/
|
||||
const props = defineProps<{ workflow: string; empty: boolean; beforeSend: () => Promise<void> }>();
|
||||
const props = defineProps<{ workflow: string; beforeSend: () => Promise<void> }>();
|
||||
const emit = defineEmits<{ proposed: []; working: [boolean] }>();
|
||||
|
||||
const text = ref("");
|
||||
@@ -101,8 +101,8 @@ async function send(): Promise<void> {
|
||||
<input
|
||||
v-model="text"
|
||||
class="min-w-0 flex-1 bg-transparent text-sm outline-none placeholder:text-fg-subtle"
|
||||
:placeholder="empty ? 'Build with Archie' : 'Iterate with Archie'"
|
||||
:aria-label="empty ? 'Build with Archie' : 'Iterate with Archie'"
|
||||
placeholder="Build with Archie"
|
||||
aria-label="Build with Archie"
|
||||
:disabled="busy"
|
||||
/>
|
||||
<span v-if="busy" class="flex shrink-0 items-center gap-1.5 text-xs text-fg-subtle">
|
||||
|
||||
@@ -466,7 +466,6 @@ function syncScroll(event: Event): void {
|
||||
v-if="selected"
|
||||
:key="selected"
|
||||
:workflow="selected"
|
||||
:empty="!parsed.ok || parsed.steps.length === 0"
|
||||
:before-send="flushDraft"
|
||||
@proposed="takeProposal"
|
||||
@working="(value) => (archieWorking = value)"
|
||||
|
||||
Reference in new issue
Block a user