Skip to content

Add organiser activity strip to the admin member profile - #2855

Draft
mroderick wants to merge 3 commits into
feat/activity-workshopsfrom
feat/activity-strip
Draft

Add organiser activity strip to the admin member profile#2855
mroderick wants to merge 3 commits into
feat/activity-workshopsfrom
feat/activity-strip

Conversation

@mroderick

@mroderick mroderick commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

Last of the activity-log stack (base: #2854). Adds the visualisation: a GitHub-status-style weekly activity strip (52 ISO weeks, three states) on the admin member profile, rendered only when the viewed member holds an organiser role on any chapter.

Key changes

  • Admin::Members::ActivityStrip service: one indexed query over activities owned by the member, bucketed into 52 ISO weeks; states :empty / :login_only (logins and logouts only) / :active (any other key); per-week key counts for tooltips.
  • Admin::Members::ActivityStripComponent: 52 tall SVG bars with native title tooltips; no JavaScript.
  • Renders only for organisers on /admin/members/:id; not member-facing.
  • Data fidelity: the log starts at instrumentation deploy (PR 1 of this stack) — earlier weeks read as empty by design.

Review notes

Week math and state classification live solely in the service (component renders only). Verified: full suite 1353/0 (includes upstream's chapter-health card work), RuboCop clean.


Context and motivation: #2857

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant