Skip to content

Programs List Should Be Dynamically Loaded from JSON #3

@abhimanyurajeesh

Description

@abhimanyurajeesh

Currently, the “Programs” filter section is hardcoded in the frontend. This causes maintenance issues and prevents automatic updates when new programs are added in the system.

As seen in the screenshot below, the program list (10 Bed ICU, Kerala Care, Palliative NGO, HMIS) should not be manually defined in the UI.
Instead, the programs list must be fetched from the JSON configuration file (e.g., the programs metadata API / configuration JSON).

Expected Behavior

  • Programs list should be populated dynamically from JSON data
  • Program name, color, and counts must be displayed based on the dynamic data received
  • UI should automatically update when new programs are added to configuration
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions