BlackyHawky / Clock

Privacy-conscious open-source clock, based on AOSP Clock
Apache License 2.0
246 stars 15 forks source link

Add function to set alarm "--:-- from now" #132

Open ltguillaume opened 4 days ago

ltguillaume commented 4 days ago

Describe the solution you'd like

There are cases where it would be preferable to not set an alarm by specifying the time directly, but by filling in the amount of hours and minutes from now (or, more specifically, from the moment you press the "OK" button).

Use case

Examples are when you have a washing machine that displays the time remaining or you need to put in x hours of work.

The benefits of setting an alarm compared to setting up a timer are:

  1. You're able to configure a separate ringtone, so you know immediately what's going on
  2. You're able to reuse a previous alarm's settings, while being able to change the time
  3. You're able to set a one-time alarm this way, which will be gone after it went off
  4. You'll get a notification that the alarm is set to go off when configured in the settings

Describe alternatives you've considered

Timers have the above drawbacks. To make timers as useful as an alarm with a "From now" feature, it would mean implementing:

  1. The ability to choose a ringtone per timer
  2. The ability to change an existing timer's remaining time
  3. The ability to remove the timer after it went off and was stopped
  4. The ability to add a notification of a timer's status

That's a lot more work than a single change for alarms.

Additional context

This could be implemented by adding to the digital time picker:

BlackyHawky commented 3 days ago

I don't understand the benefits of setting an alarm as you describe:

1. You're able to configure a separate ringtone, so you know immediately what's going on → Already possible in the extended alarm view 2. You're able to reuse a previous alarm's settings → Simply click on the "Duplicate" button 3. You're able to set a one-time alarm this way, which will be gone after it went off → Simply click on the "Delete alarm once dismissed" checkbox 4. You'll get a notification that the alarm is set to go off when configured in the settings → Already possible in the Alarms settings

That's a lot more work than a single change for alarms.

This is not true.

ltguillaume commented 3 days ago

I meant that implementing all these features for a timer would be a lot more work than implementing only a "From now" feature for alarms.

ltguillaume commented 1 day ago

Or did you mean that implementing these 4 features for timers is in fact not more work?