InfiniTime icon indicating copy to clipboard operation
InfiniTime copied to clipboard

settings: Add sleep/wake notification times

Open chmeeedalf opened this issue 1 year ago • 4 comments

Add configure screens for sleep and wake notification times, so the watch can automatically set notifications to sleep or on as applicable.

This could probably be done in a much better way, but I didn't want to refactor the whole date/time UI to add this. An alternative, doing that, is to create a widget base class for all time-like setting widgets, and derive from that for each of the various interfaces.

chmeeedalf avatar Feb 03 '24 19:02 chmeeedalf

Build checks have not completed. Possible reasons for this are:

  1. The checks need to be approved by a maintainer
  2. The branch has conflicts
  3. The firmware build has failed

github-actions[bot] avatar Feb 03 '24 20:02 github-actions[bot]

Hi and thanks for your first contribution to the InfiniTime project ! Could you explain into more detail what those changes do? Maybe add a few screenshots of the new UI?

Oh and also do not forget to check that those changes are consistent with the InfiniTime vision.

JF002 avatar Feb 11 '24 13:02 JF002

I think this is similar to #1461, right? I think this is a very useful feature, let's decide on a good implementation together. It might be good if you could upload pictures from InfiniSim to see the UI.

FintasticMan avatar Feb 12 '24 11:02 FintasticMan

@FintasticMan yes, it's exactly like that, I didn't see it before. Here are a couple screenshots:

image

image

image

(I noticed I forgot to change "current time" in my code, until I looked closer to get the screenshot).

Setting sleep and wake times to the same value disables the operation.

chmeeedalf avatar Feb 12 '24 17:02 chmeeedalf