56
Shared Components
4
Component Types
56
Feature Links

UI Components

Accessible Picker Widget

WCAG 2.2 AA compliant reusable picker widget providing 44×44px touch targets, keyboard-accessible numeric inputs, and sc...

medium shared ui
Activity Registration Wizard
Speech Input Widget

Reusable Flutter widget that wraps any TextField with a microphone button, enabling peer mentors to dictate text instead...

medium shared ui
Speech-to-Text Input for Reports
Contact Card Widget

Compact list-item card displaying a contact's name, role context, and last interaction summary. Meets WCAG 2.2 AA minimu...

low shared ui
Contact List & Search
Contact Search Bar Widget

Reusable search input widget that triggers real-time filtering across contacts and notes content. Implements debounce lo...

low shared ui
Contact List & Search
View Switcher Widget

Segmented control widget allowing users to toggle the contacts list between 'Contacts' and 'Peer Mentors' modes. Persist...

low shared ui
Contact List & Search
Activity Summary Widget

A reusable card widget that displays a single aggregated metric — such as total hours, total contacts, or activity count...

low shared ui
Personal Activity Statistics
Approval Status Badge Widget

Compact badge widget that renders the current approval status of a reimbursement claim with color coding and localized l...

low shared ui
Automated & Manual Reimbursement Approval
Bottom Navigation Bar Widget

