# Prepare your first edition

You start from an empty edition and describe it: its stands, their game categories, their locations. Staff and the calendar each have their own guide. The *Prepare* menu entry follows the order in which an edition is built (Stands, Calendar, Staff), and *Files* comes right after.

The type of event changes the priorities: see [a festival schedule](/planning-festival/), [a trade show or fair schedule](/planning-salon-foire/) or [a sports event schedule](/planning-evenement-sportif/).

## Before you start

- Choose the working edition by its name, in the top bar of every page. Two browser tabs can work on two editions at once without ever mixing them: each tab keeps the edition it opened, and switching edition in one does not move the other, which then carries the "this tab" pill. If a colleague deletes the open edition, the tab reloads on another one and says which one went. A link received by e-mail (end of a solve, swaps, weather alert) names its edition: opened in a tab working on another one, it asks "This link is about edition…: open it?", and declining takes you to the home screen of the tab's edition. To create one: [Chain editions](enchainer-les-editions.md).
- On an empty edition, the home screen offers a "Get started" block: import a file, start from a previous edition or load an example. With a volunteers' spreadsheet or an edition to take over, [Import and export files](importer-exporter.md) saves typing by hand.

## Create your game categories

A **game category** is a kind of game or activity: the vocabulary shared between staff skills and what a stand offers.

1. Open *Stands*, *Game categories* tab.
2. Create each category. You can set there the ceiling of timeslots a staff member may hold in it, and tick the "all-rounder" category, the all-rounders', directly in the table.
3. Read each line's figures: how many people master it, how many wished for it, how many stands offer it; each leads to the list it counts.

A badge flags an **orphan** category (offered by a stand, mastered by nobody outside all-rounders), a **fragile** one (a single person) or an **unused** one (no stand). The edition status counts the orphans before any solve.

## Place your stands on the map (the locations)

**Locations** are the geolocated places attached to stands, to avoid long trips from one timeslot to the next. In *Stands*, *Locations* tab, a map shows them with their stands; drag a marker with the mouse to save its position. A location can also be created from a stand's form.

## Add a stand

1. Open *Stands* and click "Add". The wizard guides the creation: identity, game categories, location, then the edition's timeslots, to untick, with the headcount of each.
2. Fill in at least one game category, the minimum and maximum headcounts, and whether the stand is reserved for adults. The *premium* and *effort* flags are set in the fiche.
3. Set its hours in its fiche: recurring model and dated plages ([Build the calendar and the hours](calendrier-et-horaires.md#régler-les-horaires-douverture-des-stands)). Each opening window can name its own headcount, for a stand whose need differs in the morning, the afternoon and at night.

A stand's fiche also gathers its seats after a solve and the history of its changes. Its hours can be copied to another stand from its fiche, or to a whole selection by bulk edit. During a solve, or when stands are frozen (*Ready to compute* phase, or *Published* without unblocking), the fiche is read-only, a banner saying why.

## What the application flags as you enter

A birth date in the future or more than 120 years back is refused, on entry as on import: a year typo would turn someone from a minor into an adult, or the reverse. A phone number of more than 15 digits (two numbers in the same box) is still shown but is no longer a call link.

On creation as on edit, the entry is saved, then a message flags what deserves a second look: an unavailability outside the event dates or on a day with no timeslot, a birth date that makes the staff member a minor during the event (the message says from when they become an adult) or that makes them younger than 8, a timeslot that no open stand covers. If two people open the same fiche, the second to save is warned that the fiche moved and chooses to reload or overwrite knowingly: nothing is overwritten silently.

## Change phase when preparation is over

An edition moves through phases: Preparation, Ready to compute, Published, Finished. In Preparation, everything can be edited. From "Ready to compute" on, the reference data is frozen: stands, timeslots, game categories, locations and staff skills can no longer be edited by any path (form, bulk edit, import, assistant), and frozen fields show read-only with a padlock.

To change phase, open the home screen ("Phase of the edition" line) or Administer › Editions: the four phases sit side by side, and each change asks for a confirmation saying what the new phase freezes or opens. Going back is always allowed: returning to Preparation reopens the reference data, and the application reminds you if the schedule is already published.

The first publication moves the edition to Published: the structure (stands, timeslots, game categories, locations) stays frozen there, but staff records can be edited again. For a last-minute change, such as adding a stand the day before, "Unblock the structure" reopens it without leaving the phase (a banner reminds you); the next publication freezes it again by itself, or "Freeze again" does it by hand. In every phase, availabilities, adjustments, locks and consignes stay free.

## What next

Build [the calendar and the hours](calendrier-et-horaires.md), then describe [the staff and their skills](animateurs-et-competences.md). When everything is in place, [solve the schedule](calculer-planning.md).
