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

  • Advanced Date and Time Editing

    Latest updates to edit.scrivito.com

    After receiving feedback from power users, we’ve extended the date and time editing options. Manual date input Some editors need to provide many dates in their daily work. For these users, pointing and clicking again and again becomes tiresome after a while. With the new option to specify a date...

  • Deleting Website Sections in One Step

    Latest updates to edit.scrivito.com

    Sometimes, a section or subsection of a website becomes obsolete, for example, if a product is no longer sold, or part of the documentation isn’t needed anymore. In this situation, you can still delete the pages one by one, starting at the lowest hierarchy level of the section concerned, but you...

  • Modernized Buttons and Icons

    Latest updates to edit.scrivito.com

    We made the editing interface more attractive and user-friendly by brushing up its icon set. The icons are now easier to distinguish and more consistent in style. Some details have been removed from them so that the buttons work better for more editors, especially those with lower resolution...

  • Scrivito Editing Interface Improvements

    Latest updates to edit.scrivito.com

    Adding users to a working copy has become easier. The “Collaborators” selection box now also includes editors whose email address matches the search term. In the German-language Scrivito UI, you can now enter floating numbers in the standard German format, in which a comma instead of a period is...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.31.0 Released

    Server-side access to restricted content via Node.js You can now also access restricted Scrivito content on a server, e.g. for archiving your website content. For this, the apiKey option was added to Scrivito.configure . See also Using Scrivito with Node.js. Scrivito = require("scrivito")...

  • All Publish Buttons Now Work the Same

    Latest updates to edit.scrivito.com

    The behavior of the “Publish” buttons in Scrivito’s editing interface has been improved and aligned: All of these buttons now directly open the confirmation dialog which now also includes a button for opening the “Changes” list and getting an overview of the content that was altered. Thank you...

  • Scrivito Editing Interface Improvements

    Latest changes to edit.scrivito.com

    The active Content Browser tab is preserved The Content Browser sometimes prevented editors from quickly inspecting the properties of multiple objects one after the other. When the user selects another object of the same type, the active tab now remains open. Thank you for using Scrivito! Please...

  • Scrivito Editing Interface Improvements

    Latest changes to edit.scrivito.com

    A distinctive icon for new and changed images Editors mainly have to deal with two types of content objects: pages and images. To make it easier to spot such objects for reviewing them, a dedicated icon for images is now displayed in the “Changes” sidebar and dialog. Thank you for using Scrivito!...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.30.0 Released – Featuring Layout Components

    Introducing layout components, optionally with editable content You can now implement page-type-specific layout components and optionally have them render attributes for editor-defined content. If such layouts are present for a page that is part of the page hierarchy, the layout components of the...

  • Scrivito for Rails SDK 1.18.0 Released

    Added support for Ruby on Rails 7.0 The Scrivito for Rails SDK now supports Ruby on Rails 7.0. It requires Ruby 2.7 or later. Earlier Rails versions are no longer supported by Scrivito. Note that during the upgrade you will need to migrate from Rails 5.2 (with Scrivito 1.17.0 ) directly to Rails...