Skip to content

[NGO Admin/ Beneficiary/ Intervention plan] Disable table add buttons when no value is configured for the respective category in the organization's nomenclature #545

Description

@andrabrinzaniuc

CONTEXT
In order for specialists to be able to add services, benefits, or results (in individual intervention plans for each beneficiary), the elements have to be available (configured in the superadmin & added to the organisation by an NGO admin for services OR just configured in superadmin for benefits, results, insights on participation).

PROBLEM
Users should not be able to trigger an ADD flow for services, benefits, or results IF no elements are available to be added for the respective category.

PROPOSED ENHANCEMENT
IF list of elements in category (services/ benefits/ results) = null, THEN:

  • Add (service/benefit/result) button should be disabled
  • A tooltip should be displayed at hover for users to understand why the functionality is not available
Image

FIGMA LINK
https://www.figma.com/design/gpOGCkb9B6pTfe1DvleVMm/Sunrise?node-id=11187-27449&t=PKKmH1I0aHg0zSGv-4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions