feat(ui): start tasks from the dashboard and slim it to activity and setup
This commit is contained in:
23 files changed
+297
-487
No files matched your search
@@ -109,6 +109,10 @@ onUnmounted(() => document.removeEventListener("keydown", onGlobalKeydown));
|
||||
<CommandGroup v-if="showWorkflows" heading="Actions">
|
||||
<CommandItem value="New task" @select="newTask">New task</CommandItem>
|
||||
</CommandGroup>
|
||||
<CommandGroup heading="Views">
|
||||
<CommandItem value="Tasks in progress" @select="go('/tasks?status=running')">Tasks in progress</CommandItem>
|
||||
<CommandItem value="Tasks needing attention" @select="go('/tasks?status=needs_you')">Tasks needing attention</CommandItem>
|
||||
</CommandGroup>
|
||||
<CommandGroup heading="Pages">
|
||||
<CommandItem
|
||||
v-for="entry in pages"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import { ref } from "vue";
|
||||
import AlertsBell from "@/alerts/AlertsBell.vue";
|
||||
import CommandPalette from "@/components/command-palette/CommandPalette.vue";
|
||||
import NewTaskButton from "@/tasks/NewTaskButton.vue";
|
||||
import NewTaskDialog from "@/tasks/NewTaskDialog.vue";
|
||||
import Brand from "./Brand.vue";
|
||||
import ConnectionPill from "./ConnectionPill.vue";
|
||||
import Nav from "./Nav.vue";
|
||||
@@ -21,7 +21,7 @@ const newTaskOpen = ref(false);
|
||||
<div class="flex shrink-0 items-center gap-2">
|
||||
<ConnectionPill />
|
||||
<CommandPalette :hidden="props.hidden" @new-task="newTaskOpen = true" />
|
||||
<NewTaskButton v-if="!props.hidden.includes('/workflows')" v-model:open="newTaskOpen" />
|
||||
<NewTaskDialog v-if="!props.hidden.includes('/workflows')" v-model:open="newTaskOpen" />
|
||||
<AlertsBell />
|
||||
<ProfileDropdown />
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user