cookbook icon indicating copy to clipboard operation
cookbook copied to clipboard

Add user Comments

Open poltrian opened this issue 5 years ago • 10 comments

Hi, comment like stars or Like, or better you can write something "worst ever" "love" "you could add ... to ... make it better

poltrian avatar Jun 12 '19 06:06 poltrian

@poltrian Yeah, could be neat. Comments are actually supported in the schema.org standard. We can use the NextCloud user credentials for the user information.

mrzapp avatar Jul 12 '19 06:07 mrzapp

Where would you add the user credentials to a comment? to author or maybe a different schema field?

Teifun2 avatar Nov 30 '19 01:11 Teifun2

@Teifun2 the schema.org standard has a "comment" field we could use

mrzapp avatar Nov 30 '19 06:11 mrzapp

@mrzapp Yes i did see that. But if we want to store the credentials of the user + its comments, how do we do this? According to schema.org a Comment can have a Text (which would be the actual comment?) but what field would contain the user credentials? author?

 "recipeIngredient": [
    "1/4 cup oil",
    "1/4 cup water"
  ],
  "recipeInstructions": [
    "Step1: Step1."
  ],
  "commentCount": 1,
  "comment": [
    {
      "@type": "Comment",
      "text": "I Rate this recipe ....",
      "author": [
      	"@type": "Author".
      	"additionalName": "Username101",
      	"identifier": "UserId?"
      ]
    }
  ],

Teifun2 avatar Nov 30 '19 09:11 Teifun2

@Teifun2 exactly, the author field is meant for that. Your proposal is exactly how I would do it too.

mrzapp avatar Nov 30 '19 13:11 mrzapp

Although i think this is a very good feature i would leave it aside for the moment and first focus on #116 #47 and potentially #11 . I think the aspect of storing your own recipes and using them should be the main task. Sharing and collaborative work can come when the individuals database is at a certain level.

Teifun2 avatar Dec 05 '19 13:12 Teifun2

I second this one. One could use the tagging to indicate stars already but it would be nice for that the be represented visually. I would really like to see dated comments that would enable technical notes. E.g. "needs 60min cooking not 45 in our shitty oven". Less worried about the collaborative side of comments.

spikusmax avatar Jan 01 '20 01:01 spikusmax

May if you Update a Cooking step a popup appear which request to check if comments are out of date and could be removed.

Mannshoch avatar Apr 30 '20 10:04 Mannshoch

This is related to #323, #342 and potentially #364.

christianlupus avatar Nov 12 '20 11:11 christianlupus

"needs 60min cooking not 45 in our shitty oven"

This. Or comments like:

"Jan. 21: Used ordinary onion instead of scallion, and butternut pumpkin instead of hokkaido. Pumpkin took a bit longer to soften, but turned out great." Or:

"For some reason, meat turned out tough. Screw the supermarket. Buy at the butcher next time. Also, try less heat."

For me, keeping track of success and failure is an important part of recipe evolution - it's what helps you improve. To me, this isn't related to rating or collaboration - just a simple area for private notes.

Probably, comment field would be best at the bottom (after all, that's where you'd scribble manual notes on a printed recipe).

[Of course, if everyone could arrange order to their liking, that would be even better, but let's not be too greedy now. :-)) ]

GutHib avatar Jan 22 '21 08:01 GutHib