# Games

Search, filter, and manage your games. Click any **game name** in the results to view its full details.

## Tip

Use `+ Create Game` in the top right to add a new game.

## Workflow

### Filter Games

Use filters to narrow by date, status, sport, location, and pay.

### Choose Action

Pick `Bulk Edit` or `Assign Officials`.

### Execute

Select games, apply changes, and submit.

## Sections

### Filtering & Search

Find games using the search bar and filter dropdowns:

#### Search

Type a game name in the search bar to find it quickly.

#### Filter

Narrow results by **date range**, **status**, **coordinator**, **event**, **game type** (when multiple types are available), **state**, **sport**, **location**, **zip code**, **pay range**, **time of day**, **day of week**, or **assigned officials**.

#### Apply

Click `Search` to apply your filters. A badge appears when filters have changed but haven't been applied yet. Click `Reset` to clear all filters.

### Results Table

Your filtered games are displayed with sortable columns:

#### Sorting

Click any sortable column header (**game**, **date/time**, **location**, **event**, **visibility**, **account**, or **official pay**) to sort.

#### Staffed

Color-coded to show staffing status:
• {green} **Green** — Fully staffed
• {amber} **Amber** — Partially filled
• {red} **Red** — No officials assigned

#### Reservation

`Self-assign` — an official can claim an open slot instantly, no approval needed.
`By request` — officials request the slot; you approve who fills it. Neither badge shows for unpublished games.

#### Requests

Shows the number of officials currently waiting for approval on a `By request` game. Click it to jump to the Reservation Requests page, filtered to that game.

#### Game Details

Click any **game name** to navigate to its detail page.

### Bulk Edit Mode

Click `Bulk Edit` to enter bulk edit mode. Select games using checkboxes, then use the floating action bar at the bottom:

#### Available Actions

• `Set Pay`
• `Set Venue`
• `Set Sport`
• `Set Type` (when multiple types are available)
• `Set Visibility` (unpublished, anyone, network)
• `Set Officials Needed`
• `Set Account`

#### Pinning Actions

Pinned actions appear as buttons directly on the bar. Click `More` for additional actions. Use the **pin icon** to pin or unpin actions for quick access.

#### Exiting

Click `Bulk Edit ✕` in Choose Action, or click `Done` on the floating bar.

### Assign Officials Mode

Click `Assign Officials` to enter assignment mode. The connected workflow guide highlights the current stage and marks completed stages:

#### Select Officials

Search by name, email, phone, state, or city. Toggle between `Network` (favorites) and `All`. Select up to **5 officials**.

#### Check Availability

• `Check These Games` — Checks the selected officials against the **currently displayed games**. Your results stay the same — it just adds availability columns.
• `Find Available Games` — Runs a **new search** combining your filters with the selected officials to show **only games where at least one selected official is available**. Your results will change.

The table adds a column per official:
• {green} Green check = available
• {red} Red X = unavailable
• {amber} Yellow ! = not available for this game

#### Select & Assign

• `Select All Available` — Auto-selects all valid assignments
• `Clear` — Resets your selections
• `Assign Selected` — Confirms and submits the selected assignments
• `Cancel` — Exits assign mode

### Creating Games

Click `+ Create Game` in the top right corner.

• **Desktop** — Opens a creation modal
• **Mobile** — Navigates to a full creation page

Fill in the sport, venue, date, time, pay, and number of officials needed.

## FAQ

### Why are some games disabled in assign mode?

A game is disabled when it can't receive assignments:

• All official slots are already **filled**
• The game **doesn't belong to you**
• **None** of your selected officials are available (after checking availability)

### Check These Games vs Find Available Games?

• `Check These Games` — Adds availability columns to your **current results**. The game list doesn't change.
• `Find Available Games` — Runs a **new search** combining your filters with the selected officials. The results change to show **only games where at least one official is available**.

Use `Check These Games` to check availability without changing your results. Use `Find Available Games` to filter down to only assignable games.

### Why can't I select more than 5 officials?

Each selected official adds a column to the results table. More than **5** would make the table too wide to use effectively.

### What do the slot colors mean?

• {green} **Green** — All positions filled
• {amber} **Amber** — Partially filled
• {red} **Red** — No officials assigned

### How do I pin a bulk edit action?

Click `More` on the floating bar, then click the **pin icon** next to any action to add it directly to the bar for quick access.

### Can I undo a bulk edit?

Bulk edits apply immediately and can't be undone as a batch. To revert, edit individual games from their **detail page**.

### Why don't I see all my games?

The default filters show **Future Games** with **All Status** for **My Games** only. Click `Reset` to clear all filters.

### What do the Self-assign and By request badges mean?

`Self-assign` — the game is set to immediate reservations: an official can claim an open slot instantly, no review needed. `By request` — officials request the slot and you approve who gets it, from the Reservation Requests page. Neither badge shows for unpublished games, since officials can never see or request them.
