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

[Task] - Allow Cookbooks to Share the Same Name #4083

Closed
michael-genson opened this issue Aug 22, 2024 · 0 comments · Fixed by #4186
Closed

[Task] - Allow Cookbooks to Share the Same Name #4083

michael-genson opened this issue Aug 22, 2024 · 0 comments · Fixed by #4186
Labels
task General Task that needs to be completed v2 Version 2 Issue/PR

Comments

@michael-genson
Copy link
Collaborator

What is the problem this task addresses?

Currently cookbooks will throw an error if there's another cookbook with the same name. Similar to recipes, we should allow this as long as the slug is different.

We want this since two different households might have the same common cookbook name (e.g. Drinks). Since cookbooks are tied to households, they may not know a cookbook name is taken already.

Proposed/Possible Solution(s)?

  • Make sure the API handles duplicate names correctly (e.g. incrementing the slug, like it does for recipes)
  • Make sure the frontend handles this fine
@michael-genson michael-genson added task General Task that needs to be completed v1 Version 1 Issue/PR v2 Version 2 Issue/PR and removed v1 Version 1 Issue/PR labels Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task General Task that needs to be completed v2 Version 2 Issue/PR
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant