🎨 Tweak some names dealing with user activity
* Rename `project_activity_summary` to `top_users_activity_summary` to make clearer the distinction between it and the per-user summary. * Rename `user_activity_summary` to `user_activity_timeline`, since its output is structured a bit differently than the courser-grained "summary" returned by the top-user query. * Rename `ActivityDuration` -> `ActivityPeriod`
This commit is contained in:
parent
5cc5e15f4d
commit
1d10e45282
3 changed files with 60 additions and 49 deletions
|
@ -332,7 +332,7 @@ impl Server {
|
|||
let period_end = OffsetDateTime::now_utc();
|
||||
this.app_state
|
||||
.db
|
||||
.record_project_activity(period_start..period_end, &active_projects)
|
||||
.record_user_activity(period_start..period_end, &active_projects)
|
||||
.await
|
||||
.trace_err();
|
||||
period_start = period_end;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue