Releases: GetmeUK/ContentFlow
Releases · GetmeUK/ContentFlow
Fix
Fixes 0.1.3
Fix for unspecified data-cf-flow-position
ordering ahead of those with specified positions.
Added support for setting the order of flows in the drop-down
You can now set the order of flows using the data-cf-flow-position attribute
, flows without a position by default appear last.
New control features
- Added support for flagging snippets as permanent (cannot be deleted) using the attribute
data-cf-snippet-permanent
. - Added support for freezing a flow (preventing snippets from being reordered) using the attribute
data-cf-flow-frozen
- Added support for setting the maximum number of snippets that can be added to a flow using the attribute
data-cf-flow-max-snippets="2"
Removal of bourbon flex mixin use
0.1.1 Minor changes to CSS to remove reliance on bourbon flex macros
Support for snippets that contain flows
The goal of this release was improve support for snippets that themselves contain flows so that implementing more complex components such as galleries or form builders is easier. To that end:
- The FlowMgr class now supports a
syncFlows
method making it possible to resync with the page after a snippet is added or deleted. - After a snippet is added or deleted the we force a resync with the page to pick up any new or removed flows.
- I've also added in support for setting a label against flows (rather than just the Id) so that nice human friendly labels can be set.
Fix for boolean field value return
0.0.11 Fix for boolean value return
Fix for GET url for update-snippet-settings
0.0.10 Fix for GET url for update-snippet-settings
Handling for arrays/lists as parameters in Base API
The BaseAPI
class now handles parameters with array/list values by converting them to JSON (which means you'll need to decode any such parameter the other end).
Fix for label errors on changing snippet scope to global
0.0.8 Bug fix for displaying error messages for change of scope to global