Skip to content

Activity: show the workouts of the day on screen, not always today's - #83

Merged
gabrielbr merged 1 commit into
mainfrom
ccr-67ccb970-dqwwqd
Nov 16, 2026
Merged

gabrielbr merged 1 commit into
mainfrom
ccr-67ccb970-dqwwqd

Conversation

@gabrielbr

Copy link
Copy Markdown
Owner

The owner's Developer → activity_sessions screenshot shows two finished workouts: a gym session on 12 Nov (46 min, average HR 76, finished with the Finish button) and a walk on 16 Nov (17 min). The gym session doesn't appear on the Activity tab.

Cause

The Activity tab has day arrows, and they move every card except the workout list. The list was fixed to today: it only showed workouts with startedAt >= startOfToday, under "TODAY" / "No workouts recorded today". On 12 Nov the tab said "no workouts" even though there was one. Past workouts could only be reached through the history dialog.

Fix

  • The list now shows the workouts of the day on screen.
  • The list's heading names that day: TODAY, YESTERDAY, a weekday, or a date.
  • The empty state names the day too. On a past day it points to Log Past Activity instead of recording one now.
  • pt-BR strings added.

The audit is in audits/2026-11-16-activity-workouts-follow-day.md. Seeing a past day's workout now takes 2 taps instead of 3.

Design canvas

The canvas tools aren't connected in this session. The Activity board's wording change is still owed.


Generated by Claude Code

The Activity tab's day arrows moved every card but the workout list, which was fixed to today
("TODAY", "No workouts recorded today"). A past workout was only reachable from the history
dialog, so the owner's finished 12 Nov gym session looked lost. The list now filters to the
shown day, and its header and empty text name that day (with Log Past Activity as the way in on
a past day).

Claude-Session: https://claude.ai/code/session_01P1t1aUqSUPd3whKXmgVm7w
@gabrielbr
gabrielbr merged commit 58603f9 into main Nov 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants