@atlaskit/editor-plugin-insert-block 8.2.9 → 8.3.1
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,23 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-insert-block
|
|
2
2
|
|
|
3
|
+
## 8.3.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 8.3.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [`e97bcf6a8bbf4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e97bcf6a8bbf4) -
|
|
14
|
+
[ux] Productionizes the experiment confluence_whiteboards_quick_insert by productionizing the
|
|
15
|
+
DIAGRAM variation of the experiment
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 8.2.9
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -67,16 +67,7 @@ var filterForPinWhiteboardsExperiment = exports.filterForPinWhiteboardsExperimen
|
|
|
67
67
|
featuredItem.description = formatMessage(_quickInsert.messages.featuredWhiteboardDescription);
|
|
68
68
|
return [featuredItem].concat((0, _toConsumableArray2.default)(filteredList));
|
|
69
69
|
};
|
|
70
|
-
|
|
71
|
-
return pinWhiteboardActionToTop(featuredItems, BLANK_TITLE);
|
|
72
|
-
}
|
|
73
|
-
if ((0, _expValEquals.expValEquals)('confluence_whiteboards_quick_insert', 'cohort', 'test_diagram')) {
|
|
74
|
-
return pinWhiteboardActionToTop(featuredItems, DIAGRAM_TITLE);
|
|
75
|
-
}
|
|
76
|
-
// NOTE this is not desirable/the OG behaviour, but given we've shipped the test_diagram variant,
|
|
77
|
-
return featuredItems.filter(function (item) {
|
|
78
|
-
return ![DIAGRAM_TITLE, BLANK_TITLE].includes(item.title);
|
|
79
|
-
});
|
|
70
|
+
return pinWhiteboardActionToTop(featuredItems, DIAGRAM_TITLE);
|
|
80
71
|
} else {
|
|
81
72
|
if ((0, _platformFeatureFlags.fg)('confluence-whiteboards-quick-insert-l10n-eligible')) {
|
|
82
73
|
// Fire exposure for confluence_whiteboards_quick_insert_localised_aa
|
|
@@ -52,14 +52,7 @@ export const filterForPinWhiteboardsExperiment = (featuredItems, formatMessage)
|
|
|
52
52
|
featuredItem.description = formatMessage(messages.featuredWhiteboardDescription);
|
|
53
53
|
return [featuredItem, ...filteredList];
|
|
54
54
|
};
|
|
55
|
-
|
|
56
|
-
return pinWhiteboardActionToTop(featuredItems, BLANK_TITLE);
|
|
57
|
-
}
|
|
58
|
-
if (expValEquals('confluence_whiteboards_quick_insert', 'cohort', 'test_diagram')) {
|
|
59
|
-
return pinWhiteboardActionToTop(featuredItems, DIAGRAM_TITLE);
|
|
60
|
-
}
|
|
61
|
-
// NOTE this is not desirable/the OG behaviour, but given we've shipped the test_diagram variant,
|
|
62
|
-
return featuredItems.filter(item => ![DIAGRAM_TITLE, BLANK_TITLE].includes(item.title));
|
|
55
|
+
return pinWhiteboardActionToTop(featuredItems, DIAGRAM_TITLE);
|
|
63
56
|
} else {
|
|
64
57
|
if (fg('confluence-whiteboards-quick-insert-l10n-eligible')) {
|
|
65
58
|
// Fire exposure for confluence_whiteboards_quick_insert_localised_aa
|
|
@@ -64,16 +64,7 @@ export var filterForPinWhiteboardsExperiment = function filterForPinWhiteboardsE
|
|
|
64
64
|
featuredItem.description = formatMessage(messages.featuredWhiteboardDescription);
|
|
65
65
|
return [featuredItem].concat(_toConsumableArray(filteredList));
|
|
66
66
|
};
|
|
67
|
-
|
|
68
|
-
return pinWhiteboardActionToTop(featuredItems, BLANK_TITLE);
|
|
69
|
-
}
|
|
70
|
-
if (expValEquals('confluence_whiteboards_quick_insert', 'cohort', 'test_diagram')) {
|
|
71
|
-
return pinWhiteboardActionToTop(featuredItems, DIAGRAM_TITLE);
|
|
72
|
-
}
|
|
73
|
-
// NOTE this is not desirable/the OG behaviour, but given we've shipped the test_diagram variant,
|
|
74
|
-
return featuredItems.filter(function (item) {
|
|
75
|
-
return ![DIAGRAM_TITLE, BLANK_TITLE].includes(item.title);
|
|
76
|
-
});
|
|
67
|
+
return pinWhiteboardActionToTop(featuredItems, DIAGRAM_TITLE);
|
|
77
68
|
} else {
|
|
78
69
|
if (fg('confluence-whiteboards-quick-insert-l10n-eligible')) {
|
|
79
70
|
// Fire exposure for confluence_whiteboards_quick_insert_localised_aa
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-insert-block",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.3.1",
|
|
4
4
|
"description": "Insert block plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@atlaskit/editor-plugin-tasks-and-decisions": "^10.1.0",
|
|
56
56
|
"@atlaskit/editor-plugin-toolbar": "^4.1.0",
|
|
57
57
|
"@atlaskit/editor-plugin-type-ahead": "^7.0.0",
|
|
58
|
-
"@atlaskit/editor-prosemirror": "^7.
|
|
58
|
+
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
59
59
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
60
60
|
"@atlaskit/editor-toolbar": "^0.19.0",
|
|
61
61
|
"@atlaskit/editor-toolbar-model": "^0.3.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@atlaskit/icon-lab": "^5.15.0",
|
|
65
65
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
66
66
|
"@atlaskit/theme": "^21.0.0",
|
|
67
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
67
|
+
"@atlaskit/tmp-editor-statsig": "^19.0.0",
|
|
68
68
|
"@atlaskit/tokens": "^11.0.0",
|
|
69
69
|
"@babel/runtime": "^7.0.0",
|
|
70
70
|
"@emotion/react": "^11.7.1",
|