@atlaskit/editor-common 108.5.1 → 108.6.0

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,17 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 108.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`18b64e2d65525`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/18b64e2d65525) -
8
+ EDITOR-1495 Automatic retry once if ADF parsing fails for 10 seconds. Show error screen for error
9
+ state on streaming complete.
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 108.5.1
4
16
 
5
17
  ### Patch Changes
@@ -62,5 +62,10 @@ var aiFailedStateMessages = exports.aiFailedStateMessages = (0, _reactIntlNext.d
62
62
  id: 'fabric.editor.ai.experience.hipaaContentError',
63
63
  defaultMessage: "Atlassian Intelligence was unable to process your request as your content contains links to HIPAA restricted content. Please remove these links and try again.",
64
64
  description: "The input contained HIPAA content"
65
+ },
66
+ adfStreamingError: {
67
+ id: 'fabric.editor.ai.experience.adfStreamingError',
68
+ defaultMessage: "We couldn't get a response due to a parsing error.",
69
+ description: "We couldn't get a response due to a parsing error."
65
70
  }
66
71
  });
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
16
16
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
17
17
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
18
18
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
19
- var packageVersion = "108.5.0";
19
+ var packageVersion = "0.0.0-development";
20
20
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
21
21
  // Remove URL as it has UGC
22
22
  // Ignored via go/ees007
@@ -24,7 +24,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
24
24
  * @jsx jsx
25
25
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
26
26
  var packageName = "@atlaskit/editor-common";
27
- var packageVersion = "108.5.0";
27
+ var packageVersion = "0.0.0-development";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -55,5 +55,10 @@ export const aiFailedStateMessages = defineMessages({
55
55
  id: 'fabric.editor.ai.experience.hipaaContentError',
56
56
  defaultMessage: `Atlassian Intelligence was unable to process your request as your content contains links to HIPAA restricted content. Please remove these links and try again.`,
57
57
  description: `The input contained HIPAA content`
58
+ },
59
+ adfStreamingError: {
60
+ id: 'fabric.editor.ai.experience.adfStreamingError',
61
+ defaultMessage: `We couldn't get a response due to a parsing error.`,
62
+ description: `We couldn't get a response due to a parsing error.`
58
63
  }
59
64
  });
@@ -1,7 +1,7 @@
1
1
  import { isFedRamp } from './environment';
2
2
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
3
3
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
4
- const packageVersion = "108.5.0";
4
+ const packageVersion = "0.0.0-development";
5
5
  const sanitiseSentryEvents = (data, _hint) => {
6
6
  // Remove URL as it has UGC
7
7
  // Ignored via go/ees007
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import { fg } from '@atlaskit/platform-feature-flags';
15
15
  import Layer from '../Layer';
16
16
  const packageName = "@atlaskit/editor-common";
17
- const packageVersion = "108.5.0";
17
+ const packageVersion = "0.0.0-development";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -55,5 +55,10 @@ export var aiFailedStateMessages = defineMessages({
55
55
  id: 'fabric.editor.ai.experience.hipaaContentError',
56
56
  defaultMessage: "Atlassian Intelligence was unable to process your request as your content contains links to HIPAA restricted content. Please remove these links and try again.",
57
57
  description: "The input contained HIPAA content"
58
+ },
59
+ adfStreamingError: {
60
+ id: 'fabric.editor.ai.experience.adfStreamingError',
61
+ defaultMessage: "We couldn't get a response due to a parsing error.",
62
+ description: "We couldn't get a response due to a parsing error."
58
63
  }
59
64
  });
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
7
7
  import { isFedRamp } from './environment';
8
8
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
9
9
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
10
- var packageVersion = "108.5.0";
10
+ var packageVersion = "0.0.0-development";
11
11
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
12
12
  // Remove URL as it has UGC
13
13
  // Ignored via go/ees007
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import { fg } from '@atlaskit/platform-feature-flags';
22
22
  import Layer from '../Layer';
23
23
  var packageName = "@atlaskit/editor-common";
24
- var packageVersion = "108.5.0";
24
+ var packageVersion = "0.0.0-development";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -54,4 +54,9 @@ export declare const aiFailedStateMessages: {
54
54
  defaultMessage: string;
55
55
  description: string;
56
56
  };
57
+ adfStreamingError: {
58
+ id: string;
59
+ defaultMessage: string;
60
+ description: string;
61
+ };
57
62
  };
@@ -54,4 +54,9 @@ export declare const aiFailedStateMessages: {
54
54
  defaultMessage: string;
55
55
  description: string;
56
56
  };
57
+ adfStreamingError: {
58
+ id: string;
59
+ defaultMessage: string;
60
+ description: string;
61
+ };
57
62
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "108.5.1",
3
+ "version": "108.6.0",
4
4
  "description": "A package that contains common classes and components for editor and renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"