feat: add task buttons to Kanban headers (#863)

* wip: add task

* add handler

* i18n

* add button styles

---------

Co-authored-by: Louis Knight-Webb <louis@bloop.ai>
This commit is contained in:
Gabriel Gordon-Hall
2025-09-26 16:34:52 +01:00
committed by GitHub
parent e3727e249d
commit dd877eaa51
6 changed files with 57 additions and 10 deletions

View File

@@ -61,6 +61,7 @@ export function ProjectTasks() {
const [project, setProject] = useState<Project | null>(null);
const [error, setError] = useState<string | null>(null);
// Helper functions to open task forms
const handleCreateTask = () => {
if (project?.id) {
@@ -540,6 +541,7 @@ export function ProjectTasks() {
onDuplicateTask={handleDuplicateTaskCallback}
onViewTaskDetails={handleViewTaskDetails}
selectedTask={selectedTask || undefined}
onCreateTask={handleCreateNewTask}
/>
</div>
)}