Merge branch 'dev' into 493-implement-rapid-order-creation-voice-text-in-client-mobile-app
This commit is contained in:
@@ -85,6 +85,29 @@ mutation seedAll @transaction {
|
||||
}
|
||||
)
|
||||
|
||||
# Cost Centers
|
||||
cost_center_1: costCenter_insert(
|
||||
data: {
|
||||
id: "95c2dfde-7f08-4cf6-b8d5-df403f7ef822"
|
||||
name: "Operations"
|
||||
businessId: "ef69e942-d6e5-48e5-a8bc-69d3faa63b2f"
|
||||
}
|
||||
)
|
||||
cost_center_2: costCenter_insert(
|
||||
data: {
|
||||
id: "6ef718a8-1468-43f1-8f53-4344caf42529"
|
||||
name: "Hospitality"
|
||||
businessId: "ef69e942-d6e5-48e5-a8bc-69d3faa63b2f"
|
||||
}
|
||||
)
|
||||
cost_center_3: costCenter_insert(
|
||||
data: {
|
||||
id: "2ea38397-77fc-4ce9-82f3-3cc91cabeb31"
|
||||
name: "Events"
|
||||
businessId: "ef69e942-d6e5-48e5-a8bc-69d3faa63b2f"
|
||||
}
|
||||
)
|
||||
|
||||
# Team
|
||||
team_1: team_insert(
|
||||
data: {
|
||||
@@ -112,6 +135,7 @@ mutation seedAll @transaction {
|
||||
data: {
|
||||
id: "22a0b119-e6dc-4011-9043-d857cd4c12f3"
|
||||
teamId: "9508c187-7612-4084-90de-4ece4a63773f"
|
||||
costCenterId: "95c2dfde-7f08-4cf6-b8d5-df403f7ef822"
|
||||
hubName: "City Operations Center"
|
||||
address: "5000 San Jose Street, Granada Hills, CA, USA"
|
||||
city: "Los Angeles"
|
||||
@@ -128,6 +152,7 @@ mutation seedAll @transaction {
|
||||
data: {
|
||||
id: "9c8eb9c6-c186-4d55-877e-35be852c3e86"
|
||||
teamId: "9508c187-7612-4084-90de-4ece4a63773f"
|
||||
costCenterId: "6ef718a8-1468-43f1-8f53-4344caf42529"
|
||||
hubName: "Central Operations Hub"
|
||||
address: "4000 San Jose Street, Granada Hills, CA, USA"
|
||||
city: "Los Angeles"
|
||||
@@ -144,6 +169,7 @@ mutation seedAll @transaction {
|
||||
data: {
|
||||
id: "75c70d83-1680-4b28-ab61-2fe64a74fc5f"
|
||||
teamId: "9508c187-7612-4084-90de-4ece4a63773f"
|
||||
costCenterId: "2ea38397-77fc-4ce9-82f3-3cc91cabeb31"
|
||||
hubName: "Downtown Operations Hub"
|
||||
address: "6800 San Jose Street, Granada Hills, CA, USA"
|
||||
city: "Los Angeles"
|
||||
@@ -173,6 +199,60 @@ mutation seedAll @transaction {
|
||||
}
|
||||
)
|
||||
|
||||
# Team Hub Departments
|
||||
team_hud_department_1: teamHudDepartment_insert(
|
||||
data: {
|
||||
id: "4f49675a-a336-4997-896d-f8bf72abf6bb"
|
||||
name: "Kitchen"
|
||||
costCenter: "Operations"
|
||||
teamHubId: "22a0b119-e6dc-4011-9043-d857cd4c12f3"
|
||||
}
|
||||
)
|
||||
team_hud_department_2: teamHudDepartment_insert(
|
||||
data: {
|
||||
id: "31ca2358-7d31-4648-93cc-ad303d0f537d"
|
||||
name: "Service"
|
||||
costCenter: "Hospitality"
|
||||
teamHubId: "9c8eb9c6-c186-4d55-877e-35be852c3e86"
|
||||
}
|
||||
)
|
||||
team_hud_department_3: teamHudDepartment_insert(
|
||||
data: {
|
||||
id: "1ad4f706-b54f-48d3-b390-b9abb9ca309c"
|
||||
name: "Logistics"
|
||||
costCenter: "Events"
|
||||
teamHubId: "75c70d83-1680-4b28-ab61-2fe64a74fc5f"
|
||||
}
|
||||
)
|
||||
|
||||
# Team Members
|
||||
team_member_1: teamMember_insert(
|
||||
data: {
|
||||
id: "10816af2-5bb3-49bd-ba9d-d3f1930e02df"
|
||||
teamId: "9508c187-7612-4084-90de-4ece4a63773f"
|
||||
role: OWNER
|
||||
title: "Owner"
|
||||
department: "Operations"
|
||||
teamHubId: "22a0b119-e6dc-4011-9043-d857cd4c12f3"
|
||||
isActive: true
|
||||
userId: "dvpWnaBjT6UksS5lo04hfMTyq1q1"
|
||||
inviteStatus: ACCEPTED
|
||||
}
|
||||
)
|
||||
team_member_2: teamMember_insert(
|
||||
data: {
|
||||
id: "5252e278-2de5-4eb9-a502-04272f86e133"
|
||||
teamId: "9508c187-7612-4084-90de-4ece4a63773f"
|
||||
role: MEMBER
|
||||
title: "Lead Staff"
|
||||
department: "Operations"
|
||||
teamHubId: "22a0b119-e6dc-4011-9043-d857cd4c12f3"
|
||||
isActive: true
|
||||
userId: "hWjFHY11K3X1MChMseVVaCDfAl32"
|
||||
inviteStatus: ACCEPTED
|
||||
}
|
||||
)
|
||||
|
||||
# Vendor
|
||||
vendor_1: vendor_insert(
|
||||
data: {
|
||||
@@ -413,6 +493,132 @@ mutation seedAll @transaction {
|
||||
}
|
||||
)
|
||||
|
||||
# Documents
|
||||
document_1: document_insert(
|
||||
data: {
|
||||
id: "9fd8b1bb-63b4-4480-a53e-c65ae5f03ea8"
|
||||
documentType: W4_FORM
|
||||
name: "Federal W-4"
|
||||
description: "Tax withholding form"
|
||||
}
|
||||
)
|
||||
document_2: document_insert(
|
||||
data: {
|
||||
id: "3562f4d3-cb62-4b95-9727-8f9455b2ef1b"
|
||||
documentType: I9_FORM
|
||||
name: "Employment Eligibility (I-9)"
|
||||
description: "Identity and work authorization verification"
|
||||
}
|
||||
)
|
||||
document_3: document_insert(
|
||||
data: {
|
||||
id: "f3389b80-9407-45ca-bdbe-6aeb873f2f5d"
|
||||
documentType: DIRECT_DEPOSIT
|
||||
name: "Direct Deposit Authorization"
|
||||
description: "Payroll setup authorization"
|
||||
}
|
||||
)
|
||||
document_4: document_insert(
|
||||
data: {
|
||||
id: "2eb0f5e0-b5f7-4ec2-8994-ae5b12ec8f57"
|
||||
documentType: ID_COPY
|
||||
name: "Government ID Copy"
|
||||
description: "State ID or Driver license"
|
||||
}
|
||||
)
|
||||
|
||||
# Staff Documents
|
||||
staff_document_1: staffDocument_insert(
|
||||
data: {
|
||||
id: "230f2ea8-6ccf-4ef1-bfa5-453911f9d511"
|
||||
staffId: "633df3ce-b92c-473f-90d8-38dd027fdf57"
|
||||
staffName: "Mariana Torres"
|
||||
documentId: "9fd8b1bb-63b4-4480-a53e-c65ae5f03ea8"
|
||||
status: VERIFIED
|
||||
documentUrl: "https://storage.googleapis.com/krow-workforce-dev/docs/staff-1/w4.pdf"
|
||||
verificationId: "verif_staff1_w4_001"
|
||||
verifiedAt: "2026-01-12T18:30:00Z"
|
||||
}
|
||||
)
|
||||
staff_document_2: staffDocument_insert(
|
||||
data: {
|
||||
id: "4e340705-8355-411c-a116-344631032f15"
|
||||
staffId: "633df3ce-b92c-473f-90d8-38dd027fdf57"
|
||||
staffName: "Mariana Torres"
|
||||
documentId: "3562f4d3-cb62-4b95-9727-8f9455b2ef1b"
|
||||
status: VERIFIED
|
||||
documentUrl: "https://storage.googleapis.com/krow-workforce-dev/docs/staff-1/i9.pdf"
|
||||
verificationId: "verif_staff1_i9_001"
|
||||
verifiedAt: "2026-01-12T18:45:00Z"
|
||||
}
|
||||
)
|
||||
staff_document_3: staffDocument_insert(
|
||||
data: {
|
||||
id: "058fd218-aa42-431d-b9b4-ee03bc02e5b0"
|
||||
staffId: "9631581a-1601-4e06-8e5e-600e9f305bcf"
|
||||
staffName: "Ethan Walker"
|
||||
documentId: "f3389b80-9407-45ca-bdbe-6aeb873f2f5d"
|
||||
status: PENDING
|
||||
documentUrl: "https://storage.googleapis.com/krow-workforce-dev/docs/staff-2/direct-deposit.pdf"
|
||||
verificationId: "verif_staff2_dd_001"
|
||||
}
|
||||
)
|
||||
staff_document_4: staffDocument_insert(
|
||||
data: {
|
||||
id: "bf01f474-2f2d-40f5-8ca7-0b6a1e52dd7d"
|
||||
staffId: "2b678a6d-b8cd-4d5e-95ae-f35e4569f92c"
|
||||
staffName: "Sofia Ramirez"
|
||||
documentId: "2eb0f5e0-b5f7-4ec2-8994-ae5b12ec8f57"
|
||||
status: EXPIRING
|
||||
documentUrl: "https://storage.googleapis.com/krow-workforce-dev/docs/staff-3/id-copy.png"
|
||||
expiryDate: "2026-03-31T00:00:00Z"
|
||||
verificationId: "verif_staff3_id_001"
|
||||
}
|
||||
)
|
||||
|
||||
# Certificates
|
||||
certificate_1: certificate_insert(
|
||||
data: {
|
||||
id: "52afcaef-90a8-4d87-a3b8-f64608bf9118"
|
||||
staffId: "633df3ce-b92c-473f-90d8-38dd027fdf57"
|
||||
certificationType: BACKGROUND_CHECK
|
||||
name: "Background Check Clearance"
|
||||
status: CURRENT
|
||||
issuer: "Sterling"
|
||||
fileUrl: "https://storage.googleapis.com/krow-workforce-dev/certs/staff-1/background.pdf"
|
||||
validationStatus: APPROVED
|
||||
certificateNumber: "BG-STAFF1-2026"
|
||||
expiry: "2027-01-12T00:00:00Z"
|
||||
}
|
||||
)
|
||||
certificate_2: certificate_insert(
|
||||
data: {
|
||||
id: "4422f466-cd76-4030-9d7a-839801f0b65a"
|
||||
staffId: "633df3ce-b92c-473f-90d8-38dd027fdf57"
|
||||
certificationType: FOOD_HANDLER
|
||||
name: "Food Handler Card"
|
||||
status: EXPIRING
|
||||
issuer: "ServSafe"
|
||||
fileUrl: "https://storage.googleapis.com/krow-workforce-dev/certs/staff-1/food-handler.pdf"
|
||||
validationStatus: AI_VERIFIED
|
||||
certificateNumber: "FH-STAFF1-9342"
|
||||
expiry: "2026-05-01T00:00:00Z"
|
||||
}
|
||||
)
|
||||
certificate_3: certificate_insert(
|
||||
data: {
|
||||
id: "67b9ec44-6f9b-4f3a-9c8d-23f370883a8f"
|
||||
staffId: "9631581a-1601-4e06-8e5e-600e9f305bcf"
|
||||
certificationType: RBS
|
||||
name: "Responsible Beverage Service"
|
||||
status: PENDING
|
||||
issuer: "California ABC"
|
||||
fileUrl: "https://storage.googleapis.com/krow-workforce-dev/certs/staff-2/rbs.pdf"
|
||||
validationStatus: PENDING_EXPERT_REVIEW
|
||||
certificateNumber: "RBS-STAFF2-1103"
|
||||
}
|
||||
)
|
||||
|
||||
# Orders (20 total)
|
||||
order_01: order_insert(
|
||||
data: {
|
||||
@@ -2015,4 +2221,4 @@ mutation seedAll @transaction {
|
||||
}
|
||||
)
|
||||
}
|
||||
#v.3
|
||||
#v.3
|
||||
|
||||
132
docs/MILESTONES/M4/planning/m4-demo-plan-checklist.md
Normal file
132
docs/MILESTONES/M4/planning/m4-demo-plan-checklist.md
Normal file
@@ -0,0 +1,132 @@
|
||||
## M4 Demo Checklist – Staff & Client Apps
|
||||
|
||||
---
|
||||
|
||||
# ✅ Staff App Demo
|
||||
|
||||
## 🔐 Authentication
|
||||
|
||||
* [ ] Open Staff app launch screen
|
||||
* [ ] Show **Sign Up** flow (new user registration)
|
||||
* [ ] Return to login
|
||||
* [ ] Sign in with existing account
|
||||
* [ ] Close and reopen app (demonstrate session persistence)
|
||||
|
||||
---
|
||||
|
||||
## 🏠 Home & Availability
|
||||
|
||||
* [ ] Open Home page
|
||||
* [ ] Open Availability section
|
||||
* [ ] Update a time slot
|
||||
|
||||
---
|
||||
|
||||
## 🔎 Find & Book Shifts
|
||||
|
||||
* [ ] Go to Find Shifts
|
||||
* [ ] Open a shift (revamped single shift interface)
|
||||
* [ ] Tap Book Shift
|
||||
|
||||
---
|
||||
|
||||
## 📅 Shift Management
|
||||
|
||||
* [ ] Open My Shifts
|
||||
* [ ] Open Completed Shifts
|
||||
* [ ] Open Payment Summary
|
||||
* [ ] Open a booked shift
|
||||
* [ ] Tap Clock-In
|
||||
|
||||
---
|
||||
|
||||
## 👤 Profile & Settings
|
||||
|
||||
* [ ] Open Profile
|
||||
|
||||
### Profile Sections
|
||||
|
||||
* [ ] Edit Profile
|
||||
|
||||
* [ ] Emergency Contact
|
||||
|
||||
* [ ] Experiences
|
||||
|
||||
* [ ] Attire
|
||||
|
||||
* [ ] Documents
|
||||
|
||||
* [ ] Certificates
|
||||
|
||||
* [ ] Tax Forms
|
||||
|
||||
* [ ] Bank Account
|
||||
|
||||
* [ ] Time Card
|
||||
|
||||
* [ ] FAQ
|
||||
|
||||
* [ ] Privacy Settings
|
||||
|
||||
* [ ] Toggle “Hide account from business” option
|
||||
|
||||
* [ ] Confirm Staff app walkthrough complete
|
||||
|
||||
---
|
||||
|
||||
# ✅ Client App Demo
|
||||
|
||||
## 🔐 Authentication
|
||||
|
||||
* [ ] Open Client app launch screen
|
||||
* [ ] Briefly show Sign Up
|
||||
* [ ] Sign in with existing account
|
||||
* [ ] Close and reopen app (demonstrate session persistence)
|
||||
|
||||
---
|
||||
|
||||
## 🏠 Home
|
||||
|
||||
* [ ] Open Home page
|
||||
* [ ] Tap Reorder
|
||||
* [ ] Tap Insights
|
||||
|
||||
---
|
||||
|
||||
## 📦 Orders
|
||||
|
||||
* [ ] Go to Order section
|
||||
* [ ] Open View Shifts
|
||||
* [ ] Open Create Orders
|
||||
|
||||
### Order Types
|
||||
|
||||
* [ ] One Time
|
||||
|
||||
* [ ] Rapid
|
||||
|
||||
* [ ] Permanent
|
||||
|
||||
* [ ] Multi
|
||||
|
||||
* [ ] Open View Orders
|
||||
|
||||
---
|
||||
|
||||
## 📊 Reporting & Billing
|
||||
|
||||
* [ ] Open Reports (mention six report types)
|
||||
* [ ] Open Billing (review and accept bills)
|
||||
* [ ] Open Coverage
|
||||
|
||||
---
|
||||
|
||||
# ✅ Demo Wrap-Up
|
||||
|
||||
* [ ] Summarize Staff app workflow
|
||||
* [ ] Summarize Client app workflow
|
||||
* [ ] Thank audience and conclude demo
|
||||
|
||||
---
|
||||
|
||||
If you'd like, I can also format this as a downloadable `.md` file for you.
|
||||
Reference in New Issue
Block a user