Release Note
Lists the version change records of custom components.
v4.6.1
Added online editing for custom components.
v4.1.1.1
breaking change: To support the new data dashboard, the custom widget configuration has been adjusted. For more information, see Custom widget APIs.
// Before adjustment
const componentMeta = {
// ...
dataSchema: {
schema: {
area: [
{
id: 'area_row',
areaName: 'dimension',
queryAxis: 'row',
rule: {
type: 'dimension', // The value of this parameter is set to all.
maxColNum: 1, // The maximum number of fields that are allowed.
required: true, // Specifies whether the update icon is required.
},
columnList: [],
},
// ...
],
limitNum: 1000,
},
}
}
// After adjustment.
const componentMeta = {
// ...
dataSchema: {
areas: [
{
id: 'drill',
name: 'Drilldown /Dimension',
queryAxis: 'drill',
rule: {
fieldTypes: ['dimension'],
required: false,
maxColNum: 6,
},
},
// ...
],
resultDisplay: {
upLimit: 1000,
},
}
}
v3.12
-
Custom components now support mobile devices. Choose to enable or disable mobile support.
-
.
-
Added third-party library configuration in . You can specify Alibaba Cloud CDN addresses for libraries such as React, Vue, and ECharts to improve component loading performance.
-
Added card menu configuration for custom components, including custom menu buttons.
-
Added quick local debugging.
Append
&useCompoment=localto the dashboard editing page URL to enable the Local Debug button in the custom componentTooltipson the menu bar for debugging individual components.
v3.11.1
The component platform now supports ShadowDOM. This option is enabled by default.
v3.11
-
Added the Auto Refresh feature in the Advanced panel of custom widgets.
-
Added the linkage feature in the Advanced panel of custom widgets.
-
Added the jump feature in the Advanced panel of custom widgets.
-
Added the drill-down feature for custom widgets.
-
Added theme color configuration for custom components.
-
Optimized custom component loading for faster initial rendering.
NoteUpgrade the
qbi-dev-toolspackage, then repackage and upload the development package.