Skip to main content

Class Template List

This is where you see all your scheduled class templates in one place. Think of it like a master timetable — it shows every recurring class you have set up, along with details like which days they run, when they start, how popular they are, and ho...

Written by Ronny Christensen
Updated over 3 weeks ago

What This Screen Does

This is where you see all your scheduled class templates in one place. Think of it like a master timetable — it shows every recurring class you have set up, along with details like which days they run, when they start, how popular they are, and how long they are valid. From here you can search for a specific template, create a new one, or manage existing ones.


How to Get There

  1. Open the dashboard.

  2. In the left-hand menu, click Class Templates.

  3. You are now on the Class Template List screen.


Step-by-Step Guide

1. Review the Breadcrumb Navigation

  • At the top of the page you will see a breadcrumb trail: Dashboard > Class Templates > List.

  • You can click Dashboard to go back to the main dashboard, or Class Templates to return to the root of the class templates section.

2. Create a New Class Template

  • In the top-right corner, click the Schedule button (it has a + icon).

  • This takes you to the Create Class Template screen where you can set up a brand-new recurring class.

3. Filter by Status Tab

  • Below the breadcrumbs there is a tab bar.

  • Currently, there is one tab:

Tab

What It Shows

All

Every active class template. The number badge shows the total count of active templates.

  • Click the All tab to see all active templates (this is selected by default).

4. Search for a Class Template

  • Below the tabs you will find a search bar.

  • Type a class template name (or part of it) into the search field.

  • The table updates automatically as you type, filtering results by title.

  • If you have an active search filter, a results summary appears below the search bar showing how many templates matched. Click the Clear button (red, with a trash icon) to reset the search and see all templates again.

5. Browse the Table

The main table shows your class templates with these columns:

Column

Sortable

What It Shows

Title

Yes

The template name and subtitle, along with a thumbnail image (or a default avatar if no image is set).

Days

Yes

The days of the week this class runs (e.g. Monday, Wednesday, Friday).

Begins

Yes

The time of day the class starts.

Rating

No

The average rating from member feedback, shown as stars (0–5).

Fill rate

No

How full the class typically is, shown as a percentage.

Valid from

Yes

The date when this template started (or will start) generating classes.

Valid to

Yes

The date when this template stops generating classes. If blank, it runs indefinitely.

(Actions)

No

A three-dot menu button for managing the template.

  • Click any sortable column header to sort the table by that column. Click again to reverse the sort direction (ascending/descending).

  • By default, the table is sorted by Begins in descending order.

6. Change Rows Per Page

  • At the bottom of the table you will find pagination controls.

  • Use the Rows per page dropdown to choose how many templates to show at once (e.g. 5, 10, 25).

  • Use the page arrows to move between pages.

  • Toggle the Dense switch to make table rows more compact, which is handy when you have many templates.

7. Manage a Class Template

  • Click the three-dot menu (⋮) on the right side of any row.

  • A dropdown menu appears with three options:

Action

What It Does

Edit details

Opens the template’s detail/edit screen where you can change the class name, description, image, and other settings.

Edit planning

Opens the planning editor where you can change the schedule, coaches, duration, and recurrence settings.

Stop planning

Deletes (stops) the template so it no longer generates future classes. This action requires confirmation.

8. Stop Planning (Delete) a Template

  • Click the three-dot menu on the row you want to remove.

  • Select Stop planning.

  • A confirmation dialog appears asking: “Are you sure want to delete?”

  • Click Stop planning to confirm, or close the dialog to cancel.

  • Once confirmed, the template is deleted and the list refreshes.

  • You will see a green “Deleted!” notification at the bottom of the screen.


What Happens Behind the Scenes

When the page loads:

You navigate to /class-templates
        |
        v
Page reads URL query parameters (rowsPerPage, page, orderBy, order, title)
        |
        v
Redux dispatch: getClassTemplates({
  pageSize, pageNumber, sortBy, direction, search, isActive: true
})
        |
        v
API call: GET /api/class-templates (with pagination & filter params)
        |
        v
Server returns a list of templates + total count + stats in headers
        |
        v
Table renders with the returned data

When you stop planning (delete) a template:

You click "Stop planning" in the confirmation dialog
        |
        v
API call: ClassTemplatesService.deleteTemplate({ id })
        |
        v
Template is removed on the server
        |
        v
Success notification: "Deleted!"
        |
        v
API call: getClassTemplates (re-fetches the list with current filters)
        |
        v
Table refreshes without the deleted template


Troubleshooting

“I do not see any class templates in the table”

  • If the table is empty and you have not searched for anything, you may not have created any class templates yet. Click the Schedule button to create your first one.

  • Make sure you have the correct gym/location selected in the global gym selector at the top of the dashboard. Templates are filtered by the currently selected gym.

“My search returns no results”

  • Double-check your spelling. The search matches against the template title.

  • Try a shorter or more general search term.

  • Click the Clear button to reset the filter and see all templates.

“I clicked Stop planning but the template is still there”

  • Wait a moment — the list re-fetches after deletion. If your internet connection is slow, it may take a few seconds.

  • If the template still appears, try refreshing the page manually.

  • If you see a red error notification, the deletion may have failed. Check your internet connection and try again.

“The sorting does not seem to work on Rating or Fill rate”

  • The Rating and Fill rate columns are not sortable. They are calculated values displayed for reference only.

  • You can sort by Title, Days, Begins, Valid from, or Valid to.

“I accidentally deleted a class template”

  • Deleting a class template (stopping planning) is permanent. The template cannot be recovered from this screen.

  • However, classes that were already created from this template before it was deleted will still exist on the calendar.

  • If you need the same schedule again, you will need to create a new class template with the same settings.

“The page loads slowly or the table is blank for a long time”

  • The page fetches data from the server each time you change the page, sort order, search term, or selected gym. A slow connection can cause delays.

  • Try reducing the Rows per page to a smaller number (e.g. 5 or 10) to speed up loading.

  • If the problem persists, contact your administrator — the API may be experiencing issues.

“I changed the gym selector but the templates did not update”

  • The list automatically refreshes when you change the global gym. If it does not, try refreshing the page.

  • Some templates may only be assigned to specific gyms. If you do not see a template you expect, it may belong to a different location.

“The URL in my browser has strange parameters”

  • This is normal. The page saves your current table settings (page number, rows per page, sort order, and search term) in the URL query string. This means you can bookmark or share the exact view you are looking at, and it will be restored when you return.

Did this answer your question?