Scrivito JS SDK 1.2.0 Is Available

Major improvements

Live updating, part 2

Recently, we praised live updating (we first called it auto updating) as truly beneficial to collaborative settings such as reviews. And it is, because changes to a page become immediately visible to the participants. However, live updating was functional in preview mode only. This release changes this, meaning that live updating now works in editing mode, too.

Further improvements

Publishing via the top bar

For better accessibility and even more convenience, the top bar (also known as panel) of Scrivito’s in-place editing interface now includes a “Publish” button. In contrast to the “Publish” button in the sidebar, the new top bar button opens the changes dialog for optionally first reviewing the list of altered pages, images, etc. You can then click the (also new) “Publish” button at the bottom of the changes list, or, as usual, navigate to a modified item (by clicking it) or selectively move changes to a different working copy.

First working copy is created automatically

Mainly for making it even easier for first-time Scrivito users to get started, Scrivito now automatically creates a working copy for them when switching to Edit mode while viewing the published content without a working copy being present.

The title of the first working copy reads, for example, “John Smith’s working copy”, i.e., it includes the user’s full name that was given in the signup process.

Routing support

When adding Scrivito to an existing React application, Scrivito’s routing can now be integrated with the routing of the app. For this, the Scrivito.useHistory() helper method has been provided. It allows routing integration with all applications that are built on top of the history library, e.g. React Router, and all other applications that either use the history library directly or through a history-based library.

Updated dependencies

The speakingurl and urijs dependencies have been updated to the latest version.

Faster checking for child pages

A page can only be deleted if it doesn’t have any child pages. Scrivito now determines the presence of child pages much faster, so that editors are informed much earlier if a page cannot be deleted.

Bugfixes

Invalid URLs in link attributes no longer lead to unexpected behavior of the editing interface.

More great blog posts from Andreas Viebke

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.46.0 RC 1 Released

    Interface Builder improvements urlForDataItem also returns the URL of a page or binary If a page object is passed to urlForDataItem , i.e., an object with an object class for which a component exists, the URL of this page is now returned. For the Binary type, it now returns the URL of the binary....

  • 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...