ultimate_alarm_clock icon indicating copy to clipboard operation
ultimate_alarm_clock copied to clipboard

Feature: Implement Task List for Alarms

Open mahendra-918 opened this issue 1 year ago • 1 comments

Description

This PR implements a comprehensive task list feature for alarms, allowing users to manage daily tasks directly from their alarms. Tasks are displayed when an alarm rings, providing users with immediate visibility of their to-dos upon waking up.

Proposed Changes

This PR adds a new Task List feature to enhance the alarm functionality:

  • Data Model Changes:

    • Add TaskModel class with properties for ID, text, and completion status
    • Extend AlarmModel with isTaskListEnabled flag and serializedTaskList storage
    • Implement serialization/deserialization for task persistence
  • UI Components:

    • Create full-screen TaskListEditorPage for task management
    • Add task list display to alarm ring view
    • Implement interactive checkboxes for task completion
    • Support for task reordering and swipe-to-delete
  • Interaction Flow:

    • Allow users to enable/disable task lists per alarm
    • Present tasks when alarm rings
    • Track completed vs. pending tasks
    • Persist task state between app sessions
  • Code Organization:

    • Update controllers to handle task state
    • Fix layout issues to ensure proper button visibility
    • Implement responsive design for various screen sizes
  • Bug Fixes:

    • Resolve button visibility issues in the alarm ring view
    • Fix layout spacing when tasks are displayed
    • Ensure proper reactive state management

These changes provide users with a valuable feature to view and manage their tasks directly from alarms, improving productivity and organization in their daily routines.

Screenshots

https://github.com/user-attachments/assets/25733b06-846b-4d1a-b32b-113c9f543aaf

Checklist

  • [x] Tests have been added or updated to cover the changes
  • [x] Documentation has been updated to reflect the changes
  • [x] Code follows the established coding style guidelines
  • [x] All tests are passing

mahendra-918 avatar Apr 13 '25 03:04 mahendra-918

Hi @MarkisDev can you please review this PR :)

mahendra-918 avatar Apr 13 '25 03:04 mahendra-918