Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-detect times in steps to start timers #2359

Open
seyfeb opened this issue Jun 6, 2024 · 1 comment
Open

Auto-detect times in steps to start timers #2359

seyfeb opened this issue Jun 6, 2024 · 1 comment
Labels
enhancement New feature or request Frontend Issue or PR related to the frontend code

Comments

@seyfeb
Copy link
Collaborator

seyfeb commented Jun 6, 2024

Is your feature request related to a problem? Please describe.

In recipes times for cooking, baking, etc. is often mentioned within the text. Often one wants to run a timer for this (and not necessarily or only the cooking time defined for the whole recipe).

Describe the solution you'd like

If in a text a time is mentioned like, e.g.,

Pour in the noodles and cook for 7 minutes.

the time should be auto detected, visually highlighted, and clicking/tapping on 7 minutes should start a timer.

I am aware that this requires language-specific implementations. Therefore I propose to add the https://schema.org/inLanguage property to recipes. This would allow creating regexes for the specific languages, starting by the most common ones (i.e., English and the ones the developers know) and working the way through other languages via pull requests of devs proficient in the respective language.

An alternative to the language property or a fallback if it's not set is to try to automatically detect the language (1, 2, 3).

Describe alternatives you've considered

Manually define cooking time for single steps. This would most certainly require manual work for auto-imported recipes.

@seyfeb seyfeb added enhancement New feature or request Frontend Issue or PR related to the frontend code labels Jun 6, 2024
@SirFlour
Copy link

SirFlour commented Oct 5, 2024

I really like the timer included. it is much better than the smartphone timer and with one click you have the right time, and even multiple timer at once :) That would be a very great feature to have more timers :) and to start it would be very useful to define timer(s) per step manually :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Frontend Issue or PR related to the frontend code
Projects
None yet
Development

No branches or pull requests

2 participants