Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#36 Issue: Add Improved Logic for Task Manager #36

Open
Shrasht opened this issue Oct 11, 2024 · 0 comments
Open

#36 Issue: Add Improved Logic for Task Manager #36

Shrasht opened this issue Oct 11, 2024 · 0 comments
Assignees

Comments

@Shrasht
Copy link
Contributor

Shrasht commented Oct 11, 2024

The Task Manager application has been updated with improved logic to handle task management more efficiently. This includes functionality for adding tasks, marking them as completed, and displaying completed tasks along with the date and time they were completed. Additionally, tasks can be toggled back to incomplete status if needed. All actions are fully styled for better visual appearance.

Enhancements Made:

Add Task Logic: The addTask function has been improved to:

Ensure empty tasks are not allowed.
Create task elements that include both text and buttons for completion and deletion.
Completed Task Logic:

Added functionality to display the completion timestamp for each completed task.
Tasks can be marked as complete and will move to the "Completed Tasks" section.
The task's buttons for toggling completion and deletion are retained, even after moving between task lists.
Task Styling:

Added better styling for tasks in both the active and completed lists.
Each completed task shows the date and time it was marked as complete in a readable format.
Differentiated styles between active tasks and completed tasks (using .unchecked and .checked classes).
Next Steps:

Review the logic and styling to ensure it meets the project's needs.
Test the task manager for different edge cases like rapidly toggling tasks between active and completed states.
Consider adding a filter or sorting mechanism to organize tasks by completion date or priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants