This PR introduces a new feature that allows users to add manual tasks to their plans. Before adding a task, users must select a date from two options: "Yesterday" and "Today". This ensures tasks are accurately categorized based on their intended date.
Key Changes:
Manual Tasks Feature:
Users can now add manual tasks to their plans.
Each task must be associated with a date selection of either "Yesterday" or "Today".
Date Selection:
Implemented a
Ensured that the selected date persists through state management.
State Management:
Introduced state management for handling the date selection using useState in React.
Added logic to reset the date selection to "Today" after a task is submitted.
This PR introduces a new feature that allows users to add manual tasks to their plans. Before adding a task, users must select a date from two options: "Yesterday" and "Today". This ensures tasks are accurately categorized based on their intended date.
Key Changes:
Manual Tasks Feature:
Users can now add manual tasks to their plans. Each task must be associated with a date selection of either "Yesterday" or "Today".
Date Selection:
State Management: