Skip to content

Commit daa97fa

Browse files
committed
Keep prompt visible during task creation
1 parent 2187bff commit daa97fa

1 file changed

Lines changed: 12 additions & 24 deletions

File tree

apps/code/src/renderer/features/task-detail/components/TaskInputEditor.tsx

Lines changed: 12 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -182,30 +182,18 @@ export const TaskInputEditor = forwardRef<
182182
>
183183
&gt;
184184
</Text>
185-
{isCreatingTask ? (
186-
<Text
187-
size="2"
188-
color="gray"
189-
style={{
190-
fontFamily: "monospace",
191-
fontSize: "var(--font-size-1)",
192-
}}
193-
>
194-
Creating task...
195-
</Text>
196-
) : (
197-
<Box
198-
style={{
199-
flex: 1,
200-
position: "relative",
201-
minWidth: 0,
202-
maxHeight: "200px",
203-
overflowY: "auto",
204-
}}
205-
>
206-
<EditorContent editor={editor} />
207-
</Box>
208-
)}
185+
<Box
186+
style={{
187+
flex: 1,
188+
position: "relative",
189+
minWidth: 0,
190+
maxHeight: "200px",
191+
overflowY: "auto",
192+
opacity: isCreatingTask ? 0.5 : 1,
193+
}}
194+
>
195+
<EditorContent editor={editor} />
196+
</Box>
209197
</Flex>
210198
</Flex>
211199

0 commit comments

Comments
 (0)