> ## Documentation Index
> Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
> Use this file to discover all available pages before exploring further.

# My Training

> Personal training enrollment dashboard — view assigned courses by status (pending, in progress, completed, overdue) and access course materials or certificates.

The My Training page (`/gr/my-training`) renders `MyTraining`, a self-service enrollment dashboard that shows all training courses assigned to the current user with status filters and progress tracking.

## Overview

`MyTraining` calls `useMyEnrollments` to fetch the current user's `gr_training_enrollments` records. Four stat cards show Total Assigned, In Progress, Completed, and Overdue counts.

Tabs filter the list: **All**, **Pending**, **In Progress**, **Completed**, and **Overdue**. Each enrollment card renders via `EnrollmentCard`, which calls `useTrainingCourseDetail` to show the course title, category badge, status badge, due date, CEU credits (if any), and estimated duration.

Action buttons on each card:

* Not started → **Start Training**
* In progress → **Continue Training**
* Completed → **View Certificate**

Overdue courses receive a destructive border. The search input filters by `course_id`.

## Who it's for

Access follows your organization's role and module configuration. Any authenticated user can view their own training assignments.

## Before you start

* You must be authenticated. The page shows only your enrolled courses.
* Course content and completion mechanics are handled outside this list view (navigation target depends on course configuration).

## Steps

<Steps>
  <Step title="Open My Training">
    Navigate to `/gr/my-training`. The page loads your training enrollments.
  </Step>

  <Step title="Review stats">
    Check the stat cards: Total Assigned, In Progress, Completed, and Overdue. A destructive Overdue count means courses are past their due date.
  </Step>

  <Step title="Filter by status">
    Click a tab (Pending, In Progress, Completed, Overdue) to narrow the list. Use the search box to look up a specific course.
  </Step>

  <Step title="Start or continue a course">
    Click **Start Training** or **Continue Training** on a course card to access the course content.
  </Step>

  <Step title="View a certificate">
    For completed courses, click **View Certificate** to access the completion certificate.
  </Step>
</Steps>

## Key concepts

* **useMyEnrollments** — hook fetching `gr_training_enrollments` scoped to the current user; supports `status` and `is_overdue` filters.
* **TrainingStatusBadge / TrainingCategoryBadge** — visual components from `src/cores/gr/components/`.
* **ceu\_credits** — CEU credit value on the course; displayed on the enrollment card when > 0.
* **duration\_minutes** — course duration converted to hours for display.

## Related

<Columns cols={2}>
  <Card title="Governance & Compliance" icon="scale-balanced" href="/gr/overview">
    Governance & Compliance core overview.
  </Card>

  <Card title="Governance & parity" icon="clipboard-check" href="/governance/index" />
</Columns>

<Note>
  This page documents shipped product behavior. It is not medical, legal, or
  billing advice. Verify against your organization's policies and applicable
  regulations before using it for clinical, compliance, or billing decisions.
  Protected health information (PHI) shown in the product is governed by your
  tenant's access controls and is never exposed in this documentation.
</Note>

<Accordion title="Documentation sources">
  * src/routes/gr.tsx
  * src/cores/gr/pages/MyTraining.tsx
  * src/cores/gr/hooks/useTrainingEnrollmentList.ts
  * src/cores/gr/hooks/useTrainingCourseList.ts
</Accordion>
