Fluent Commerce Logo
Docs
Sign In

BPP Metrics Wrapper

UI Component

Changed on:

3 Mar 2025

Overview

The

`fc.list.wrapper.bppmetrics`
is a wrapper for the
`fc.list`
component. It transforms data from the Metrics API to a list-readable format, enabling seamless visualization of batch-processing metrics.

Plugin NameInventory

Components for viewing and managing inventory.

0000-00-00

v1.0.0

Initial changelog entry.

Alias

fc.list.wrapper.bppmetrics

Detailed technical description

BPP Metrics Wrapper is used in the BPP Metrics Dashboard.

Properties

Name

Type

Required

Default Value

Description

rowLimit

`number`

No

100

The property defines the number of rows displayed in the table.

hideEmptyRecords

`boolean`

No

None

When enabled, this property hides rows in the table where all cells, except for the date column, are empty.

Configuration example

1{
2    "component": "fc.list.wrapper.bppmetrics",
3    "props": {
4        "hideEmptyRecords": true,
5        "descendants": [
6            {
7                "component": "fc.list",
8                "props": {
9                    "responsiveness": "card",
10                    "hidePagination": true,
11                    "attributes": [
12                        {
13                            "label": "i18n:fc.inventory.sources.dashboard.bpp.list.column.completionTime.title",
14                            "value": "{{dateFormat (convertMsToDate (multiply (firstDefinedValue node.completionTimeTable 0) 1000)) }} ({{dateRelative (convertMsToDate (multiply (firstDefinedValue node.completionTimeTable 0) 1000)) }})"
15                        },
16                        {
17                          "label": "i18n:fc.inventory.sources.dashboard.bpp.list.column.processed.title",
18                          "value": "{{#if (gt node.processedTotalTable 0)}} {{node.processedTotalTable}} {{else}} 0 {{/if}}"
19                        },
20                        {
21                          "label": "i18n:fc.inventory.sources.dashboard.bpp.list.column.changed.title",
22                          "value": "{{#if (gt node.changedTotalTable 0)}} {{node.changedTotalTable}} {{else}} 0 {{/if}}"
23                        },
24                        {
25                          "label": "i18n:fc.inventory.sources.dashboard.bpp.list.column.unchanged.title",
26                          "value": "{{#if (gt node.unchangedTotalTable 0)}} {{node.unchangedTotalTable}} {{else}} 0 {{/if}}"
27                        },
28                        {
29                          "label": "i18n:fc.inventory.sources.dashboard.bpp.list.column.efficiencyPercent.title",
30                          "value": "{{#if (gt node.efficiency 0)}} {{node.efficiency}} % {{else}} 0 % {{/if}}"
31                        }
32                    ]
33                }
34            }
35        ]
36    }
37}

Language: json

Version History

2025-03-17

v25.03.17

Initial release

Recommended Placement

BPP Metrics Dashboard

Copyright © 2025 Fluent Retail Pty Ltd (trading as Fluent Commerce). All rights reserved. No materials on this docs.fluentcommerce.com site may be used in any way and/or for any purpose without prior written authorisation from Fluent Commerce. Current customers and partners shall use these materials strictly in accordance with the terms and conditions of their written agreements with Fluent Commerce or its affiliates.

Fluent Logo