Skip to content

[FRONTEND] Implement real-time data polling on Patient Dashboard #229

@dev-fatima-24

Description

@dev-fatima-24

Priority: high

Description

Vaccination records can be issued at any time by an authorized issuer. The Patient Dashboard should poll the backend every 30 seconds so newly issued records appear without a manual refresh.

Acceptance Criteria

  • Dashboard polls GET /v1/vaccination/:wallet every 30 seconds
  • Polling stops when the component unmounts
  • New records are appended without full page reload
  • A subtle 'Updated just now' indicator appears after each successful poll
  • Polling pauses when the browser tab is hidden (visibilitychange)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions