Skip to content

Add super admin daily activity and total user analytics - #5

Merged
ehsan0921 merged 3 commits into
mainfrom
dev
Oct 8, 2026
Merged

ehsan0921 merged 3 commits into
mainfrom
dev

Conversation

@ehsan0921

Copy link
Copy Markdown
Owner

Adds a super-admin Daily activity page with daily new-user and event-creation graphs for the last 7, 30 or 90 days, grouped in the administrator's profile timezone. An all-time total counts each known user once across current and legacy records, independent of the selected range.

The endpoint enforces existing server-side super-admin access, returns aggregate counts only, and does not modify event or user records. The page includes daily counts, loading/error/empty states, and notes about undated users and deleted events.

Validation: 434 unit tests passed; Worker bundle/static-import/local D1 integration checks passed with fictional fixtures and mocked Telegram. Mobile light/dark layouts, range switching, all-time total, table and close navigation checked locally. Development deployment and health/asset/authentication checks verified before promotion. Existing production documentation is preserved.

@ehsan0921
ehsan0921 merged commit 2e2fae5 into main Oct 8, 2026
1 check passed
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