Custom hook to fetch user activity logs and calculate progress data.
Optional
The ID of the user whose activity is to be fetched.
The ID of the selected class (optional).
The type of class filter (optional).
Custom hook to fetch user activity logs and calculate progress data.