cookbook
cookbook copied to clipboard
Timer per step
Is your feature request related to a problem? Please describe. Some recipes need a per step timer, like dough kneading or letting the dough prove.
Describe the solution you'd like A clear and concise description of what you want to happen. I would like to have a timer per step.
Describe alternatives you've considered Another solution could be, to have a timer as step, which will be added between 2 text steps. Or a recipe per timer could be created, but that doesn't sound really handy.
Just for reference: When the steps are stored as objects, one could use timeRequired as the storage for the time amount.
An observation, after entering over 200 recipes into my personal collection: some recipes have two or more steps documented per step. Would it be feasible to allow for that? I do assume it would be much simpler to enforce just one timer per step, both from a coding and UI perspective.
From a UI PoV, I think the simplest option would be to add a "Step timer" button to the collection of buttons already present when editing a step; when editing a timer, it would be useful to be able to provide both a duration and a title and/or summary.
If I can figure out how the current code works, I might try to take a crack at it, but I've never been good at UI code.
This would be useful for me; the first recipe I added already requires one 30 minute timer and another 10 minute one, so a 40 minute timer isn't really useful to me at all.
For the sake of completeness: On some other recipe/cooking website or app (can't remember which one) there were parts of an instruction with a time highlighted that indicate a time. Something like
... bake the cake for 45 Minutes ....
which would start a timer when clicked upon. This could be auto-detected (difficult due to many available languages) or manually setup, e.g. via a link in markdown to some specific URL timer:T0H45M0S
or whatever.
However in #1874 I made an example using the timeRequired
property.