Activity tracking data for a single user on an assignment.
Tracks an individual user's progress, time spent, and work sessions for a specific assignment. Each assigned user has their own activity record.
const activity: UserActivity = { userId: 'user-456', status: 'in_progress', totalTimeMinutes: 120, progress: 65, personalNotes: 'Need to review section 3', sessions: [],}; Copy
const activity: UserActivity = { userId: 'user-456', status: 'in_progress', totalTimeMinutes: 120, progress: 65, personalNotes: 'Need to review section 3', sessions: [],};
User's personal notes on the assignment
Progress percentage from 0 to 100
List of tracked work sessions
Current status for this user
Total time spent in minutes across all sessions
User ID this activity belongs to
Activity tracking data for a single user on an assignment.
Remarks
Tracks an individual user's progress, time spent, and work sessions for a specific assignment. Each assigned user has their own activity record.
Example