feat: mark the account own classes in list date

`list date` showed the day but nothing personal, so spotting your own class
meant cross-referencing `bookings` by hand.

No extra request is needed: each schedule row already carries the account
relationship in `Status` -- "Signed In" for a class attended, "Reserved" for one
upcoming, empty otherwise (verified live against both cases). class_rows already
parsed it; it was simply never displayed.

Rows now get a `»` marker and a YOU column with the lowercased status. The
compact `classes` renderer gains an equivalent `«you: ...»` suffix.

138 tests, no network required.

Co-Authored-By: Claude Opus 5 <[email protected]>
This commit is contained in:
lucioandClaude Opus 5 committed 2026-07-25 16:03:35 -07:00
1 parent 8ab4ad4b17
commit ae3c39b384
3 files changed
+57 -5

No files matched your search

+8 -4
View File
@@ -37,12 +37,16 @@ wodify list date 2026-07-25
```
```
TIME COACH BOOKED CLASS DUR ID
----- ----------- ------ ----------------------- ----- ---------
07:00 Robin Vance 10/10 CrossFit: 7:00 AM 60min 192001199
10:00 Pat Doyle 12/12 CrossFit Burn: 10:00 AM 60min 190918189
TIME COACH BOOKED CLASS DUR YOU ID
- ----- ----------- ------ ----------------------- ----- --------- ---------
07:00 Robin Vance 10/10 CrossFit: 7:00 AM 60min - 192001199
» 10:00 Pat Doyle 12/12 CrossFit Burn: 10:00 AM 60min signed in 190918189
```
Your own classes are marked `»` with your status in the `YOU` column — `signed in` for
one you attended, `reserved` for one still upcoming. This costs no extra request: the
schedule response already reports the account's relationship to each class.
(Names above are illustrative — the tool prints whatever your gym returns.)
Then feed an ID back in for the workout and the named attendee list: