Skip to content

Kaleta 1.7.0 – safe redesigns

Choose a tag to compare

@github-actions github-actions released this 28 Sep 17:00
· 1121 commits to main since this release

Kaleta 1.7 makes redesigns safe: look changes wait in a draft you preview on the whole site, then publish in one step.

The draft look

A change of the design system, of an existing shared class or of a menu no longer reaches visitors at once. It goes to one draft look – from Site appearance, the builder, the menu editor and Claude alike. While there is one, every admin screen shows what it changes (colours before → after, classes, menus) with three buttons:

  • Preview the whole site – a signed link (valid for a day, also for a colleague) that shows the site with the draft look and the drafts of all pages and site parts. The preview stays while you click through the site; a bar at the top ends it.
  • Publish the look – everything at once. The look before is kept under Site appearance → Import and export → Earlier looks (the last 20); Back to this look loads it into the draft again.
  • Discard – the published look stays.

A brand-new shared class still applies at once – it changes nothing that is published. The change log records what each publishing changed.

After the update: colours, fonts, class changes and menus you save wait for Publish the look – look for the bar at the top of the admin.

Templates of site parts

Site parts → Start from a template: four headers (logo left and menu right, centred logo, with a contact bar, minimal), four footers (columns, compact, with the imprint, with a call to action) and plain or extended wrappers for the news item, the news list and the 404 page. A template is a clean skeleton – colours, fonts and spacing come from your design system – and it goes into the part's draft.

Claude

  • update_design_system, save_classes and save_menu write to the draft look; publish_look, discard_look, list_look_versions and restore_look_version handle it; preview_link with site: true gives the whole-site preview.
  • apply_part_template puts a template into a site part; builder_schema lists part_templates.
  • site_info and list_classes show what is in the draft.

For contributors

Core\Look (the draft look, hooks in DesignSystem::load, Build::css and Menu::load), Builder\PartTemplates, database migration 30 (ka_look_versions).

Updating

Update from Settings → Backups and updates.