Add activity strip and activity log to the admin member profile - #2855
Open
mroderick wants to merge 3 commits into
Open
Add activity strip and activity log to the admin member profile#2855mroderick wants to merge 3 commits into
mroderick wants to merge 3 commits into
Conversation
mroderick
force-pushed
the
feat/activity-strip
branch
from
September 9, 2026 09:56
da4735f to
5caacaa
Compare
mroderick
force-pushed
the
feat/activity-strip
branch
2 times, most recently
from
September 13, 2026 11:15
bd12731 to
3b90a9d
Compare
mroderick
force-pushed
the
feat/activity-strip
branch
from
September 13, 2026 11:32
3b90a9d to
8670a59
Compare
mroderick
force-pushed
the
feat/activity-strip
branch
from
September 13, 2026 11:47
8670a59 to
6388f59
Compare
mroderick
force-pushed
the
feat/activity-strip
branch
from
September 13, 2026 11:52
6388f59 to
7d430af
Compare
mroderick
force-pushed
the
feat/activity-strip
branch
3 times, most recently
from
September 13, 2026 15:15
f042f43 to
1f42b85
Compare
mroderick
marked this pull request as ready for review
September 13, 2026 15:23
mroderick
force-pushed
the
feat/activity-strip
branch
from
September 14, 2026 13:58
1f42b85 to
7817752
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Last of the activity-log stack (base: #2854). Adds a GitHub-status-style weekly activity strip (52 ISO weeks, three states) plus a recent activity log on the admin member profile, rendered in the wide column. Both render for every member; not member-facing.
Fake data from local development shows what this could look like for someone very active.
Key changes
Admin::Members::ActivityStripservice: one indexed query overactivitiesowned 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, codebar blue for active weeks, with SVG<title>tooltips (ISO week + counts, e.g. "2026-W37 (week of 7 Sep 2026): 2 member login") andaria-labelper bar; no JavaScript. Uses SVG titles rather than HTMLtitleattributes so tooltips work in Firefox.Sunday, 2026-09-13 11:58form. Each row links to the related entity where one exists — e.g. "Event invitation rsvp for " — with chapter-qualified group names ("Peterborough Coaches"); member-subject activities (logins, profile updates) render without links.Review notes
Week math and state classification live solely in the service (component renders only). Verified: full suite 1365/0, RuboCop clean.
Context and motivation: #2857