PhaseStepper
NavigationThe six steps of a session: ideation → clustering → evaluation → summary → second evaluation → second summary. The last two are optional, joined by a dashed line.
Source
src/components/session/PhaseStepper.tsxUsage
Guidelines
- Everyone sees where the session is. The host can go back to any step, and forward only once the steps before are finished; the room on the server checks the same rule (
blockedReasonin@/lib/phase) - A step that cannot be entered yet is disabled, and the reason shows under the stepper
- On phones only the circles show, with the current step named on one line
Accessibility
- A
<nav>, witharia-current="step"on the current step - Each button's name gives the step and its state, such as "Step 3: Evaluation — current" (in Thai, as in the app)