Skip to content

0.49.0

Choose a tag to compare

@FalkoJoseph FalkoJoseph released this 16 Nov 23:05
· 42 commits to main since this release

Changed

  • Back follows the trail. The top bar shows where you are again, each level a link: Design / Classes / Elements / Heading 1. Back, in the top-left corner, or Esc, goes to the level just before the screen's name, so from a class you reach its group and then Classes, never straight to the Dashboard. A page opened from the Dashboard goes back to its list, like any other.
  • Patterns are components that aren't synced. A component has a Synced setting, on by default: a synced one is placed as itself and changes everywhere it is used; one that isn't is inserted as a copy of its blocks, to change freely. Properties belong to synced components. Components keep a category and keywords, and are listed by category with the usual ones first.
  • The inserter's tabs are Blocks and Components. Components shows every one as your site draws it, by category; search finds blocks and components together.
  • Make a Component asks whether it is synced. On, the blocks you selected become the component; off, a copy is saved to start from and the page keeps its blocks. A new, empty page offers Start From a Component: the whole pages among your components that aren't synced.

Removed

  • Breaking. Patterns, as a collection and a page of their own: their files go in content/collections/components/ with synced: false.
  • Breaking. The abilities patterns/list and patterns/save: components/list returns synced and keywords and takes category and synced, and components/save takes synced, keywords and blocks as Block Markdown.
  • Breaking. The blocks.pattern-sources filter: blocks.component-sources reads <handle>.md (front matter and Block Markdown) as well as <handle>.json.
  • Breaking. The /__pattern/<handle> preview: /__component/<handle> draws a component alone.

Fixed

  • In Pages, a page that comes with a feature or plugin can't be selected for actions on several pages, also once you've made it your own: Delete there would quietly have put back its standard version. Going back to the standard version stays in its own ⋯ menu.