@atlaskit/editor-card-provider 8.2.7 → 8.2.8

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,18 @@
1
1
  # @atlaskit/editor-card-provider
2
2
 
3
+ ## 8.2.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [`ff3c2b0a93ac9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ff3c2b0a93ac9) -
8
+ Remove the issue-link-suggestions-in-comments gate and retain local issue resolution callbacks.
9
+ - [`ff3c2b0a93ac9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ff3c2b0a93ac9) -
10
+ Clean up issue-link-suggestions-in-comments, preserving enabled issue-link resolution behaviour.
11
+ - [`ff3c2b0a93ac9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ff3c2b0a93ac9) -
12
+ Remove the issue-link-suggestions-in-comments feature gate and retain local issue link resolution
13
+ callbacks.
14
+ - Updated dependencies
15
+
3
16
  ## 8.2.7
4
17
 
5
18
  ### Patch Changes
@@ -844,10 +844,6 @@ var EditorCardProvider = exports.EditorCardProvider = /*#__PURE__*/function (_No
844
844
  _yield$Promise$all2 = (0, _slicedToArray2.default)(_yield$Promise$all, 2);
845
845
  matchedProviderPattern = _yield$Promise$all2[0];
846
846
  userPreference = _yield$Promise$all2[1];
847
- if (!(0, _fg.fg)('issue-link-suggestions-in-comments')) {
848
- _context11.next = 4;
849
- break;
850
- }
851
847
  if (!(isJiraWorkItem(url) && this.isLocalUrl(url))) {
852
848
  _context11.next = 4;
853
849
  break;
@@ -455,15 +455,13 @@ export class EditorCardProvider extends NodeDataProvider {
455
455
  }
456
456
  const hardCodedAppearance = this.getHardCodedAppearance(url);
457
457
  const [matchedProviderPattern, userPreference] = await Promise.all([this.findPatternData(url), this.findUserPreference(url)]);
458
- if (fg('issue-link-suggestions-in-comments')) {
459
- if (isJiraWorkItem(url) && this.isLocalUrl(url)) {
460
- const data = await this.fetchDataForResource(url);
461
- if (data) {
462
- const issueAri = this.extractAriFromData(data);
463
- if (issueAri) {
464
- var _this$onResolve;
465
- (_this$onResolve = this.onResolve) === null || _this$onResolve === void 0 ? void 0 : _this$onResolve.call(this, url, issueAri);
466
- }
458
+ if (isJiraWorkItem(url) && this.isLocalUrl(url)) {
459
+ const data = await this.fetchDataForResource(url);
460
+ if (data) {
461
+ const issueAri = this.extractAriFromData(data);
462
+ if (issueAri) {
463
+ var _this$onResolve;
464
+ (_this$onResolve = this.onResolve) === null || _this$onResolve === void 0 ? void 0 : _this$onResolve.call(this, url, issueAri);
467
465
  }
468
466
  }
469
467
  }
@@ -836,10 +836,6 @@ export var EditorCardProvider = /*#__PURE__*/function (_NodeDataProvider) {
836
836
  _yield$Promise$all2 = _slicedToArray(_yield$Promise$all, 2);
837
837
  matchedProviderPattern = _yield$Promise$all2[0];
838
838
  userPreference = _yield$Promise$all2[1];
839
- if (!fg('issue-link-suggestions-in-comments')) {
840
- _context11.next = 4;
841
- break;
842
- }
843
839
  if (!(isJiraWorkItem(url) && this.isLocalUrl(url))) {
844
840
  _context11.next = 4;
845
841
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-card-provider",
3
- "version": "8.2.7",
3
+ "version": "8.2.8",
4
4
  "description": "Contains the EditorCardProvider, for determining smart card behaviour in the editor.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -48,9 +48,6 @@
48
48
  "platform_forge_ui_artifact_confluence_integration": {
49
49
  "type": "boolean"
50
50
  },
51
- "issue-link-suggestions-in-comments": {
52
- "type": "boolean"
53
- },
54
51
  "platform_smartlink_inline_resolve_optimization": {
55
52
  "type": "boolean"
56
53
  },