The Client 360 Dashboard
All eight tabs on the per-client dashboard — what each one shows and what to do there.
What this is
The Client 360 dashboard at /clients/[clientId] is a single tabbed page that surfaces every piece of data EvoFit holds about one client. It replaced the older multi-page layout where you had to click through /clients/[id]/programs, /clients/[id]/history, etc.
- Click Clients in the sidebar to see your roster.
- Select a client from the list to open the client page.
- The Overview tab shows a summary of the client's recent activity.
- Open the Progress tab to review measurements and progress photos.
- Open the Schedule tab to see the client's upcoming sessions.
There are 8 tabs. The header above the tabs shows the client name, status badge, last-active date, and three buttons:
- Edit Profile → toggles inline ClientProfileEditor (left sidebar).
- Message → placeholder until in-app messenger ships. Use WhatsApp instead.
- Create Workout → routes to
/workouts/new?clientId={id}to make a one-off workout for this client.
Tab walkthrough
1. Overview
- Top: 3 quick stat cards — Active Programs / Total Workouts / This Month.
- Middle: recent workouts list (last 5).
- Right: Quick Actions card — Assign Program, View Full History, Create Workout, Send Message (placeholder).
Use Overview as your "where is this client at?" snapshot. Don't skip — it surfaces the data you need 80% of the time.
2. Workouts
- Full list of completed and in-progress workout sessions.
- Date filter (7/30/90/all).
- Click a session to drill into the set log.
3. Programs
- Cards for each assigned program with progress %.
- Active programs first, archived below.
4. Nutrition (Epic 014 + 018)
- MacroTargetForm (top) — set/edit daily macro target.
- FoodJournalSummary — last 7 days of meals logged by client (read-only).
- MacroLogList — recent macro daily totals.
See Setting Macro Targets and Reading the Client Food Journal.
5. Habits (Epic 014)
- HabitConfigPanel — configure presets or custom habits.
- HabitLogSummary — recent log entries.
See Configuring Habits for a Client.
6. Check-Ins (Epic 015)
- List of CheckInSchedule rows + their CheckInInstance children.
- Click any completed instance to read the response payload.
See Scheduling Check-Ins and Reviewing Check-In Responses.
7. Progress (Epic 015)
- Grid of progress photos.
- Read-only — trainers can view, not edit/delete.
See Reviewing Progress Photos.
8. Schedule (NEW)
- Multi-program calendar — Calendar / Timeline / List toggle.
- Always-visible Assign Program button.
- Empty-state CTA when no programs assigned.
See The Multi-Program Calendar (Schedule Tab).
Left sidebar — Client profile card
Always visible on desktop. Shows:
- Avatar, name, email, phone (if shared)
- Goals
- Limitations / injuries
- Trainer notes
Click Edit Profile in the header to toggle into inline edit mode (ClientProfileEditor).
Common pitfalls
Where to find this
- Page:
/clients/[clientId]. - Component:
app/clients/[clientId]/page.tsx. - API:
GET /api/clients/[clientId](added 2026-04-27 — fixes 2-week silent 404 bug).
