User Interface medium complexity Shared Component frontend
3
Dependencies
0
Dependents
0
Entities
0
Integrations

Description

Scrollable chronological feed widget displaying recent activity registrations, expense submissions, and system events for organization administrators. Designed as a reusable component embeddable on the KPI dashboard and mountable as a standalone admin page.

Feature: Activity Feed

activity-feed-widget

Sources & reasoning

Core UI component required by the feature. The blueprint explicitly names this component. Its reusability across KPI dashboard and standalone page is called out in implementation notes, making it a candidate for the shared_components list.

  • docs/source/likeperson.md · line 184
    Activity oversight, approval workflows, and corrections
  • docs/source/likeperson.md · line 317
    Aktivitetsoversikt og grunnleggende statistikk
  • docs/source/likeperson.md · line 476
    admin-dashboard | Admin Dashboard | Dashboard KPIs, Activity Feed

Responsibilities

  • Render polymorphic feed entries (activities, expenses, system events) using type-specific icons and action links
  • Support infinite scroll with cursor-based pagination loading more entries on demand
  • Reflect live updates via SSE or 30-second polling without full page reload
  • Link each entry directly to the relevant record for quick review and action

Interfaces

ActivityFeedWidget({ organizationId, pageSize?, onEntryClick })
loadMore(): Promise<void>
refresh(): void

Relationships

Dependencies (3)

Components this component depends on