User Interface low complexity mobile
0
Dependencies
0
Dependents
0
Entities
0
Integrations

Description

Small status banner displayed at the top of the Advantage Calculator Screen when the current impact result originates from the local cache rather than a live backend call. Shows the timestamp of the last successful calculation and prompts the user to reconnect.

Feature: Advantage Calculator (Real-Time)

staleness-indicator-widget

Responsibilities

  • Display human-readable age of cached result (e.g. 'Last updated 2 hours ago')
  • Provide a tap-to-retry affordance that re-triggers the calculation API call

Interfaces

StalenessIndicator({required lastUpdatedAt, required onRetry}) → Widget