These components contain all of the Organization-facing components to manage users, programs and coaches.
Display a user list with a row for each active user.
<UserList showProgressSummary="true" allowDelete="true" />
| Prop | Type | Description || :---- | :---- | :---- || showProgressSummary | bool | If true, we display a summary of the user’s activity to the right of the user details per row. || allowDelete | bool | If true, we allow the user to swipe and delete any item in the list |
Display a user list with a row for each active user.
<UserDetail userId={userId} allowEditGoals="true" />
| Prop | Type | Description || :---- | :---- | :---- || userId | string | Unique Identifier for the user || allowEditGoals | bool | If true, we allow the admin to edit the goals for the user. |
Display a user list with a row for each active user.
<UserMessaging userId=”” onSendMessage="" onComplete="" >
<MessagesList />
<ChatInputBar allowPhotos=”true” />
</UserMessaging>
| Prop | Type | Description || :---- | :---- | :---- || userId | string | Unique Identifier for the user || onSendMessage | any / function | Function to call when message is sent || onComplete | any / function | Function to call when chat is done |
Display a list of Programs available.
<ProgramList allowDelete="true" />
| Prop | Type | Description || :---- | :---- | :---- || allowDelete | bool | If true, we allow the user to swipe and delete any item in the list |
Display Program Details for a given program, with the ability to create or delete programs.
<PogramDetails programId=””>
<BaseProgramCustomizationFields>
<ProgramPhaseList>
<ProgramPhaseDetails />
</ProgramPhaseList>
</PogramDetails>
| Prop | Type | Description || :---- | :---- | :---- || programId | string | Unique Identifier for the program || allowDelete | bool | If true, we allow the user to swipe and delete any item in the list |