1 of 17

Dev Webinar release-2023-01

2 of 17

Overview

  • Welcome!
  • Q&A after every feature + at the end
  • Feedback -> meinrad@livingdocs.io

Recording of the webinar PW: jq%sBK7B

3 of 17

Features

4 of 17

Translation library

  • We support conversion of Livingdocs to XLIFF using the li2xliff library
  • Can be installed with `npm install @livingdocs/li2xliff`
    • Two functions can be required: `const {createXliff, updateContent} = require('@livingdocs/li2xliff')`
    • createXliff converts livingdocs to xliff and updateContent updates a created document from translated xliff
  • Using event subscription and webhooks the converted content can automatically be sent to a computer-assisted translation (CAT) tool
  • Additional configs are supported and a setup guide is in the documentation

5 of 17

Home Screen

  • Document Creation Flow Buttons in the Toolbar
  • Multiple Table Dashboards
  • Activated if config is present for project
  • Becomes default route for project

Dashboard Sources:

  • Custom function returns documentIds
  • No pagination
  • No filters
  • Max. 35 results

More information in the Documentation

6 of 17

7 of 17

Improvements

8 of 17

Target Length refinement

  • Added support for accepted character range with `ui.config.acceptedCharacterDifference`
  • Global configuration, will apply to all defined `steps`
  • Other improvements in UI:
    • Over valid range:
    • Above center within valid range:
    • Center valid range:
    • Below center within valid range:
    • Under valid range:
    • Hover:

metadata: [� {

handle: 'targetLength',

type: 'li-target-length',

ui: {

config: {

acceptedCharacterDifference: 20,

steps: [

{

label: 'S',

value: 100

},

{

label: 'M',

value: 200

}

]

}

}

}

]

Collapsed

With focused component

9 of 17

Push messages refinement

  • Push Messages can only be sent on published documents
  • Push-Button in Table Dashboard is hidden when not published
  • Validation on Server

10 of 17

li-tree refinement

  • For not allowed item types:
    • Show warning
    • Prevent nesting�under invalid item type
    • Remove invalid items on save

11 of 17

li-tree refinement

  • Only header areas are draggable�(allows for highlighting text in the card)�
  • Select item on Enter &�show apply button for single search result

12 of 17

li-tree refinement

  • allowedTypes config: undefined or [] will allow all types

13 of 17

AngularJS deprecations

  • All AngularJS Custom code will be deprecated in January Release and support will be removed in September Release
  • Goal is to move them to core plugins
  • Most common Angular code is in metadata plugins, dashboard filters and dashboard cards
  • If you cannot move Angular code to core plugins: contact your customer manager before you write new plugins
  • Angular migration guide in our documentation
  • Q/A Session
    • Two dates (14.02. 09:30 - 10:30 and 08.05. 09:30 - 10:30)

14 of 17

Breaking Changes & Important Updates - Operations

  • 🛡️ 5xx responses no longer contain error details, only generic properties
  • 🛡️ Stack traces are no longer served on api requests unless explicitly enabled
  • 🔥 Stricter search queries, filters on unavailable properties throw error
  • 🔥 Node 14 removal, please upgrade to v18
  • 🔥 Redis 5 removal, please upgrade to v7
  • 🔥 Upgrade to Elasticsearch client v8, still compatible with v7/opensearch

15 of 17

Q & A

16 of 17

Next Webinar

14.03.23

14:00 - 15:00

17 of 17

THANK YOU!