Giter VIP home page Giter VIP logo

Comments (8)

mrzapp avatar mrzapp commented on June 15, 2024 1

I've made a keyword dropdown for now, we can reopen this issue later if needed

from cookbook.

horga83 avatar horga83 commented on June 15, 2024

I was thinking about this and maybe the easiest way is to have a tree view of folders one can select. For example:

recipes/salads
recipes/pasta
recipes/desserts

and so on, then just choose the folder out of a list or better yet a treeview. The treeview would not contain the base folder.

Thoughts?

from cookbook.

mrzapp avatar mrzapp commented on June 15, 2024

What would be doable at the present moment would be to group recipes by tags. I'm trying to stay compatible with the schema.org standard. Would that suffice? Otherwise, we can use file system folders

from cookbook.

GideonWolfe avatar GideonWolfe commented on June 15, 2024

Any updates on this? I would love some way to categorize recipes.

from cookbook.

mrzapp avatar mrzapp commented on June 15, 2024

@GideonWolfe I'm looking for someone to start this contribution, as I don't have a lot of time to work on this myself. Currently, I think the best would be to optionally categorise them by tags.

We would have to add folder nesting to this view

The option to enable/disable the categorisation could be a checkbox in this view

Would you like to give that a try?

from cookbook.

jgrete avatar jgrete commented on June 15, 2024

Hello,
I think structuring things like receipes is not an easy task and in my opinion the best method
would be to combine tags and treeview.
This could be done with a global filter containing tags and filtering all those receipes not containing one of the tags. I remember eclipse has something similar in it's settings dialog (treeview + tag). The tag entry field could be set by the user dynamically to reduce the set of receipes to a subset.
The overall look and feel would be determined by the treeview.
Just some thoughts...
My php knowledge is near zero so I can not contribute - sorry. I would happily testing though...
Regards
Jürgen

from cookbook.

christianlupus avatar christianlupus commented on June 15, 2024

I have another idea/suggestion. I am not sure if this might help, work out and be compatible to the standard...

Are the tags allow special chars like a - or /? In this case, one could combine both approaches by using semantic tags. One could have tags like italian/pizza, and italian/pasta which describe a hirachrical structure of tags. In the navigation area one could then build a graphical representation of this tree for filtering/sorting.

Of course there are quite some UI problems to be solved. I first wanted to ask if this looks as a feasible way.

from cookbook.

mrzapp avatar mrzapp commented on June 15, 2024

@christianlupus Tags are just strings, however we present the frontend is not necessarily schema dependent. I think it sounds like a good idea.

from cookbook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.