Skip to content

Group item control new design #11

Description

@ir4y

For nested groups the following design should be applied: https://www.figma.com/design/4zUBTBQuk3VQBb6KHYqwGn/Beda-EMR-Web-UI?node-id=8278-84295&t=FPSvGmMqcgNoNG3a-0

  • Implement function that checks whether new design should be applied.
    • more than 2 subgroups exists
    • 1 repeatable subgroups
    • sub groups has subgroup
  • Implement a function that creates a sidebar menu layout. The function analyse QustionItem and extract required metadata to render the subgroup. GroupWizardBus could be used to send messages from Menu to item in the right panel.
  • Implement required UI elements
  • Implement GroupWizardBus features for the new design:
    • add element
    • got to specific element by index
    • go to previous element
    • select current element (should fire modal with conformation)

For testing and demo purposes please use Goals and tasks QuestionItem from GPChronicConditionManagementPlan.json

Questionnaire may contain group-voice QuestionItem that is used just to manage voice capture. They should be ignored by check function and should be included in the side menu. However they still should be used in the right panel during render.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions