Added custom presets to timer
Description
Added custom presets to timer. Now we can add and save custom presets in the timer section. Now users can add custom presets to timer and then save them, so they don't have to enter the same time every time. Have attached the screen record.
https://github.com/user-attachments/assets/f2553ce1-401a-4448-816a-c48c0d053f9d
Fixes #656
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
Hi, @MarkisDev. Can you review this pr.
@NishantSinghal19 can you check this pr and review it.
@Vardhan-ysh The implementation seems fine, but I think we will have to work on the UI for this. It looks very different from what was proposed in the issue discussion, this UI will just end up being more confusing imo and users would think it's a bug.
@MarkisDev , I tried following the ui I showcased but other things started glitching. I will try updating the UI for this page to look better.
@Vardhan-ysh have you completed this implementation ?? If not I would like to work on it..
There's a doubt I want to ask of you @MarkisDev and @Vardhan-ysh that the present_button you created was actually an imitation of the pre-existing file , hover_preset_button.dart right ?? so we don't actually need your file and only need to work on the hover_.....dart file right ?
There's a doubt I want to ask of you @MarkisDev and @Vardhan-ysh that the present_button you created was actually an imitation of the pre-existing file , hover_preset_button.dart right ?? so we don't actually need your file and only need to work on the hover_.....dart file right ?
For the presets I only created the model file and changed the controller file. For the ui, I only edited the base files. I have been a little busy due to college exams so I have not been able to work on this. You can continue with this issue.The implementation part is working fine, you just need to update the ui for timer page so it is less confusing on how to use.
Actually I have been thinking of adding new functionalities to it as well so I'll have to look into your code and see if i can reuse it in some way or not. Also presets_button.dart file is now shown as deleted in "View Reviewed Changes" so is it that this file is not really needed right !
Also is the file presets_button.dart even needed.. @Vardhan-ysh review this get back to me about this, please.
@Vardhan-ysh @VatsalJain2004 Hey guys, anyone working on it??