Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Tasks - To-Do Management

Track what needs to be done

Tasks Interface Screen

Overview

Tasks is your to-do list manager within General Bots Suite. Create tasks, set priorities, organize by category, and track your progress. Built with HTMX for instant updates without page reloads.


Features

Adding Tasks

Quick Add:

  1. Type task description in the input box
  2. Press Enter or click + Add

With Details:

  1. Type task description
  2. Select a category (optional)
  3. Pick a due date (optional)
  4. Click + Add

Priority Levels

PriorityIconWhen to Use
High🔴Must do today
Medium🟡Important but not urgent
Low🟢Can wait
NoneNo deadline

Categories

CategoryIcon
Work💼
Personal🏠
Shopping🛒
Health❤️
Custom🏷️

Filter Tabs

TabShows
AllAll tasks
ActiveUncompleted tasks
CompletedDone tasks
PriorityHigh priority only

Keyboard Shortcuts

ShortcutAction
EnterAdd task (when in input)
SpaceToggle task completion
DeleteRemove selected task
TabMove to next field
EscapeCancel editing
/ Navigate tasks

Creating Tasks from Chat

Managing Tasks via Chat

Setting Reminders


API Endpoints

EndpointMethodDescription
/api/tasksGETList all tasks
/api/tasksPOSTCreate new task
/api/tasks/:idGETGet single task
/api/tasks/:idPATCHUpdate task
/api/tasks/:idDELETEDelete task
/api/tasks/statsGETGet task statistics

Query Parameters

ParameterValuesDefault
filterall, active, completed, priorityall
categorywork, personal, shopping, healthnone
sortcreated, dueDate, priority, textcreated
orderasc, descdesc

Request Body (Create/Update)

{
    "text": "Review quarterly report",
    "category": "work",
    "dueDate": "2024-03-20",
    "priority": "high",
    "completed": false
}

Response Format

{
    "id": 123,
    "text": "Review quarterly report",
    "category": "work",
    "dueDate": "2024-03-20",
    "priority": "high",
    "completed": false,
    "createdAt": "2024-03-18T10:30:00Z",
    "updatedAt": "2024-03-18T10:30:00Z"
}

Integration with Calendar

Tasks with due dates automatically appear in your Calendar view, helping you visualize your workload across days and weeks.


Troubleshooting

Tasks Not Saving

  1. Check network connection
  2. Verify API endpoint is accessible
  3. Check browser console for errors
  4. Try refreshing the page

Filters Not Working

  1. Click the filter tab again
  2. Check if tasks exist for that filter
  3. Clear browser cache

Stats Not Updating

  1. Reload the page
  2. Check for JavaScript errors in console

See Also