User Interface medium complexity frontend
0
Dependencies
0
Dependents
1
Entities
0
Integrations

Description

A dashboard widget that renders a chronological stream of recent platform events for the authenticated admin. Items are grouped by recency (today, yesterday, this week) and display actionable status indicators with direct links to relevant detail pages.

Feature: Activity Feed

activity-feed-widget

Sources & reasoning

Lines 325-327 place "Aktivitetsoversikt" explicitly in Admin Web Portal MVP scope (Fase 1). Line 116 surfaces the oversight gap - 40% dissatisfied with follow-up - motivating a real-time feed that gives admins immediate visibility into peer mentor activity. Both signals point to MVP, normalized from Fase 1 ordinal position.

  • docs/source/likeperson.md · line 325-327
    Admin Web Portal (MVP scope): Aktivitetsoversikt og grunnleggende statistikk 2 innloggede brukerroller: Organisasjonsadministrator, Global Administrator
  • docs/source/likeperson.md · line 116
    Oppfølging av likepersoner: 40 % var ikke fornøyd med oppfølgingen i spørreundersøkelse. Scenariobaserte push-meldinger og kalendersynkronisering.

Responsibilities

  • Render grouped feed items with recency labels and status badges
  • Surface high-priority items (pending approvals, overdue follow-ups) at the top
  • Provide clickable links from each feed item to the relevant detail page
  • Poll or subscribe to feed updates and reflect new items without full page reload
  • Display empty and loading states when no events are present or data is fetching

Interfaces

render(feedItems: ActivityFeedItem[]): void
onItemClick(itemId: string, targetUrl: string): void
refresh(): Promise<void>

Related Data Entities (1)

Data entities managed by this component