Skip to content

Releases: sitegeist/Sitegeist.Monocle

!!! Update for Neos 4.2, Performance improvements

31 Jan 11:46
e50257b
Compare
Choose a tag to compare

This release uses the new @apply feature that Fusion received in Neos 4.2 to improve the rendering performance.

!!!ATTENTION!!! Starting with this release styleguide-props are only applied for THE actually rendered prototype. Prototypes that are used internally do not receive styleguide props. This helps to really verify that props are passed down correctly.

If you want render other prototypes with applied styleguide you can use the prototype Sitegeist.Monocle:Preview.Prototype which supports passing prototypeName, propSet, and props.

Shrink preview when props are opened

31 Jan 08:05
e50257b
Compare
Choose a tag to compare

In addition the menu rendering on firefox is improved and the open-state of the props-panel is visualized in the menu.

BUGFIX: Add defaults to render cli command

23 Jan 16:51
Compare
Choose a tag to compare
v4.6.1

BUGFIX: Add defaults to render cli command

FEATURE: Enhance cli rendering

18 Jan 12:25
82335cd
Compare
Choose a tag to compare

This adds propSet, props and locales parameters to ./flow styleguide:render. props and locales can be passed as JSON:

./flow styleguide:render Vendor.Site:Component.Atom.Container --props '{"content":"Foo"}'

BUGFIX: Fix anatomy tree

11 Oct 19:10
33e6b50
Compare
Choose a tag to compare
Merge pull request #91 from hlubek/bugfix/anatomy-transformation-90

BUGFIX: Correctly transform anatomy tree

Add `Sitegeist.Monocle:StaticUri` prototype

11 Oct 09:17
5910604
Compare
Choose a tag to compare

The prototype creates an URI that will return the content of the file and the contentType for the given key.

    endpointUrl = Sitegeist.Monocle:StaticUri {
        key = 'example'
    }

The path and content type for each key are configured via Settings:

Sitegeist:
  Monocle:
    uriMock:
      static:
        example:
          path: 'resource://Vendor.Package/Private/Json/example.json'
          contentType: 'application/json'

Sitegeist.Monocle:MirrorUri endpoint

24 Aug 14:18
0e28f2e
Compare
Choose a tag to compare

The fusion prototype Sitegeist.Monocle:MirrorUri creates an uri to an monocle-endpoint that returns the passed content with the given type

endpointUrl = Sitegeist.Monocle:MirrorUri {
  content = '{"hello":"world"}'
  type = 'application/json'
}

For convenience special prototypes for json and text exist aswell:

  • Sitegeist.Monocle:MirrorUri.Json: And endpoint-mock with media-type application/json that accepts RawArray data
  • Sitegeist.Monocle:MirrorUri.Text: And endpoint-mock with media-type text/plain

DataUri-Prototypes

24 Jul 16:13
481cf74
Compare
Choose a tag to compare

Monocle now has fusion-prototypes to simulate api responses for components.

  • Sitegeist.Monocle:DataUri: Generic data uri implementation that expects type and content as string
  • Sitegeist.Monocle:DataUri.Json: And endpoint-mock with media-type application/json that will pass content trough Json.stringify
  • Sitegeist.Monocle:DataUri.Text: And endpoint-mock with media-type text/plain

Fix Neos 3.3 support

24 Jul 15:58
2f3d933
Compare
Choose a tag to compare

The previous release accidentally used internal api introduced with Neos 4.0

Fusion-Ast caching and hiddenPrototypeNamePatterns

20 Jul 07:35
bf3c0ac
Compare
Choose a tag to compare

The fusion-ast code for the styleguide is cached now and the configuration hiddenPrototypeNamePatterns allows to hide prototypes from the monocle navigation.