Admin

Description

These components contain all of the Organization-facing components to manage users, programs and coaches.

UserList (Coming Soon)

Description

Display a user list with a row for each active user.

Basic Usage

<UserList showProgressSummary="true" allowDelete="true" />

Props

| 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 |

UserDetail (Coming Soon)

Description

Display a user list with a row for each active user.

Basic Usage

<UserDetail userId={userId} allowEditGoals="true" />

Props

| 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. |

UserMessaging (Coming Soon)

Description

Display a user list with a row for each active user.

Basic Usage

<UserMessaging userId=”” onSendMessage="" onComplete="" >
<MessagesList />
<ChatInputBar allowPhotos=”true” />
</UserMessaging>

Props

| 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 |

Program List (Coming Soon)

Description

Display a list of Programs available.

Basic Usage

<ProgramList allowDelete="true" />

Props

| Prop | Type | Description || :---- | :---- | :---- || allowDelete | bool | If true, we allow the user to swipe and delete any item in the list |

Program Details (Coming Soon)

Description

Display Program Details for a given program, with the ability to create or delete programs.

Basic Usage

<PogramDetails programId=””>
<BaseProgramCustomizationFields>
<ProgramPhaseList>
<ProgramPhaseDetails />
</ProgramPhaseList>
</PogramDetails>

Props

| 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 |