Skip to content

Scaffold the analytics dashboard page (frontend) #570

Description

@phertyameen

Description

Create the base Next.js route for an internal analytics dashboard with a loading state and layout shell (nav + content area), gated behind an authenticated admin check.

Why this matters

None of the individual chart widgets below have anywhere to render without this page and layout existing first.

Files to touch

  • frontend/src/app/analytics/page.tsx
  • frontend/src/app/analytics/layout.tsx

Acceptance Criteria

  • Route renders behind an admin-only check (redirects otherwise)
  • Page shows a loading skeleton while data fetches

Notes

This issue is part of the new analytics module effort (tracking, aggregation,
and reporting on player/game activity). Please keep new code inside
backend/src/analytics/ following the same module/controller/service/provider
layout used by existing modules (e.g. progress, streak, quests).

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26analyticsenhancementNew feature or requestfrontendnextjsThe text stack being used for development

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions