Files
coder/site
Jeremy Ruppel f2181572cc fix(site): support browser back and forward in template builder wizard (#27104)
Browser back/forward controls did not work in the template builder
wizard. Using browser navigation sent the user out of the wizard
entirely instead of moving between steps.

The wizard's current step is now driven by a `?step=` search param. Step
transitions push history entries so browser back/forward walks the
steps. Steps that are invalid, skipped, or unreachable given the wizard
state are clamped and the URL is rewritten with a replace, keeping URL
and state in sync in both directions.

`?base=` is accepted as the only entry search param and deep-links to a
preselected base template (superseding #26808). The page container
resolves it against the available bases, holds the wizard behind a
loader until it is consumed and removed from the URL, then mounts the
wizard starting on the first step after base selection.

Closes https://linear.app/codercom/issue/DEVEX-594

> Generated with [Coder](https://coder.com) by @jeremyruppel
2026-07-14 08:55:36 -04:00
..
…
2026-06-16 14:43:54 -06:00
…
…
…
2026-06-16 14:43:54 -06:00
2026-06-29 08:57:07 -06:00
2026-06-16 14:43:54 -06:00