Skip to content

Commit bce835e

Browse files
dfreiermarcbachmann
authored andcommitted
docs(release-2024-05): add document statistics in feature section
1 parent 75d7aef commit bce835e

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

content/operations/releases/release-2024-05.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,59 @@ Check out the [breaking changes]({{< ref "#migrate-imatrics-tag-suggestion-manag
354354
355355
356356
357+
{{< feature-info "New Feature" "server/editor" >}}
358+
### Document Statistics :gift:
359+
360+
Document Statistics allow users to better understand the shape and completeness of an article by looking at a dashboard.
361+
Statistics include the component counts of a document as well as the character count.
362+
363+
The feature builds on top of existing concepts, respectively extends them:
364+
- New table dashboard cell component [`liTableDashboardCellStatistics`]({{< ref "/reference/project-config/editor-settings#upstream-components" >}})
365+
- Query DSL for [Base Filters]({{< ref "/customising/advanced/editor-configuration/base-filter#example---filter-by-document-statistics" >}})
366+
- [Named Display Filters]({{< ref "/customising/advanced/editor-configuration/display-filter#named-filters" >}}) for `includedComponents`, `missingComponents` and `characterCount`
367+
368+
Example Dashboard config excerpt:
369+
```js
370+
{
371+
handle: 'articles',
372+
type: 'tableDashboard',
373+
baseFilters: [
374+
{key: 'statistics.componentCounts.image', exists: true},
375+
// ...
376+
],
377+
displayFilters: [
378+
'includedComponents',
379+
'missingComponents',
380+
{
381+
filterName: 'characterCount',
382+
config: {
383+
thresholds: [100, 500, 200]
384+
}
385+
},
386+
// ...
387+
],
388+
columns: [
389+
{
390+
label: 'Statistics',
391+
minWidth: 200,
392+
growFactor: 1,
393+
priority: 2,
394+
componentName: 'liTableDashboardCellStatistics',
395+
componentOptions: {
396+
characterCount: true,
397+
componentCount: [
398+
'title',
399+
'p',
400+
'image',
401+
'image-named-crops'
402+
]
403+
}
404+
},
405+
// ...
406+
]
407+
}
408+
```
409+
357410
## Vulnerability Patches
358411
359412
We are constantly patching module vulnerabilities for the Livingdocs Server and Livingdocs Editor as module fixes are available. Below is a list of all patched vulnerabilities included in the release.

0 commit comments

Comments
 (0)