Recipe Revision History - Track changes over time #4584
Replies: 6 comments 2 replies
-
This would be interesting. Sort of like a timeline of changes and why you may have deviated from the original recipe. Especially considering taking a recipe from any source and tweaking it to be your own. Example Timeline On mm/dd/yyyy:
|
Beta Was this translation helpful? Give feedback.
-
That would be really nice. As it stands now, I'm taking a recipe, and adding instances of creation to that timeline with notes. But the NEXT time I go and try and cook that recipe, there's no easy way to reference what I did last time. This could be as simple as a pop-up / badge count of comments, so historical tweaks can be referenced. But I love revision history, cause I'm a nerd. On considerations, these are two asks really: a) git core recipe changes over time: would LOVE this. |
Beta Was this translation helpful? Give feedback.
-
I tend to just adjust the single recipe that's in mealie but you raised an interesting point. Most of the time I am making adjustments, its to tweak it for all future plans, though if it's just a one-time change (whoops, added 4 eggs instead of 5), then I may just put it the timeline using "I made this" or the comment section of the recipe itself. I know during the survey not a lot of people are using timeline, and with the inability to edit the timeline and that it's not really easily referenced, another way to audit & track comments / revisions would be welcomed. |
Beta Was this translation helpful? Give feedback.
-
I like the idea of tracking changes, but I think first we'd have to resolve how updates happen. I've noticed that if you modify ingredients in a recipe you don't actually need to click Save. If we can fix that, it would be easy to capture the before/after. Recipes do have a reference to their timeline events. I think it would be good to display those either with comments section or somewhere, wouldn't be too difficult to set that up. |
Beta Was this translation helpful? Give feedback.
-
Hmm that's an interesting find. It doesn't happen in all cases though. One note is I use pushover to notify if any recipe changes, so I'll list that in my tests and outcomes. Entering edit mode on a recipe and changing one of my ingredients from 100g to 101g:
Expected:
Actual:
Expected:
Actual:
Expected:
Actual:
Expected:
Actual:
So it really seems like scenario 1 is the issue and clicking the X button doesn't "cancel" the changes for ingredients, but most other methods work properly.
Other comments: An "audit trail" makes sense to have that lists:
Comments would be nice, but not expected, I'd rather just put that in the comment section myself. Unless you had something like "Comment Type" that you could drop down to select things like "Recipe Update, Comment on Taste, Misc Notes" but that's going much farther than a simple audit trail / tracking changes. Should clicking the X after making changes and deciding not to save them result in the same "warning" of unsaved changes? Or should it just cancel the changes without a notification? My thought is a warning, since it's right next to the save button and I've definitely accidentally clicked it before. Truth be told, I personally find the "cancel" and "ok" confusing as well. I'd expect if I tried to leave the page and I didn't save my changes it would 1. Prompt me like it does but 2. Clicking ok would keep me on the page and not just "save". I have to stop and read the dialog each time because to make sure I know what I'm doing. |
Beta Was this translation helpful? Give feedback.
-
Testing out the sort of git revision style system for recipes by creating an immutable RecipeHistory table that will include
If this is the first revision stored, the changed fields/values would contain the whole recipe. Future revisions could just be a JSON dict that contains the changed items to save storage space over time. May need to put this into a file as a whole recipe may end up too much data for a single database column. Going to focus on just the backend portions to start with. Will build the table, associated ORM, and tests. |
Beta Was this translation helpful? Give feedback.
-
I would be really nice to go back and see how a recipe has changed over time. A la git revisions...
Beta Was this translation helpful? Give feedback.
All reactions