Loading...

Restructure with the outline designer

Many changes to a site's structure, staged in one view and saved in one operation.

Step by step

  1. 1. Open the outline designer. From the top bar or the dashboard. outline-designer loads the items from the store's manifest. (1. Open the outline designer, Outline designer, Site dashboard)
  2. 2. Stage changes. Drag to reorder, indent or outdent to nest, rename, add, duplicate, delete, lock, publish or unpublish. Every change is staged locally as a diff; nothing is written yet. (2. Stage changes, Outline designer, JSON Outline Schema)
  3. 3. Save once. PATCH /x/api/v1/site/outline: the whole set of operations in one atomic call. The backend validates it, writes site.json, and creates or removes page files as needed. Both backends behave identically. (3. Save once, PATCH /x/api/v1/site/outline, HAXcms PHP, HAXcms Node.js, OpenAPI)
  4. 4. Everything follows. The store refreshes the manifest; menus, breadcrumbs, previous and next, the sitemap and search follow the new structure. (4. Everything follows, site.json, Themes)
  5. 5. Why it is guarded. Bulk structure changes are mission critical, so outline-designer and saveOutline are covered by end-to-end and conformance tests; save and failure behavior cannot change from a data-model change. (5. Why it is guarded, E2E UI tests, Backend parity, nightly)
  6. Restructure with the outline designer: the whole path. (Restructure with the outline designer, 1. Open the outline designer, 2. Stage changes, 3. Save once, 4. Everything follows, 5. Why it is guarded)