Closed (outdated)
Project:
Drupal core
Version:
11.x-dev
Component:
Umami demo
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
21 Sep 2018 at 20:19 UTC
Updated:
11 May 2025 at 08:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
eli-tComment #3
danharper commentedWorking on this as part of distributed sprint NWDUG
Comment #4
g.weston commentedAdd vegan chocolate recipe to umami.
Comment #5
g.weston commentedNeeds review
Comment #6
g.weston commentedUpdated image filename to be inline with issue 2939908.
Comment #7
siliconmeadow commentedLGTM :-)
Comment #8
eli-tThanks @danharper and @g.weston!
This still needs some tweaks however.
needs a comma after smooth
Is this necessary? Oil is at room temperature if you keep it in a room. No-one keeps oil in the fridge or freezer. Maybe you were keeping it in a pantry in an outbuilding? Seems niche. Also, having steps to measure things are redundant - we list the quantity needed in the ingredients list and assume that people are going to measure them. Let's just bin this step off.
Requires a serial comma after coconut milk. See #2940146: Standardize writing style for Umami in English.
As the previous step was to chill until set, we don't need this
Comment #9
spitzialist commentedI'll create a patch for the mentioned changes.
Comment #10
spitzialist commentedCreated patch with suggested changes from Eli-T in comment #8.
In summary, the changes include:
Comment #11
eli-tThis is nearly there! Thanks @spitzialist, everything from #8 is addressed, but I have noticed one more thing.
The list of ingredients has "Three quarters cup" / "Two thirds cup". We don't ever spell out numbers - we always use numerals. There is no reason to spell these out just because they are fractions, so I suggest changing these to "3/4 cup" and "2/3 cup" respectively.
Comment #12
hardikpandya commentedComment #14
spitzialist commentedThanks @Eli-T for the comment. As I looked through the other recipes, I realized that we usually use measurements in "g" an "ml" instead of "cups". As I am based in Europe, this is also more familiar for me. What is the general consents here? Should we translate everyhting to metric measurements?
Comment #15
eli-t@spitzialist the writing style is targeted at US English, who are quite accustomed to measuring things in cups, so this is fine as is.
Comment #16
eli-tPatch in #12 has removed the vegan-chocolate.jpg file and the vegan-milk-chocolate.html file. These should be restored.
Comment #17
spitzialist commentedI'll provide a patch shortly.
Comment #18
spitzialist commentedPatch created with source from comment #10. Changed spelled out numbers to fractions as suggested in comment #11 and #15.
Comment #19
eli-tMy comments in #11 are addressed. No more reason to hold this back. Thanks everyone!
Comment #20
lauriiiUnrelated change
It feels like "whatever shape you want" is a bit too informal for this context. How about "or any shape you want"?
Comment #21
laravz commentedRemoved unrelated change and altered text to @lauriii's suggestion.
Edit: path does not apply due to binary file issues
Comment #23
laravz commentedComment #24
volkswagenchickbadcamp 2018
Comment #25
spitzialist commentedPatch #22 looks good and addresses the changes proposed by @laurii in comment #20-21.
I get two warnings:
In my opinion those are fine and are due to the binary jpg in the patch.
Comment #26
eli-tThe only reason I haven't +1 this is the indentation in the new html file is different to all the existing recipes. I'm trying to find where we got the 2 space standard on now.
Comment #27
plachTested this and looks great, however I noticed that the HTML file names have an
-umamisuffix and it seems that normally HTML and the related JPG files have the same name.Let's quickly fix these inconsistencies and the one mentioned in #26 and get this in :)
Comment #28
plachComment #29
heykarthikwithuFixed the inconsistencies in the patch.
Comment #30
plach#27 was not addressed.
Btw, also the LICENSE.TXT file needs to be updated when renaming JPGs.
Comment #31
spitzialist commentedComment #33
spitzialist commentedForgot to rename one file link which is fixed now.
Comment #34
spitzialist commentedComment #35
spitzialist commentedThe patch was corrupt and I needed to update it.
Comment #37
spitzialist commentedRe run test, looks good.
Comment #39
laravz commentedThe (re)test dispatcher contains the following errors:
This is due to the patch being incorrect. Instead of adding the files:
--- /dev/null
+++ b/core/profiles/demo_umami/.../vegan-chocolate-umami.jpg
The patch attempts to alter the non-existing files. Could you upload a patch where the files are added instead of altered?
Comment #40
spitzialist commentedComment #41
spitzialist commentedI fixed the existing issue from my last commits 31, 35. Sorry for the long time I needed to upload a new version and my beginner mistakes ;-) I hope everything works now and all open tasks from #27 and #30 and #39 are resolved.
Comment #42
spitzialist commentedAdded interdiff between #29 and #41.
Comment #43
stratosf1 commentedTesting at The University of Edinburgh D8 Contribution Day #uoe-d8-contribution
Comment #44
stratosf1 commentedI have tested patch #41 and there was a file name inconsistency between the .jpg and the .html files. So, created a new patch and everything looks to be fine. Only caveat is that the interdiff between #41 and #44 seems larger than previously. Just to note, this is my first ever Drupal contribution so please be gentle.
Comment #45
mairi commentedI've been mentoring @stratosf1 at the University of Edinburgh #uoe-d8-contribution. I've tested his patch on a clean installation of 8.7.x and the new recipe looks good (screenshots attached).
The file names for jpg & html are matching for me - vegan-milk-chocolate-umami.html and vegan-milk-chocolate-umami.jpg.
Comment #46
laravz commentedI believe patch #44 resolves all the issues mentioned in the last comments (License.txt has been altered (#30), -umami suffix has been added (#27), additional indentation has been removed (#26)). The tests have passed as well and @mairi has manually tested the patch on a clean installation, so I'm switching this issue to Reviewed en tested.
For now, we
need toneed to discuss whether we should create a change record to describe the changes that were made.Comment #47
eli-tWhy does this need a change record?
Comment #48
laravz commentedWell, there's actually no necessity to add a change record. I prefer at least thinking about it in the discussion since there was a change record for the initial addition of the demo_umami profile.
The patch mostly adds files and only alters LICENSE.txt and recipes.csv, so it might not actually impact anyone. In this case, it should probably be fine to not have a change record. Do you agree? (I'll remove the tag for now)
Comment #49
alexpottThis uses the same image as #2939908: Add an article to Umami - Dairy-free chocolate did which has now landed. Which on one hand is great because we have a media re-use case in Umami! So once the media library lands moving to it seems like a great idea. On the other it does mean we're adding two images completely the same :(
Also all the other recipes have an image from making the recipe. Is that the case here? If so kudos to making the wrappers!
We need a reroll and a decision on the image.
Comment #50
alexpottI also suspect that the current image name - vegan-milk-chocolate-umami is claiming to be a photo of the recipe on the umami site so it is not that that needs looking into.
Comment #51
vacho commentedPatch rerolled to update the work on this case.
Comment #52
vacho commentedComment #53
eli-tComment #54
eli-tPostponed as we are freezing the Umami content so it can be translated.
Comment #64
quietone commentedComment #54 leads me to think that this is now outdated. Is it?
Comment #65
quietone commentedThere has been no work here for 6 years, or a response to the query in the last comment to confirm the need for this issue.
If there is work to do here, then either re-open the issue or open a new issue and reference this one. If the choice is to use this issue then add a comment change make sure to change the issue status to 'Active'.