Complete UX Customization
Customize the Complete UX (Main View) home page experience.
| Parameter | Type | Description | Effect |
| challenges_home | array | Custom challenges/games for home screen | Defines the two challenge/game options shown on the Complete UX home page |
challenges_home Configuration:
The challenges_home parameter allows you to customize the challenges and games displayed on the home screen of the Complete UX experience. You must pass exactly 2 objects in the array.
Array Object Structure:
| Property | Type | Required | Description |
| id | string | Yes | Exercise ID for challenges, or game ID for games |
| name | string | Yes | Display name shown in the UI |
| isGame | boolean | Yes | Set to true for games, false for challenges |
Available Games:
balloonpop- Balloon Pop gamealiensquatshooter- Alien Squat Shooter gamecolorchase- Color Chase game
Combination Options:
- Two challenges (both with
isGame: false) - Two games (both with
isGame: true) - One challenge + one game (mixed
isGamevalues)
Note: You can pass any exercise ID as a challenge. When specifying a game, ensure isGame is set to true.
Complete UX Home Page Customization
1// Customize challenges on Complete UX home page
2let exerciseId = "your-exercise-id" // Get from Content API
3let exerciseName = "Your Exercise Name"
4
5kinestex.createMainView(
6 customParams: [
7 "challenges_home": [
8 ["id": exerciseId, "name": exerciseName, "isGame": false],
9 ["id": "balloonpop", "name": "Balloon Pop", "isGame": true]
10 ]
11 ]
12)