Scrivito JS SDK 1.24.0 Released – Featuring Further Performance Improvements

Further performance improvements

Optimized widget loading

Scrivito applications are now able to retrieve widget data on demand. This reduces the applications’ bandwidth, memory and CPU usage, and speeds up pre-rendering. On average, the size of preload dumps is reduced by 80 %, causing the app to be loaded much faster.
For details, see the optimizedWidgetLoading option of Scrivito.configure.

Faster component rendering

React components that are defined by means of Scrivito.provideComponent are now rendered significantly faster.

WYSIWYG text highlighting

Sometimes, one needs to draw the attention of website visitors to the most important part of a longer paragraph. To achieve this, editors can now highlight short passages of text using the “mark” HTML toolbar button.

Combined with the right design, this will help you get your message across in another great looking way. For details, see Customizing the in-place editing toolbar.

Selectable editing interface language

Editors no longer need to change the language setting in their browser to switch between German and English localization in Scrivito’s editing interface as the user menu at the bottom right now provides a language selector.

In situations in which it is desirable or required that all editors always use Scrivito’s editing interface in the same language (regardless of individual user preferences), the new editorLanguage configuration option lets you achieve this.

Removing pages from the hierarchy

A website’s page hierarchy structures the site’s content. Pages part of the hierarchy usually show up in navigations somewhere on the site. Previously, using the editing interface, it was not possible to detach a page from the hierarchy to turn it into a landing page, for example. Now, you can! There’s a menu item for this in the context menu of those pages in the hierarchy browser that don’t have subpages.

More improvements

  • Site label for items on the changes sidebar

    The items on the “Changes” sidebar as well as in the changes dialog now have a badge indicating the site they belong to.

  • Dedicated methods for full-text searches

    Scrivito’s search API, Obj.where, supports full-text as well as exact searches. To be able to better distinguish between these two search types, Obj.whereFullTextOf has been added for exclusive use with full-text operators (contains and containsPrefix). Also, the search operators supported by Obj.where can be limited to the exact ones (equals, startsWith, etc.) by setting strictSearchOperators in Scrivito.configure to true. Finally, ObjSearch.and has been complemented by ObjSearch.andFullTextOf. These methods are subject to the same limitations.

  • Marking object classes as suitable for homepages

    The object classes editors can choose from when they create a website can now be specified precisely using the validAsRoot and onlyAsRoot keys that have been added to the provideObjClass API.

  • If no protocol is specified when entering external links, the editing interface now adds the HTTPS protocol to them to make them functional.

  • Support for keeping stringlist items consistent

    Scrivito now removes surplus space characters from stringlist items. This prevents editors from inadvertently creating different versions of the same item, e.g. multiple tags that differ only in the number of spaces they contain.

  • Date values are rounded in searches

    For better performance with searches for CMS objects by means of the isLessThan and isGreaterThan search operators, date values are now rounded to the nearest full minute.

More great blog posts from Andreas Viebke

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.46.0 RC 2 Released

    Interface Builder improvements Using attributes of the current page context Attributes of the current page and its ancestors are now available to editors as placeholders and as a data source (datalocator). Note that only attributes of the string type that are also included as attributes in the...

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