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

Add reminder date feature #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

PierreCruveiller
Copy link

Overview

This PR introduces the Reminder Date feature to enhance task management. The updates include backend modifications for data handling and frontend improvements for user interaction.

Key Changes

  • Database Update:
    • Added a new 'reminderDate' column to the 'task' table with an updated Task model.
  • Frontend Enhancements:
    • Developed the 'ReminderModal' component for inputting and updating reminder dates.
    • Updated the 'App.tsx' to include reminder modal functionality.
    • Integrated a new SVG icon for reminders.
    • Introduced the 'SvgButton' component for SVG-based button functionality.
  • Code Organization:
    • Refactored GraphQL queries and subscriptions into separate files for improved maintainability.
  • Component Updates:
    • Enhanced 'Form', 'TaskElement', and 'TaskList' components to support the new reminder feature.
  • Styling:
    • Updated CSS styles to align with the new reminder features and modal design.
  • Utilities:
    • Integrated the 'moment' package for advanced date and time handling.

Impact

This update brings an enhancement to the To Do list app by allowing users to set and manage reminder dates for tasks, allowing for a future notification system implementation to improve organization and efficiency.

- Implemented new migration to add 'reminderDate' column to the 'task' table.
- Updated the Task model to include the 'reminderDate' field.
- Enhanced the App component in 'App.tsx' to include reminder modal functionality.
- Added new SVG asset for reminder icon.
- Created 'ReminderModal' component to handle reminder date inputs and updates.
- Refactored GraphQL queries and subscriptions, moving them to separate files for better organization.
- Updated 'Form', 'TaskElement', and 'TaskList' components to integrate reminder functionality.
- Introduced 'SvgButton' component for reusable button functionality with SVG icons.
- Added new custom types for reminder date handling.
- Updated CSS styles to accommodate new reminder features and modal design.
- Integrated the 'moment' package for enhanced date and time handling across the application.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant