M08

Tasks

Project-agnostic task templates, events, phases, and execution flows.

Task primitives integrated with project and assessment workflows, including template groups, event actions, statuses, phases, and association to assessment questions.

TaskBoard.jsxtsx
import { useState } from 'react';
import { KanbanBoard, KanbanList, TaskRoadmap, ProgressBar, ProgressCircle } from '@cleen/cleen-components';
import { useTasks } from '@/hooks/useTasks';

export function TaskBoard({ projectId }) {
  const [view, setView] = useState('kanban'); // kanban | list | roadmap
  const { columns, tasks, move, progress } = useTasks(projectId);

  return (
    <div className="task-board">
      <header className="task-board-head">
        <h1>Tasks</h1>
        <ProgressCircle value={progress.percent} />
      </header>

      {view === 'kanban'  && <KanbanBoard columns={columns} onMove={move} />}
      {view === 'list'    && <KanbanList tasks={tasks} />}
      {view === 'roadmap' && <TaskRoadmap tasks={tasks} />}

      <footer>
        <ProgressBar value={progress.percent} max={100} label={`${progress.done}/${progress.total} done`} />
      </footer>
    </div>
  );
}

Capabilities

  • Project task template save/filter
  • Task template group save/delete/filter
  • Task event action save/filter
  • Task status type and phase management
  • Assessment question to task-template mapping

Benefits

  • Reusable execution framework across domains
  • Consistent delivery through templates
  • Direct bridge from assessment to action

Flow of work

  1. 01Define task templates and groups
  2. 02Map templates to workflow triggers
  3. 03Assign status and phase progression
  4. 04Execute and update tasks
  5. 05Analyze and refine templates

Subfeatures

  • Task template save/filter
  • Task template group save/delete/filter
  • Task event action save/filter
  • Task status filter
  • Task phase save
  • Task delete
  • Assessment-task template mapping
Source surfaces (technical reference)

Internal code areas in the licensed Full-Stack codebase that back this module.

  • ApiProject task endpoints
  • ApiAssessment question task-template endpoints
In the stack

Where it lives. What it exposes.

A quick visual of how Tasks participates across the CleenUI stack, alongside the named operations it adds to the API surface.

M08 · architecture
Frontend
React · TailwindCSS · 60+ components
Task listKanban boardTask editorPhase managerStatus timeline
API
C# Web API · production-ready · role-aware
Task templatesEvent actionsStatus typesPhase mgmtAssessment mapping
Database
AzureSQL · 300+ tables · 700+ procedures
TasksTaskTemplatesTaskGroupsPhasesStatuses
Async Services and Batch Jobs
WebJobs & Functions · queue-backed
Task schedulerEvent runner
All four layers ship together as the Full-Stack license. M08 blocks are highlighted.
API operations

Named operations on this surface

7
Try these in Postman
  • POSTTask template save/filter/project/task/template-save-filter
  • POSTTask template group save/delete/filter/project/task/template-group-save-delete-filter
  • POSTTask event action save/filter/project/task/event-action-save-filter
  • POSTTask status filter/project/task/status-filter
  • POSTTask phase save/project/task/phase-save
  • POSTTask delete/project/task/delete
  • POSTAssessment-task template mapping/project/task/assessment-task-template-mapping

Each operation maps to an endpoint in the licensed C# Web API surface.