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

Feature: Add Duplicate Button and Functionality to home_view.dart #650

Open
mahendra-918 opened this issue Jan 28, 2025 · 1 comment · May be fixed by #651
Open

Feature: Add Duplicate Button and Functionality to home_view.dart #650

mahendra-918 opened this issue Jan 28, 2025 · 1 comment · May be fixed by #651
Assignees
Labels

Comments

@mahendra-918
Copy link
Contributor

Description

The home_view.dart file currently lacks a duplicate button for alarms. This issue proposes the addition of a "Duplicate Alarm" button to the existing popup menu alongside the "Preview Alarm" and "Delete Alarm" buttons, along with implementing the necessary functionality to duplicate an alarm.

Steps to Implement:

Add Duplicate Button to PopupMenuButton:

Add a new PopupMenuItem for the duplicate button in the home_view.dart file.
Implement duplicateAlarm Method in HomeController:

Ensure the duplicateAlarm method is implemented in HomeController to handle the duplication logic.

Screenshots

No response

@MarkisDev
Copy link
Collaborator

This is a cool idea, however, we'll need to take care of a couple caveats with this. We need to ensure the alarms can be duplicated only within a single profile and that the data is consistent within the database. Shared alarms, ideally, should not be duplicated.

@MarkisDev MarkisDev added the feat label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants