-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Summary:
Enhance the to-do list application's home page by introducing a feature to filter tasks based on their deadlines. This functionality will allow users to view tasks in a more organized manner, focusing on due dates such as upcoming, overdue, or tasks due today.
Objectives:
- Provide a mechanism to filter tasks on the home page based on their deadlines.
- Allow sorting tasks by ascending or descending deadline order for improved usability.
Changes:
- Update the python script to support queries for filtering tasks by specific deadline criteria (e.g., due today, overdue, or due within a specified timeframe).
- Add a filter option (e.g., dropdown) to the home page interface for selecting deadline criteria.
- Implement logic to fetch and sort tasks by deadline in ascending or descending order. Use SQL queries to fetch tasks matching conditions such as
deadline = CURRENT_DATE(due today). - Add queries to sort tasks by deadlines (
ORDER BY deadline ASC/DESC). - Use Flask templates to render tasks based on the selected filter or sort criteria.
Benefits:
- Better Task Organization: Users can easily focus on tasks with pressing deadlines, helping them prioritize more effectively.
- Improved Usability: A streamlined view of tasks by deadlines reduces clutter for users managing multiple tasks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels