Shared from Yui | Playground
Flow: workout check-in
One screen from Yui, drawn from 29 lines of Yui Lines.
Drawing the screen...
The lines the agent sends:
flow@checkin "Workout check-in" submit="Send to my coach"
flowchart TD
%% sleep: slide "How did you sleep?" 1-10 Awful|Great
sleep[Sleep] --> energy
%% energy: choose "Energy right now?" Low|OK|High
energy[Energy] --> check{Rough day?}
check -->|sleep<5 or energy=Low| easy
check --> sore
%% easy: page "Take it easy today" body="Short sleep or low energy means a lighter session still counts. Your coach will see why."
easy[Easy day] --> sore
%% sore: pick "Anything sore?" Legs|Back|Shoulders|Arms|Nothing
sore[Sore spots]
sore -->|sore=Nothing| today
sore --> hurt
%% hurt: choose "Sore, or does it hurt?" "Just sore"|"It hurts"
hurt{Sore or hurt?}
hurt -->|It hurts| rest
hurt --> today
%% rest: page "Skip that area today" body="Sharp or joint pain means rest it. Your coach will swap those lifts."
rest[Rest it] --> today
%% today: choose "Today's session?" "Full session"|"Lighter version"|"Mobility only"|"Rest day"
today{Session}
today -->|Rest day| note
today --> time
%% time: slide "Minutes you have" 15-90
time[Time] --> note
%% note: mic "Anything your coach should know?"
note[Note] --> done((Coach))
end