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

feat: Add Ingredient Sections To Copied Ingredients #3032

Conversation

michael-genson
Copy link
Collaborator

What type of PR is this?

(REQUIRED)

  • feature

What this PR does / why we need it:

(REQUIRED)

When copying the recipe ingredients to your clipboard, the ingredient sections are dropped. This adds them in.

Before:

1 lb leg of lamb boneless, chopped into one inch cubes
1 tbsp cornstarch
1/2 tsp salt
1 1/2 tbsps olive oil
1/2 tbsp olive oil
1/2 tsp salt
3/4 cup onion diced
2 tsps garlic minced
2 tsps paprika
1 tsp cumin
1/4 tsp allspice
3/4 cup red wine (such as cabernet sauvignon)
1 1/2 cups beef broth
1 cup mushroom sliced
2 small yukon gold potatoes cut into 1 1/2 inch cubes
1 large carrot sliced
1 tbsp tomato paste
3 sprigs fresh thyme
1 bay leaf
1 tbsp cornstarch

After:

[For the Lamb]
1 lb leg of lamb boneless, chopped into one inch cubes
1 tbsp cornstarch
1/2 tsp salt
1 1/2 tbsps olive oil

[For the Veggies]
1/2 tbsp olive oil
1/2 tsp salt
3/4 cup onion diced
2 tsps garlic minced
2 tsps paprika
1 tsp cumin
1/4 tsp allspice

[For the Broth]
3/4 cup red wine (such as cabernet sauvignon)
1 1/2 cups beef broth
1 cup mushroom sliced
2 small yukon gold potatoes cut into 1 1/2 inch cubes
1 large carrot sliced
1 tbsp tomato paste
3 sprigs fresh thyme
1 bay leaf
1 tbsp cornstarch

Which issue(s) this PR fixes:

(REQUIRED)

N/A, was going to raise an issue for it, but opened this PR instead

Testing

(fill-in or delete this section)

Manually

Copy link
Collaborator

@Kuchenpirat Kuchenpirat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 😊

Really like the brackets for the section titles :)

@Kuchenpirat Kuchenpirat enabled auto-merge (squash) January 22, 2024 20:12
@Kuchenpirat Kuchenpirat merged commit 6128941 into mealie-recipes:mealie-next Jan 22, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants