// Screen 6: Staff schedule / My day — 4 variations function MyScreen() { return ( <>

⑥ Staff schedule / My day

What a caregiver or coordinator sees when they open the app — today's visits, who they're seeing, what's logged. Four ways to organize the day.

{/* V1 — Vertical timeline list */}
‹ ›+ visit}/>
{[['Visits',5,'ok'],['Hours',6.5,'ok'],['Logged',3,'soon'],['Pending',2,'warn']].map(([k,v,s])=>(
{k}
{v}
))}
{[ ['9:00','Aguilar, P.','T2021 · 4h','done','ok'], ['11:30','Kahale, M.','H2021 · 2h','done','ok'], ['1:00','LUNCH','—','','aux'], ['2:00','Liu, K.','H2021 · 2h','upcoming','info'], ['4:30','Tavares, R.','T2021 · 1.5h','upcoming','info'], ].map(([t,n,svc,st,s])=>(
{t}
{n}
{svc} {st || ''}
))}
{/* V2 — Day calendar (hour grid) */}
{['8','9','10','11','12','1','2','3','4','5'].map(h=>(
{h}
))}
{Array.from({length:10}).map((_,i)=>(
))} {/* events */} {[ ['Aguilar, P.','T2021', 30, 120, 'sage-tint','ok'], ['Kahale, M.','H2021', 105, 60, 'sage-tint','ok'], ['Liu, K.','H2021', 180, 60, '#fcefcf','info'], ['Tavares, R.','T2021', 255, 45, '#fcefcf','info'], ].map(([n,svc,top,h,bg,s])=>(
{n}
{svc}
))}
schedulers love this
{/* V3 — Card stack with map */}
5 stops today {[ ['1','Aguilar, P.','9:00 · Honolulu','done','ok'], ['2','Kahale, M.','11:30 · Kailua','done','ok'], ['3','Liu, K.','2:00 · Honolulu','next','info'], ['4','Tavares, R.','4:30 · Hilo','later','info'], ].map(([n,name,t,st,s])=>(
{n}
{name}
{t}
))}
MAP · OAHU
{[[60,90,'1','sage'],[110,75,'2','sage'],[80,120,'3','info'],[140,140,'4','info']].map(([x,y,n,c],i)=>( {n} ))}
{/* V4 — Week strip */}
{[['Mon','27',4,'ok'],['Tue','28',5,'ok'],['Wed','29',3,'soon'],['Thu','30',6,'warn'],['Fri','1',4,'ok'],['Sat','2',0,'aux'],['Sun','3',0,'aux']].map(([d,date,n,s],i)=>(
{d}
{date}
{n} visits
{Array.from({length:n}).map((_,j)=>(
{['Aguilar','Kahale','Liu','Tavares','Makoa','Haku'][j]}
))}
))}
22 visits · 32 hrs scheduled ‹ prev week next week ›
); } window.MyScreen = MyScreen;