Persistent Material 3 NavigationBar shell widget wrapping all five tab destinations (Home, Contacts, Add, Work, Notifica...

low shared ui
Role-Specific Home Dashboard
Duplicate Warning Badge Widget

Inline badge component that surfaces duplicate activity detection results as visual warnings on activity list items and ...

low shared ui
Activity Oversight & Approval Workflows
Receipt Viewer Widget

Overlay modal that displays receipt images fetched via signed URLs from object storage, preventing unauthorized direct a...

medium shared ui
Admin Reimbursement Oversight
Benefit Breakdown Chart Widget

Reusable Flutter widget that renders a visual chart of individual benefit categories using the fl_chart package. Support...

medium shared ui
Peer Mentor Advantage Calculator
AppButton Widget

Accessible, reusable button widget used throughout the Flutter app. Enforces minimum 24x24 logical pixel touch targets p...

medium shared ui
Design System & Accessibility (WCAG 2.2 AA)
AppTextField Widget

Accessible text input widget enforcing WCAG 2.2 AA requirements for form fields across the entire app. Requires an expli...

medium shared ui
Design System & Accessibility (WCAG 2.2 AA)
Modal Navigation Helpers

Widget utilities managing modal presentation, dismissal, and focus trapping to meet WCAG 2.2 focus management requiremen...

medium shared ui
Design System & Accessibility (WCAG 2.2 AA)
Page Header Widget

Standardized page header widget providing consistent visual hierarchy, back navigation, and screen reader announcement a...

low shared ui
Design System & Accessibility (WCAG 2.2 AA)
Sync Status Indicator Widget

A persistent UI widget that communicates the current synchronization state to the user. Displays pending queue count, la...

low shared ui
Offline Support & Data Sync

Service Components

Auth Service

BLoC-based service that orchestrates the email and password authentication flow against the REST API. Submits credential...

medium shared service
Email & Password Login
Role Guard Service

A Riverpod provider that reads the authenticated user's role and organization context from app state and exposes a permi...

medium shared service
Role-Based Access Control
Activity Service

Shared business logic service for creating, updating, and submitting activities. Used by both the simple activity loggin...

medium shared service
Activity Registration Wizard
Contact Service

Business logic layer for contact CRUD operations, shared across the Contact List & Search and Contact Detail & Edit feat...

medium shared service
Contact Detail & Edit
Email Invitation Service

Handles the composition and dispatch of user invitation emails via a transactional email provider such as Resend or Send...

medium shared service
User Management
Oversight Audit Log Service

Specialized service responsible for recording immutable audit trail entries whenever an approval action is taken on an a...

medium shared service
Activity Oversight & Approval Workflows
Reimbursement Approval Audit Logger

Service responsible for writing immutable audit log entries whenever a reimbursement is approved, rejected, or included ...

low shared service
Admin Reimbursement Oversight
Context Management Service

Flutter BLoC-based service that stores and broadcasts the active association context throughout the app session. All API...

medium shared service
Member Multi-Association Membership
Statistics Service

Shared service that provides aggregated activity and contact statistics for a given user and time range. Used by both th...

medium shared service
Annual Activity Summary (Peer Mentor Wrapped)
REST API Client

Centralized HTTP client for the Flutter mobile app that handles all communication with the Next.js backend. Provides a t...

high shared service
REST API Backend
Accessibility Service

Central service managing runtime accessibility state, screen reader detection, font scaling, and focus traversal order a...

high shared service
Design System & Accessibility (WCAG 2.2 AA)
Encryption Service

Provides AES-256-GCM symmetric encryption for sensitive fields at rest. Wraps key derivation logic with per-user keys st...

high shared service
Security & Encryption Infrastructure

Data Components

Token Storage

Secure persistent storage for JWT access and refresh tokens using Flutter Secure Storage, backed by iOS Keychain and And...

low shared data
Email & Password Login
Auth Token Repository

Data access layer for persisting and retrieving authentication tokens, session records, and identity provider linkages. ...

medium shared data
BankID & Vipps Authentication
Activity Repository

Data access layer for activity records supporting both online REST API writes and offline local SQLite reads. Shared wit...

medium shared data
Activity Registration Wizard
Contact Repository Cache

Read-only local cache of contact records enabling offline contact search within the wizard contact step. Synchronizes fr...

low shared data
Activity Registration Wizard
Contact Repository

Data access layer for the contacts table, shared across Contact List & Search and Contact Detail & Edit features. Abstra...

medium shared data
Contact Detail & Edit
Reimbursement Admin Repository

Data access layer optimized for the admin oversight use case, providing complex filtered and paginated queries that join...

medium shared data
Admin Reimbursement Oversight
Organization Repository

Data access layer for the full organizational hierarchy including organizations, regions, and local associations. Execut...

high shared data
Multi-Organization Hierarchy Management
Local Cache Repository

Provides read and write access to the local SQLite mirror of server-side data required for offline operation — specifica...

medium shared data
Offline Support & Data Sync
Audit Log Repository

Persists security-relevant events to a dedicated PostgreSQL audit_logs table with tamper-evident append-only semantics. ...

medium shared data
Security & Encryption Infrastructure

Infrastructure Components

JWT Infrastructure

Infrastructure layer responsible for JWT token parsing, validation, and expiry checks. Decodes access token claims to ex...

medium shared infrastructure
Email & Password Login
Auth Middleware

Next.js middleware layer that intercepts every API request and validates the JWT role claims server-side before the requ...

medium shared infrastructure
Role-Based Access Control
Report API Middleware

Next.js API route middleware that enforces role-scoped access control for all team report endpoints, verifying the reque...

low shared infrastructure
Coordinator Team Reports
Report Access Guard

Middleware that enforces role-based access control for all Bufdir report generation and export endpoints, restricting ac...

low shared infrastructure
Bufdir Report Generation & Export
Approval Audit Logger

Infrastructure component that writes structured audit log entries to audit_logs for every approval lifecycle event: subm...

low shared infrastructure
Automated & Manual Reimbursement Approval
End-to-End Encryption Infrastructure

Implements the asymmetric key exchange and symmetric encryption layer used for assignment payloads. Generates and stores...

high shared infrastructure
Encrypted Assignment Dispatch & Tracking
Email Delivery Infrastructure

Adapter layer wrapping the transactional email provider (Resend or SendGrid) used for all outbound system emails. Provid...

low shared infrastructure
User Management
Invitation Token Infrastructure

Generates and validates time-limited cryptographically signed tokens used in user invitation links. Tokens encode the in...

medium shared infrastructure
User Management
Signed URL Provider

Infrastructure utility that generates time-limited signed URLs for accessing receipt images stored in object storage (Ve...

low shared infrastructure
Admin Reimbursement Oversight
Multi-Tenancy Infrastructure

Application-level tenancy scoping layer that intercepts every incoming API request and attaches the resolved tenant cont...

high shared infrastructure
Multi-Organization Hierarchy Management
Calculator Export Infrastructure

Provides low-level utilities for generating image snapshots and PDF exports of the calculator result screen. Uses Flutte...

medium shared infrastructure
Peer Mentor Advantage Calculator
Request & Response Interceptors

Flutter-side Dio/HTTP interceptor chain that transparently handles token refresh, retry logic, and error normalization f...

high shared infrastructure
REST API Backend
Design Token System

Single Dart constants file defining all visual design tokens for the application including colors, typography, spacing, ...

medium shared infrastructure
Design System & Accessibility (WCAG 2.2 AA)
Semantic Labels Infrastructure

Infrastructure layer providing localized, organization-aware semantic label strings for all interactive elements and scr...

medium shared infrastructure
Design System & Accessibility (WCAG 2.2 AA)
Connectivity Infrastructure

Monitors device network connectivity using the connectivity_plus Flutter package and exposes reactive streams of connect...

low shared infrastructure
Offline Support & Data Sync
Local Database Infrastructure

Bootstraps and manages the on-device SQLite database using the drift (formerly moor) package for Flutter. Defines the fu...

high shared infrastructure
Offline Support & Data Sync
Secure Storage Infrastructure

Wraps flutter_secure_storage to provide hardware-backed secure storage delegating to iOS Keychain and Android Keystore. ...

medium shared infrastructure
Security & Encryption Infrastructure
Connection Pool Infrastructure

Manages a pool of PostgreSQL connections for the Next.js backend using node-postgres (pg). Configures pool size, idle ti...

medium shared infrastructure
PostgreSQL Database
Database Migration Infrastructure

Manages versioned SQL schema migrations for the PostgreSQL database. Applies migration scripts in sequence, tracks appli...

medium shared infrastructure
PostgreSQL Database