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

Description

Unified card component that renders a single polymorphic feed entry with type-specific icons (activity, expense, system event), timestamps, actor name, and a direct action link to the referenced record. Handles the three supported entry types through a discriminated-union rendering strategy.

Feature: Activity Feed

feed-entry-card

Sources & reasoning

The implementation notes explicitly describe a unified polymorphic card with type-specific icons. Separating this into its own component keeps the feed widget clean and makes each entry type independently testable.

  • 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 activity registration entries with peer mentor name, contact, and date
  • Render expense submission entries with amount and approval status indicator
  • Render system event entries with event type icon and description
  • Provide a direct deep-link action button to the referenced record

Interfaces

FeedEntryCard({ entry: FeedEntry, onActionClick(id, type) })
FeedEntry: { id, type: 'activity'|'expense'|'system_event', actor, timestamp, summary, actionHref }

Relationships

Dependents (1)

Components that depend on this component