Maybe a "hidden" key is enough, with a switch in the alarms app options toggling between showing everything or only not hidden timers/alarms.
I think that's best, yes - in fact for now I'd say just hide them and don't worry about an option. Developers can always look in the json file.
I notice there is already (looking at the README in sched):
hidden : false, // OPTIONAL if false, the widget should not show an icon for this alarm
So maybe we go with visible or something like that?
Since the sched lib works really well any duplication of the functionality there would be suboptimal.
Yes, please don't duplicate it! I spent a lot of time trying to make sched to replace the 7 different duplicate (and all buggy) alarm implementations there were before - I don't want to have to go through that again!
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I think that's best, yes - in fact for now I'd say just hide them and don't worry about an option. Developers can always look in the json file.
I notice there is already (looking at the README in sched):
So maybe we go with
visible
or something like that?Yes, please don't duplicate it! I spent a lot of time trying to make sched to replace the 7 different duplicate (and all buggy) alarm implementations there were before - I don't want to have to go through that again!