@atlaskit/editor-plugin-card 36.0.3 → 36.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-card
|
|
2
2
|
|
|
3
|
+
## 36.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`1a4bf8ba80113`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1a4bf8ba80113) -
|
|
8
|
+
Remove the `platform_lp_sllv_preserve_assets_columns` feature gate and permanently preserve
|
|
9
|
+
selected Assets columns when editing AQL within the same object schema.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 36.0.3
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -613,7 +613,7 @@ var updateCardViaDatasource = exports.updateCardViaDatasource = function updateC
|
|
|
613
613
|
oldViews = _ref5[0];
|
|
614
614
|
var isColumnChange = !(0, _isEqual.default)(oldViews === null || oldViews === void 0 || (_oldViews$properties = oldViews.properties) === null || _oldViews$properties === void 0 ? void 0 : _oldViews$properties.columns, newViews === null || newViews === void 0 || (_newViews$properties = newViews.properties) === null || _newViews$properties === void 0 ? void 0 : _newViews$properties.columns);
|
|
615
615
|
var isUrlChange = newAttrs.url !== oldAttrs.url;
|
|
616
|
-
var isParametersChange =
|
|
616
|
+
var isParametersChange = !(0, _isEqual.default)(oldAttrs.datasource.parameters, newAttrs.datasource.parameters);
|
|
617
617
|
if (isColumnChange || isUrlChange || isParametersChange) {
|
|
618
618
|
tr.setNodeMarkup(from, schemaNodes.blockCard, _objectSpread(_objectSpread({}, oldAttrs), newAdf.attrs));
|
|
619
619
|
}
|
|
@@ -580,7 +580,7 @@ export const updateCardViaDatasource = args => {
|
|
|
580
580
|
const [oldViews] = (_ref2 = oldAttrs.datasource.views) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
581
581
|
const isColumnChange = !isEqual(oldViews === null || oldViews === void 0 ? void 0 : (_oldViews$properties = oldViews.properties) === null || _oldViews$properties === void 0 ? void 0 : _oldViews$properties.columns, newViews === null || newViews === void 0 ? void 0 : (_newViews$properties = newViews.properties) === null || _newViews$properties === void 0 ? void 0 : _newViews$properties.columns);
|
|
582
582
|
const isUrlChange = newAttrs.url !== oldAttrs.url;
|
|
583
|
-
const isParametersChange =
|
|
583
|
+
const isParametersChange = !isEqual(oldAttrs.datasource.parameters, newAttrs.datasource.parameters);
|
|
584
584
|
if (isColumnChange || isUrlChange || isParametersChange) {
|
|
585
585
|
tr.setNodeMarkup(from, schemaNodes.blockCard, {
|
|
586
586
|
...oldAttrs,
|
|
@@ -607,7 +607,7 @@ export var updateCardViaDatasource = function updateCardViaDatasource(args) {
|
|
|
607
607
|
oldViews = _ref5[0];
|
|
608
608
|
var isColumnChange = !isEqual(oldViews === null || oldViews === void 0 || (_oldViews$properties = oldViews.properties) === null || _oldViews$properties === void 0 ? void 0 : _oldViews$properties.columns, newViews === null || newViews === void 0 || (_newViews$properties = newViews.properties) === null || _newViews$properties === void 0 ? void 0 : _newViews$properties.columns);
|
|
609
609
|
var isUrlChange = newAttrs.url !== oldAttrs.url;
|
|
610
|
-
var isParametersChange =
|
|
610
|
+
var isParametersChange = !isEqual(oldAttrs.datasource.parameters, newAttrs.datasource.parameters);
|
|
611
611
|
if (isColumnChange || isUrlChange || isParametersChange) {
|
|
612
612
|
tr.setNodeMarkup(from, schemaNodes.blockCard, _objectSpread(_objectSpread({}, oldAttrs), newAdf.attrs));
|
|
613
613
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-card",
|
|
3
|
-
"version": "36.0.
|
|
3
|
+
"version": "36.0.4",
|
|
4
4
|
"description": "Card plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -99,9 +99,6 @@
|
|
|
99
99
|
},
|
|
100
100
|
"platform_sl_3p_preauth_value_modal_killswitch": {
|
|
101
101
|
"type": "boolean"
|
|
102
|
-
},
|
|
103
|
-
"platform_lp_sllv_preserve_assets_columns": {
|
|
104
|
-
"type": "boolean"
|
|
105
102
|
}
|
|
106
103
|
},
|
|
107
104
|
"compassUnitTestMetricSourceId": "ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/e6f3220b-0ca2-445a-a4c5-78cff6ca2a34",
|