Configuring Habits for a Client
Set daily habits like "10k steps" or "2L water" that the client checks off each day.
trainer guide/clients/[id]
What this is for: Give a client measurable daily goals beyond workouts so adherence becomes visible.
What habits are
A ClientHabit is a daily target you configure for one client. Each habit has:
- Name (e.g. "Daily steps", "Water intake")
- Target value (e.g. 10000)
- Unit (e.g. "steps", "L", "hours")
- Cadence — daily by default
- Click Clients in the sidebar to see your roster.
- Select a client from the list to open the client page.
- Open the Habits tab to see the habits set for this client.
- Each habit row shows its name and its daily target.
- Select Add Habit to pick a preset or make a custom habit.
Clients log progress against habits each day. Their dashboard shows a streak counter and a 7-day grid.
Presets vs custom
The HabitConfigPanel ships with four ready-made presets:
| Preset | Target | Unit |
|---|---|---|
| Daily Steps | 10000 | steps |
| Water | 2 | L |
| Sleep | 8 | hours |
| Workouts | 4 | per week |
You can also create custom habits — any name, any target, any unit string.
Step-by-step
- Open the client (
/clients/[clientId]) and click the Habits tab. - Click Add Habit.
- Pick a preset, OR pick Custom and fill in name + target + unit.
- Click Save. The habit appears in the habits list on the Habits tab.
- Repeat for each habit you want to set — most coaches do 2-4 habits per client.
Changing a habit later
The habits list shows each habit with its daily target and a link to its insights. It has no edit, pause or delete controls today, so set the name, target and unit carefully before you save.
Common pitfalls
Where to find this
- Page:
/clients/[clientId]→ Habits tab. - Component:
HabitConfigPanel,HabitLogSummary. - API:
GET/POST /api/clients/[id]/habits,GET/POST /api/clients/[id]/habits/[habitId]/log.
Was this article helpful?
