Scrivito 1.3.0 Release Notes

Improvements

Improved drag 'n' drop

Dragging and dropping widgets in the Scrivito UI has become much smoother. Compared to the previous version:

  • The drop target is detected more reliably.
  • While dragging, the current structure of the widgets on the page doesn't change; the widgets don't hop about anymore.
  • When dragging a widget around, the spot at which it would be inserted is now indicated by an unobtrusive cursor-like placeholder.

Automatically updated working copies

Editors no longer need to manually update their working copies after a different working copy has been published intermediately. In fact, there is no “Update” menu item in the working copy menu anymore for working copies that have been created in place.

If required for some reason, the SDK still lets you create working copies that are not automatically updated.

Better image placeholder

Scrivito now uses an image placeholder that looks like famous image placeholders do, so you'll recognize it better. Also, unlike its predecessor, it scales and isn't visible in preview mode or on live pages.

Changelog

The changelog reflects minor improvements and bugfixes that were made in addition to the changes listed above.

Details

Minor improvements

  • We updated MediumEditor to version 5.15.0.
  • Many users were baffled by the Content Browser's multi-selection mode when opened via the Scrivito panel. So the Content Browser now always opens in single selection mode. Thanks for letting us know!

Bugfixes

  • The properties dialogs now use the description_for_editor method of the object class concerned. Previously, the class names were displayed as they were.
  • A bug that prevented uploading very large files has been fixed.
  • The SDK now validates the names of custom attributes of CMS object classes, applying the same rules as the CMS backend does. This causes violations related to naming to be reported directly by the SDK and thus in a more timely fashion.
    The validation rules read like this: “Custom attribute names must start with a lowercase ASCII letter, subsequent characters may also be digits or underscores. Also, attribute names must not be longer than 50 characters and must not be ‘id’.”
  • We fixed a problem with faceted searches. “MyPage.all.facet(…)” erroneously threw a “Scrivito::ClientError: Search request is too complex.”
  • The buttons for removing strings from a string list are now properly styled.
  • A bug that prevented using the scrivito_path and scrivito_url helpers from an isolated engine has been fixed.

More great blog posts from Andreas Viebke

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.45.0 Released

    Interface Builder Supports Further Attribute Types for Filtering

    Interface Builder improvements Filtering data by enum, boolean, date, and number attributes The Interface Builder’s data editor now also lets you filter data by attributes of the enum , boolean , date , and number types. This makes it much more convenient and intuitive to select and present data...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.44.2 Released

    Bugfix Release An issue with Scrivito.useDataLocator has been fixed. It prevented filters with reference data attributes from being evaluated properly. We apologize for any inconvenience this issue may have caused! Thanks again for using Scrivito!

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.44.1 Released

    Maintenance release This is a maintenance release with minor improvements. As always, we will keep you posted if there is anything interesting to report. Stay tuned! Thanks again for using Scrivito!

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.44.0 Released

    Interface Builder improvements LinkTag supports data items The LinkTag component now supports data items as navigation targets. Passing a DataItem to the to prop causes the link to point to the details page of the item concerned. Accessing current data of a specific class The useDataScope and...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.43.0 Released

    Interface builder improvements Data attributes For the application to utilize the attributes selected by content editors, the Scrivito SDK now includes a (beta) API for representing data attributes, DataItemAttribute . A data item attribute can be accessed from a data item via...

  • Providing Data Classes with Custom Attributes

    Latest updates to edit.scrivito.com

    Defining custom attributes via the Interface Builder’s data editor The data editor now lets you add custom attributes to data classes. If, for example, you have a “Current user” data class that requires an attribute not specified in the editing configuration of this class, e.g., “email”, you can...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.42.1 Released

    Bugfixes Data integration issue > DataItem#get > no longer requires a loading context, i.e., > Scrivito.load > or > Scrivito.connect > . We apologize for any inconvenience the above issue may have caused! Thank you for using Scrivito!

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.42.0 Released

    Interface Builder improvements DataScope#limit() API method The new DataScope#limit() method determines the maximum number of data items a DataScope may contain. It returns either a number indicating this limit, or undefined if no limit is set. Introducing Scrivito.currentLanguage()...

  • Introducing the ​New Data Editor

    Latest updates to edit.scrivito.com

    > > As you may have noticed, we have been continuously refining and expanding the Interface Builder. Now the time has come for a correspondingly enhanced data editor. > > The new data editor comes with an intuitive interface that provides a visual representation of a data locator as well as...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.41.0 Released

    Interface Builder improvements Accessing a data scope from the current data It is now possible to access a DataScope from the current data using the new Scrivito.useData hook (which supersedes the Scrivito.useDataItem hook). The new hook always returns a DataScope . In order to check whether this...