-
Notifications
You must be signed in to change notification settings - Fork 114
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
Default Pet Tasks: tasks should be assigned to a general category, or a species #709
Comments
Hi @kasugaijin, I have raised 2 PRs . After they are over and merged, i would like to work on this issue |
@atbalaji once both PRs are merged, if this is still not assigned, for sure! But just in case someone else wants it before then we don't hold issues for people to give a fair chance to all to contribute. |
Hi @kasugaijin , I would like to take this issue up as now both of my PRs are merged |
@atbalaji all yours |
Just for confirmation @kasugaijin Can you elaborate the first point. U mean to create an enum like named 'species' where 0 represents 'all' option ? That's what u mean ? |
@atbalaji check the Pet model as there is already an enum. Just need to add an ‘all’ at the zero index of that enum. |
Hi @kasugaijin .I have made changes except for tests part locally. Some differences with the requirement, we shall discuss during PR. But one thing i noticed during the changes is since default pet tasks are not associated with the tasks they create. On deletion of default pet task the corresponding task of a pet is not deleted. Is this the intended behavior? |
Thanks @atbalaji yes that’s fine. The default pet task is a blueprint for pet tasks but does not need to be associated. |
Hi @kasugaijin . Is it okay to make a PR without tests first. Existing tests are passing after changes. Since my approach differs a little from the suggested one, I thought of writing tests after we agree on common ground after an initial PR. |
Yes for sure you can make a PR without tests and add them later |
This issue is marked as stale due to no activity within 30 days. If no further activity is detected within 7 days, it will be unassigned. |
Automatically unassigned after 7 days of inactivity. |
@kasugaijin I was browsing issues and noticed this one--looks like it could be closed since that PR was merged? |
@wiliajc87 thank you! |
Currently default pet tasks are assigned to all new pets, regardless of species. This is not as practical as grouping default pet tasks by species. We can also have a general category, that applies to all species.
all
all
option in the selectspecies
,string
, default0
(theall
enum)all
AND the same species as the Pet. E.g., A new dog will get tasks withall
anddog
species.The text was updated successfully, but these errors were encountered: