Skip to content

Support UI Customization via Country Configuration (Scripts & CSS Injection) #9694

@ThierryMyshepherd

Description

@ThierryMyshepherd

We would like to propose a generic and reusable feature for OpenCRVS core to support frontend/UI customization via the country configuration. This would enable countries to inject custom scripts and CSS or link to externally hosted tools

Problem Statement
Currently, implementing UI-level customizations (e.g., adding a feedback form, linking to an external service, or custom styling) often requires a core fork or hardcoded changes. This approach:
Creates technical debt and long-term maintenance challenges.
Complicates upgrades, especially when applying new product releases or hotfixes.
Limits flexibility for countries to respond to specific local needs or regulations.

A flexible frontend/UI customization capability that allows countries to:

  • Add custom scripts and CSS
  • Include external scripts (e.g., feedback tools, UI components), ideally from a country's private or controlled infrastructure.
  • Manage these customisations via the country configuration, rather than hardcoding or forking core.

Related issues: #9712

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Completed

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions