What This Screen Does
This is where you update an existing shift (class) in the system. Think of it like editing the details on a scheduled session — you can change the title, time, instructors, and various settings. Once you save, the system updates the shift and takes you back to the classes list.
How to Get There
Open the dashboard.
In the left-hand menu, click Classes.
Find the shift you want to edit and click on it to open it.
Click the Edit button (or you will be taken here from the class detail view).
You are now on the Edit Shift screen.
Step-by-Step Guide
1. Edit the Details
This section covers the core identity of the shift.
Field | Required | What to Enter |
Title | Yes | The name of the shift or class (e.g. “Endurance WOD”). |
Type | Yes | Pick a class description from the dropdown. This categorises the shift (e.g. “CrossFit”, “Yoga”). If the list is empty, you need to create a class description first. |
Gym | Yes | Choose which gym or location this shift belongs to. Every shift must be tied to a location. |
2. Set the Properties
These toggles control the behaviour and rules for the shift. Each one is a simple on/off switch:
Toggle | Required | What It Does |
Is open gym | No | When turned on, marks this session as an open gym (no structured class, members can train freely). |
Is a closed class | No | When turned on, the class is closed for new sign-ups. Only pre-registered participants can attend. |
Is personal training | No | When turned on, marks this session as a personal training slot rather than a group class. |
Enable fines | No | When turned on, members who sign up but do not attend can be fined (a no-show penalty). |
Is guests allowed | No | When turned on, guests (non-members) can book this class. |
Release training program | No | When turned on, a training program will be released to participants before the class starts. This reveals two extra fields (see step 4). |
Change opt out time | No | When turned on, you can customise how early members must cancel. This reveals two extra fields (see step 5). |
3. Set the Time
Field | Required | What to Enter |
Class begins | Yes | Use the time picker to set when the shift starts. The picker uses 24-hour format. |
Class ends | No | Use the time picker to set when the shift ends. Must be later than the start time. If left empty, the system uses the shift duration instead. |
Shift duration in hours | No | How many hours the shift lasts (e.g. “1”). Must be 0 or greater. |
Shift duration in minutes | No | How many additional minutes the shift lasts (e.g. “30” for a 1 h 30 min shift). Must be 0 or greater. |
4. Configure Program Release (only if “Release training program” is on)
These fields only appear when the Release training program toggle is turned on.
Field | Required | What to Enter |
Hours before program release | No | How many hours before the class starts the program should be released to participants. Must be 0 or greater. |
Minutes before program release | No | How many additional minutes before the class starts the program should be released. Must be 0 or greater. |
For example, setting hours to 2 and minutes to 30 means the program is released 2 hours and 30 minutes before class begins.
5. Configure Opt Out Time (only if “Change opt out time” is on)
These fields only appear when the Change opt out time toggle is turned on.
Field | Required | What to Enter |
Earliest opt out time in hours | No | The minimum number of hours before class start that a member can cancel their registration. Must be 0 or greater. |
Earliest opt out time in minutes | No | Additional minutes for the opt-out window. Must be 0 or greater. |
For example, setting hours to 3 and minutes to 0 means members must cancel at least 3 hours before the class starts.
6. Assign Instructors
In the Coaches dropdown, select one or more instructors for this shift.
Each instructor appears with a checkbox next to their name.
Check or uncheck names to add or remove coaches.
The list is populated from your employee directory — if someone is missing, make sure they are added as an employee first.
7. Save Changes
Click the Save Changes button at the bottom-right of the form.
The system will:
Validate all your inputs.
Update the shift record with your changes.
Redirect you to the classes list.
You will see a green “Update success!” notification at the bottom of the screen.
What Happens Behind the Scenes
You click "Save Changes"
|
v
Form validates all fields (Yup schema)
|
v
Validation fails? → Red error messages appear below the invalid fields
|
v
Validation passes
|
v
API call: ClassesService.edit({ id: classId, body: formData })
|
v
Server updates the shift record and returns success
|
v
Form resets to clean state
|
v
Success notification: "Update success!"
|
v
You are redirected to the classes list (/classes)
Troubleshooting
“I changed some fields but the Save button does nothing”
Make sure all required fields are filled in. The form will not submit if anything is missing.
Look for small red error messages below the fields — they tell you exactly what needs to be fixed.
The Title, Type, Gym, and Class begins fields are all required.
“The end time keeps showing an error”
The Class ends time must be later than the Class begins time.
If you set both to the same time, or set the end earlier than the start, the form will show a validation error.
Adjust the end time so it comes after the start time, or leave it empty and use shift duration instead.
“I do not see any class descriptions in the Type dropdown”
Class descriptions are loaded when the page opens. If the list is empty, try refreshing the page.
If there are still no options, you need to create a class description first. Go to the Class Descriptions section and add one.
“I do not see any gyms to select”
You must have at least one gym or location set up in the system.
If you are new to the platform, set up a gym first under the Gym settings before editing shifts.
“I cannot find the instructor I want to assign”
The coaches list comes from your employee directory.
If someone is missing, make sure they have been added as an employee in the Employees section.
Try refreshing the page — the instructor list is fetched when the form loads.
“I got a red error message after clicking Save”
Read the error message carefully — it usually explains the problem.
Common causes: a server timeout, a conflict with another edit, or a validation issue on the server side.
If the error message says something specific (like a duplicate title), fix the issue and try again.
If the error is unclear or keeps happening, contact support and share the error message.
“The program release fields are not showing”
The Hours before program release and Minutes before program release fields only appear when the Release training program toggle is turned on.
Switch the toggle on and the fields will appear immediately.
“The opt out time fields are not showing”
The Earliest opt out time fields only appear when the Change opt out time toggle is turned on.
Switch the toggle on and the fields will appear immediately.
“My changes were not saved and I was not redirected”
Check your internet connection. The save action requires communication with the server.
Look for a red alert box at the top of the form — it will show the error details from the server.
Try again after a moment. If the problem persists, contact your administrator.
“The form is empty or shows wrong data”
The form loads data for the shift based on the URL (the shift ID in the address bar).
If the ID is wrong or the shift was deleted, the form may appear empty.
Go back to the classes list, find the correct shift, and open it again.
