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

Filter by Category, Difficulty or Time #253

Open
tifDev opened this issue Jun 11, 2020 · 2 comments
Open

Filter by Category, Difficulty or Time #253

tifDev opened this issue Jun 11, 2020 · 2 comments
Labels
Backend Issue or PR related to the backend code enhancement New feature or request Frontend Issue or PR related to the frontend code javascript Pull requests that update Javascript code php Pull requests that update Php code

Comments

@tifDev
Copy link

tifDev commented Jun 11, 2020

Great application, congrats!

Sometimes i want to cook but i don't know what to cook, i just know that i want something quick and easy. This is where adding a this features would come really handy!

Difficulty

  1. Low
  2. Medium
  3. High

Time

  1. <10 min
  2. 10 - 30 min
  3. > 30 min
  4. Custom range
@tifDev tifDev added the enhancement New feature or request label Jun 11, 2020
@mrzapp mrzapp added this to the v0.9.0 milestone Jun 13, 2020
@christianlupus christianlupus added Backend Issue or PR related to the backend code Frontend Issue or PR related to the frontend code javascript Pull requests that update Javascript code php Pull requests that update Php code labels Jul 7, 2022
@seyfeb
Copy link
Collaborator

seyfeb commented Dec 23, 2023

We might use the https://schema.org/educationalLevel in combination with https://schema.org/DefinedTerm for the difficulty.

{
  "@context": "https://schema.org",
  "@type": "Recipe",
  "name": "Example Recipe",
  "educationalLevel": {
    "@type": "DefinedTerm",
    "name": "Easy"
  }
}

Should we define which values for educationalLevels are allowed? E.g., as @tifDev proposed three levels like Easy, Medium, Hard or Low, Medium, High. Or a more fine-grained approach like a number from 1 to 5?

@seyfeb
Copy link
Collaborator

seyfeb commented Jan 2, 2024

@tifDev When you say you want to filter for time, what property are you referring to? I'd expect the totalTime to be the most useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend Issue or PR related to the backend code enhancement New feature or request Frontend Issue or PR related to the frontend code javascript Pull requests that update Javascript code php Pull requests that update Php code
Projects
Status: To do
Development

No branches or pull requests

4 participants