Skip to content

Feature: Add Comprehensive Alarm Sorting Feature #756

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
mahendra-918 opened this issue Mar 18, 2025 · 1 comment · May be fixed by #757
Open

Feature: Add Comprehensive Alarm Sorting Feature #756

mahendra-918 opened this issue Mar 18, 2025 · 1 comment · May be fixed by #757
Assignees

Comments

@mahendra-918
Copy link
Collaborator

Description

Description:

Implement a flexible sorting system for alarms that allows users to sort their alarms by different criteria with configurable sort direction.

Implementation Steps:

  1. Create sort mode and direction enums
  2. Update alarm model with necessary fields
  3. Implement sorting logic in home controller
  4. Add sorting UI to settings
  5. Update settings controller with sort preferences
  6. Add persistence for sort settings
  7. Test all sort modes and directions
  8. Handle edge cases (empty labels, null dates, etc.)

Testing Requirements:

  1. Test all sort modes with various alarm configurations
  2. Verify sort direction works for all modes
  3. Test persistence of sort settings
  4. Test edge cases and error handling
  5. Test performance with large number of alarms
  6. Test interaction with alarm modifications

Related Files:

  • lib/app/data/models/sort_mode.dart
  • lib/app/data/models/alarm_model.dart
  • lib/app/modules/home/controllers/home_controller.dart
  • lib/app/modules/settings/controllers/settings_controller.dart
  • lib/app/modules/settings/views/sort_options_view.dart

Screenshots

No response

@mahendra-918
Copy link
Collaborator Author

hi @MarkisDev can you please assign me this :)

@mahendra-918 mahendra-918 linked a pull request Mar 18, 2025 that will close this issue
4 tasks
@mahendra-918 mahendra-918 self-assigned this May 21, 2025
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 a pull request may close this issue.

1 participant