We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f37fad8 commit cc8c889Copy full SHA for cc8c889
1 file changed
apps/code/src/renderer/features/sidebar/components/TaskListView.tsx
@@ -360,7 +360,22 @@ export function TaskListView({
360
361
<SectionLabel label="Tasks" endContent={<TaskFilterMenu />} />
362
363
- {organizeMode === "by-project" ? (
+ {pinnedTasks.length === 0 &&
364
+ flatTasks.length === 0 &&
365
+ groupedTasks.length === 0 ? (
366
+ <div className="flex flex-col items-center gap-3 px-4 py-8 text-center">
367
+ <Text size="2" className="text-gray-11">
368
+ No tasks yet
369
+ </Text>
370
+ <button
371
+ type="button"
372
+ className="rounded-md bg-gray-3 px-3 py-1.5 text-[13px] text-gray-12 transition-colors hover:bg-gray-4"
373
+ onClick={() => navigateToTaskInput()}
374
+ >
375
+ New task
376
+ </button>
377
+ </div>
378
+ ) : organizeMode === "by-project" ? (
379
<DragDropProvider
380
onDragOver={handleDragOver}
381
sensors={[
0 commit comments