KPI: count a new folder's first-day updates, and name the leaderboard's folder columns plainly #346

Merged
cruelacid merged 1 commit from worktree-kpi-firstday into main 2026-11-08 22:27:17 +00:00
Owner

The KPI dashboard dropped everything written in a folder on its first day, when that folder was created after collection began. A person who signed up and wrote on the same day showed no folder activity. Such a folder now counts from 0. A folder older than collection keeps a blank first day, since its earlier history isn't one day's work.

The leaderboard's "folder updates (share)" becomes "updates in their folders", and "shared folders" becomes "folders shared with others", because the plugin calls every synced folder a shared folder. The panel description says how both are counted.

Checked on the KPI store in a rolled-back transaction: the new user's folders go from 0 to 15 and 13 updates on their first day, and the 5 folders older than collection still read 0 on theirs.

Task: NEC-382

Changelog

NONE

🤖 Generated with Claude Code

https://claude.ai/code/session_01MY63BZ4UVtMHFcADNr1jFg

The KPI dashboard dropped everything written in a folder on its first day, when that folder was created after collection began. A person who signed up and wrote on the same day showed no folder activity. Such a folder now counts from 0. A folder older than collection keeps a blank first day, since its earlier history isn't one day's work. The leaderboard's "folder updates (share)" becomes "updates in their folders", and "shared folders" becomes "folders shared with others", because the plugin calls every synced folder a shared folder. The panel description says how both are counted. Checked on the KPI store in a rolled-back transaction: the new user's folders go from 0 to 15 and 13 updates on their first day, and the 5 folders older than collection still read 0 on theirs. Task: NEC-382 ## Changelog NONE 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01MY63BZ4UVtMHFcADNr1jFg
KPI: count a new folder's first-day updates, and name the leaderboard's folder columns plainly
All checks were successful
Release note / release-note (pull_request) Successful in 19s
CI / build (pull_request) Successful in 3m53s
CI / e2e (pull_request) Successful in 16m17s
CI / promote (pull_request) Has been skipped
CI / build (push) Successful in 4m22s
CI / e2e (push) Successful in 16m26s
CI / promote (push) Successful in 33s
b534976035
v_folder_updates_daily took each day's rise from the previous snapshot, so a
folder created after collection began lost everything written on its first
day: a person who signed up and wrote the same day showed no folder activity.
Such a folder now rises from 0. A folder older than collection keeps a blank
first day, since its earlier history is not one day's work.

"folder updates (share)" becomes "updates in their folders" and "shared
folders" becomes "folders shared with others": the plugin calls every synced
folder a shared folder, and the column counts only those with two or more
members. The panel description says how both are counted.

Task: NEC-382

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MY63BZ4UVtMHFcADNr1jFg
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Nectenda/nectenda!346
No description provided.