Skip to content

Feature: Implement Task List for Alarms #817

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mahendra-918
Copy link
Contributor

@mahendra-918 mahendra-918 commented Apr 13, 2025

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

WhatsApp.Video.2025-04-13.at.08.44.58.mp4

Checklist

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

@mahendra-918
Copy link
Contributor Author

Hi @MarkisDev can you please review this PR :)

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