Page body
What this surface does
This is the create wizard for a new wheel.
Operators use it to define all required wheel data in five steps:
Wheel NameWheel SettingsWheel UISegmentsVisibility
Each step also has its own Complete Step action, and each step can expose Save Draft while the wheel still exists only as a local browser draft.
How the create flow really behaves
Save Draftis a per-step local-draft helper until the first backend draft row exists.- The first successful
Complete Stepcan bootstrap a real backend draft row and redirect the operator from/createto/wheel-of-fortune/:id. - Step headers are clickable, but the operator can only open step
0immediately or a later step when the previous step is already completed. - The final submit path publishes the wheel only after all required steps are completed and FE validation passes for the required steps.
- Segment setup uses the active bonus catalog as one of its reference inputs, but choosing a segment bonus does not edit the underlying bonus definition.
- Settings cover player-facing links and motion: wheel URL, wheel MKT tag, claim button URL, wheel speed, wheel turns, and guest access.
- UI configuration covers text placement, segment text styling, modal background, and four asset slots: wheel background, spin button, pointer arrow, and wheel frame.
- Segment configuration supports localized text, chance percent, optional segment image, and a linked bonus per segment.
- Visibility controls include include-tags, exclude-tags, and the active or inactive status switch.
Translatefills missing localized values from EN only.Force Translateoverwrites existing target-language values for the supported translated fields.- The right-side
Live Previewis not a persistence surface. It mirrors current FE state, includes a preview-language switcher and completion progress, and helps operators inspect wheel links, claim links, preview chips, and segment UI before publish.
Common caveats
- Backend publish validation requires a wheel name, title translations, claim button translations, claim title translations, and between 10 and 16 segments with text.
- FE step validation only hard-gates
Wheel NameandSegments; the intermediate settings, UI, and visibility steps can still be marked complete without extra FE validation errors. - Full publish still requires all steps to be completed, so operators should not treat a green
Complete Stepon step1,2, or4as proof that all downstream data is ready. Save Draftstops writing local storage after the first backend draft exists; from that point the operator must useComplete Stepto persist changes.TranslateandForce Translateonly work when at least one EN source text exists across title, subtitle, claim button text, claim title, or segment text.- Preview links are generated from current form values and casino origin settings. They are helpful for inspection, but they do not save or publish the wheel.
- Segment images and wheel UI assets can come from either direct URLs or asset-library selections depending on the current source-type toggle.