Skip to content

Categorize Tasks  #11

@vidhitamittal

Description

@vidhitamittal

Summary:
Introduce a task categorization feature to the to-do list application, allowing users to group tasks into predefined or custom categories such as "Grocery List," "College Assignments," and "Event Deadlines." This enhancement will help users organize tasks more effectively and improve overall task management.

Objectives:

  1. Add support for assigning a category to each task during creation or editing.
  2. Enable predefined categories (e.g., "Grocery List," "College Assignments," "Event Deadlines") and allow users to create custom categories.
  3. Allow users to filter tasks by category on the home page.

Changes:

  • Add a new categories table to store category names with attributesid, name, user_id for custom categories
  • Add a category_id column to the Todo table to associate each task with a category.
  • Add a query to fetch all categories for a user (predefined and custom).
  • Enable filtering tasks by category using queries in the flask script.

Benefits:

  • Improved Task Organization: Users can categorize tasks logically, making it easier to manage and locate them.
  • Personalization: Custom categories allow users to tailor the app to their specific needs and workflows.
  • Enhanced Usability: Category-based filtering simplifies navigation and provides a clear overview of tasks by type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions