Each enclosure in Zooniverse has a dedicated feeding time that serves as a daily task for the caretakers assigned to it. The homepage dashboard surfaces these feeding tasks in real time, showing only the enclosures whose feeding time has not yet passed for the current day. This gives caretakers a focused, time-ordered list of what still needs to be done each day.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/raczkodavid/Zooniverse/llms.txt
Use this file to discover all available pages before exploring further.
How feeding times are stored
Thefeeding_time column is added to the enclosures table in the migration as a time field:
H:i:s format (24-hour clock with seconds), for example 08:30:00 or 14:00:00. The field is required — an enclosure cannot be created or saved without a feeding time.
The feeding time is part of the $fillable array on the Enclosure model:
Setting and updating feeding times
Admin workflow
Admins set the feeding time when creating or editing an enclosure.Open the enclosure form
Navigate to Create Enclosure (
GET /enclosures/create) or open an existing enclosure for editing (GET /enclosures/{id}/edit).Enter the feeding time
Use the Feeding Time input. The form renders an HTML
time picker with step="1", which allows selecting hours, minutes, and seconds. The value is submitted in H:i:s format and validated server-side with:The feeding time is a daily schedule — the same time applies every day. There is no date component; it is a clock time only.
Homepage dashboard
The homepage atGET /homepage is the primary task management view. It is available to all authenticated users and shows:
- Total Enclosures — a live count of all enclosures in the system, displayed with an animated count-up.
- Total Animals — a live count of all active (non-archived) animals.
- Tasks for Today — a list of the current user’s assigned enclosures that still have an upcoming feeding time today.
Feeding task logic
TheHomeController computes the task list as follows:
- The current time is captured in the
Europe/Budapesttimezone. - The authenticated user’s assigned enclosures are retrieved via the many-to-many relationship.
- Enclosures whose
feeding_timehas already passed are filtered out. - The remaining enclosures are sorted ascending by feeding time, so the most urgent task appears first.
Only the enclosures assigned to the logged-in user appear in the task list. Admins will see no tasks unless they have been explicitly assigned to enclosures via the edit form.
Caretaker workflow
Open the homepage
Navigate to Homepage (
/homepage). The Tasks for Today panel on the right lists all assigned enclosures whose feeding time is still in the future, ordered from soonest to latest.Visit the enclosure
Click any task in the list to open the enclosure detail page. The page shows the animals in the enclosure along with their species and birthdates.