You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: rename mostRecentCompletionDate to lastActivity (#152)
### TL;DR
Renamed `mostRecentCompletionDate` to `lastActivity` and added participant ID to habit data structure.
### What changed?
- Renamed `mostRecentCompletionDate` field to `lastActivity` across all habit-related files
- Added participant ID to the habit data structure
- Added `use-habit-completions` export
- Updated participant schema to include ID in the record type
### Why make this change?
The rename from `mostRecentCompletionDate` to `lastActivity` better reflects the field's purpose, as it tracks general user activity rather than just completions. Adding participant IDs improves data consistency and makes it easier to reference specific participants throughout the application.
0 commit comments