Releases: sitegeist/Sitegeist.Monocle
Releases · sitegeist/Sitegeist.Monocle
Fusion-Ast caching and hiddenPrototypeNamePatterns
The fusion-ast code for the styleguide is cached now and the configuration hiddenPrototypeNamePatterns
allows to hide prototypes from the monocle navigation.
Neos 4.0 Compatibilty
Merge pull request #79 from sitegeist/mficzel-patch-1 TASK: Remove call for isPackageActive which was removed in Neos 4
v4.1.0
Features
Language Selector
You'll now be able to preview your components in multiple languages using the I18n mechanism of Flow.
QR Code
It'll now be much easer to pick up a mobile device and test your component right away.
Bugfixes
v4.0.2
Only show active packages in ui and configureQuerySelector for HTML-code extractor
- only show active packages in ui
- preview.sourceQuerySelector configurable for html-code default = "body"
- show fusion-errors in preview
Fusion preview-rendering & propSets
Render the preview for the prototypes via fusion. The used fusion-path can be controlled via Setting preview.fusionRootPath
wich defaults to /<Sitegeist.Monocle:Preview.Page>
This release contains many breaking-changes so please read the change-log below carefully
Changes:
- !!! Fusion Preview: The used fusion-path can be controlled via Setting
preview.fusionRootPath' wich defaults to
/Sitegeist.Monocle:Preview.Page. The fusion preview gets the context
sitePackageKey,
prototypeName,
propSetand
props. By altering the
Sitegeist.Monocle:Preview.Page` prototype or implementing an alternate one you can control the html-the prototype preview is rendered in. - Add prototype
Sitegeist.Monocle:Preview.Page
- Renders the preview Frame for a prototype, makes use of the prototypes below to do so. This prototype mimics the interface ofNeos.Neos:Page
so you can adjust it in the same way - Add prototype
Sitegeist.Monocle:Preview.Prototype
- Render the preview for a single prototype and pass propSets and props - The
@styleguide
annotations now severalpropSets
in addition to props that define different sets of previewDate for each prototype. The propSets can be select via props-tab. - Support to modify boolean props in the props-tab.
- !!! The monocle routes are added automatically via settings and the routes are prefixed with
monocle
- !!! The Settings
viewportPresets
andstructure
are moved into theui
configuration-section - All Settings can be overwritten for each package via
packages.__package_key__
- !!! Settings
additionalResources
andmetaViewport
are removed from the configuration. You can control the included resources by alteringSitegeist.Monocle:Preview.Page
the same way you adjustNeos.Neos:Page
- !!! During rendering the styleguide-props are only applied to the main rendered prototype. If you want to render another prototype with applied styleguide props you can use
Sitegeist.Monocle:Preview.Prototype
. This allows the check in the styleguide wether all needed props are passed down.
New Monocle-Logo/Loader
- Add monocle-logo
- Pass selected props to the fullscreen view
UI Rewrite
- Completely re-written User Interface
- Prototype Search
- Site Package Selector
- Support to overwrite Component-Props with Realtime update
Fix login redirect
- After a session timeout and Re-login, you no longer get redirected to a 404 Page
Make `title` and `path` annotations optional and infer meaningful defaults
- The default path is now the component name (without VendorNamespace)
- The default title default is now the component name splittet reversed and glued with spaces again