KinesteX

Complete UX Customization

Customize the Complete UX (Main View) home page experience.


ParameterTypeDescriptionEffect
challenges_homearrayCustom challenges/games for home screenDefines 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:

PropertyTypeRequiredDescription
idstringYesExercise ID for challenges, or game ID for games
namestringYesDisplay name shown in the UI
isGamebooleanYesSet to true for games, false for challenges

Available Games:

  • balloonpop - Balloon Pop game
  • aliensquatshooter - Alien Squat Shooter game
  • colorchase - Color Chase game

Combination Options:

  • Two challenges (both with isGame: false)
  • Two games (both with isGame: true)
  • One challenge + one game (mixed isGame values)

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)