Week 4 Day 04 Childcare Domain Generated by Gemini Code Assist

Application Screens & UI Flow

Comprehensive list of screens for Parents, Staff, and Administrators based on the defined data structure.

I. Common / Authentication Screens

These screens handle the entry point for all three actors (Parent, Staff, Admin).

1. Login Screen
Data Input

email, password

Action

Authenticates via Firebase Auth. Checks users collection to determine role (admin, staff, parent) and redirects to the appropriate dashboard.

Link

"Register as Parent" (Staff/Admins are pre-created).

2. Parent Registration Screen
Data Input

email, password, fullName, phone

Action

Creates Auth User and a document in the users collection with role: 'parent'.

II. Parent Screens

Focused on the Student Lifecycle (Enrollment -> Onboarding -> Daily Updates).

3. Parent Dashboard (My Children)
Data Display

List of children linked to the parent.

  • Child Card: firstName, photoUrl, status ('pending', 'onboarding', 'active').
Action

"Add New Child" (Enrollment), "View Child".

4. Enrollment Form (Wizard)
Data Input

firstName, lastName, dateOfBirth, gender.

System Action

Creates a document in enrollment_forms with status: 'pending'.

5. Child Onboarding Screen

Accessible only when child status is 'onboarding' or 'active'.

Data Display

basic_info (Read-only: Name, DOB).

Data Input (Extended Details)
  • profilePhoto (Upload to Storage).
  • immunizationHistory (List of vaccines & dates).
  • allergies (Selection/List).
  • emergencyContacts (Name, Phone, Relation).
  • dietaryPreferences.
Action

"Save Details" (Updates children collection).

6. Child Profile & Daily Feed
Data Display
  • Header: Child Name, Photo, Classroom Name.
  • Daily Feed: Stream of daily_class_logs (Meals, Naps, Photos) filtered by the child's assignedClassroomId.
  • Incidents: Alerts from children/{id}/incidents.
Action

"Request Exit" (Sets flag in children doc).

III. Staff Screens

Focused on Staff Lifecycle, Daily Operations, and Syllabus.

7. Staff Dashboard (Classroom View)
Data Display
  • Classroom Name (e.g., "The Sunflowers").
  • Quick Stats: Total Students, Present Today.
  • My Status: "Active" or "On Leave".
Action

"Start Daily Log", "View Students", "Syllabus".

8. Daily Class Log Entry
Data Input
  • date (Default today).
  • activitiesSummary (Text).
  • mealsServed (Menu details).
  • napTimes (Start/End).
  • photoUpload (Select images).
Action

Writes to daily_class_logs.

9. Student List (Classroom)
Data Display

List of children with assignedClassroomId == myClassroom.

Action

Click student to evaluate.

10. Student Evaluation & Incident Report
Data Input
  • Type Toggle: "Development Log" vs. "Incident" vs. "Evaluation".
  • Fields: milestoneCategory, observation, rating (1-5), incidentDescription, actionsTaken.
Action

Writes to sub-collections children/{id}/evaluations or incidents.

11. Syllabus Creator/Viewer
Data Input

title, weekNumber, themeTopic, learningObjectives.

Upload

contentPdf (Lesson plan file).

Action

Creates/Updates syllabus_plans.

12. Staff Profile & Leave Request
Data Display

Employment history, Certifications.

Data Input (Leave)

startDate, endDate, reason.

Action

Creates doc in staff_profiles/{uid}/leave_requests.

IV. Administrator Screens

Focused on Management and Approvals.

13. Admin Dashboard
Data Display
  • Pending Enrollments Count.
  • Pending Leave Requests Count.
  • Total Active Students/Staff.
14. Enrollment Approval Queue
Data Display

List of enrollment_forms where status == 'pending'.

Action

"Approve" (Triggers Cloud Function to create Child record), "Reject".

15. Staff Management
Data Display

List of all users where role == 'staff'.

Action

"Add New Staff" (Creates Auth & Profile), "Deactivate/Exit".

16. Leave Request Approvals
Data Display

List of requests from staff_profiles/{uid}/leave_requests.

Action

"Approve", "Reject" (Updates request status).

17. Classroom & Syllabus Assignment
Data Input

Create classrooms (Name, Age Group).

Action

Assign leadStaffId and activeSyllabusId to a classroom.

V. UI Design & Theme

The following color theme was used to generate the sample screens for the application, ensuring a consistent and accessible user interface.

Color Theme

Application Color Theme

Sample Screens

Application Sample Screens

Generated Backgrounds

Background patterns generated via Canvas API for the mobile application.

Background Pattern 1
Background Pattern 2
Background Pattern 3
Background Pattern 4