ucsb-cs156-m23 / proj-happycows-m23-10am-3

https://ucsb-cs156-m23.github.io/proj-happycows-m23-10am-3/
0 stars 0 forks source link

FEATURE: Add ability to milk the cows on demand for just a particular commons #3

Open github-actions[bot] opened 1 year ago

github-actions[bot] commented 1 year ago

User Story

Discussion

Currently on the Admin/Jobs page the admin can choose a specific commons when:

However, the jobs to milk the cows and update cow health (note: different from "setting" cow health) can only be run for all commons, or none at all.

It would be nice, building on the functionality for "set cow health" and "instructor job (specfic commons) to be able to specify a commons, or "all", when running the "update cow health" and "milk the cows" jobs.

However, this has to be done carefully, since the automated job that updates cow health and milk cows on a schedule needs to still work on all commons; so it's not ok to make the commonsId parameter required, and take away the ability to update health for all commons, or milk all cows. That needs to be retained.

Acceptance Criteria

(Note this issue could be broken into multiple issues/PRs)