@atlaskit/editor-common 134.15.0 → 134.16.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 +16 -0
- package/dist/cjs/ai-messages/ai-suggestions.js +5 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/ai-messages/ai-suggestions.js +5 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/ai-messages/ai-suggestions.js +5 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/ai-messages/ai-suggestions.d.ts +5 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 134.16.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`27176cc3c58fb`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/27176cc3c58fb) -
|
|
8
|
+
Show a "Suggestions will appear when ready. Your content won’t change unless you accept a
|
|
9
|
+
suggestion." banner (max width 400px) on the AI suggestions thinking bar, behind the
|
|
10
|
+
`platform_editor_ai_suggested_edits_reduce_cancel` experiment. Adds the
|
|
11
|
+
`thinkingContentUnchangedBanner` message to the AI suggestions messages. The banner is shown for
|
|
12
|
+
the first 3 reviews per browser (counted in localStorage via browser storage controls) and is
|
|
13
|
+
hidden whenever the count can't be stored, e.g. when the storage key is blocked.
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 134.15.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
|
@@ -311,6 +311,11 @@ var aiSuggestionsMessages = exports.aiSuggestionsMessages = (0, _reactIntl.defin
|
|
|
311
311
|
defaultMessage: 'Rovo is reviewing your page',
|
|
312
312
|
description: 'First loading message on the AI suggestions thinking bar, shown when the name of the reviewing agent is unknown'
|
|
313
313
|
},
|
|
314
|
+
thinkingContentUnchangedBanner: {
|
|
315
|
+
id: 'fabric.editor.ai.suggestions.thinking.contentUnchangedBanner',
|
|
316
|
+
defaultMessage: 'Suggestions will appear when ready. Your content won’t change unless you accept a suggestion.',
|
|
317
|
+
description: 'Informational banner shown above the AI suggestions thinking bar while a review is in progress, reassuring the user that the page is not modified until they accept a suggestion.'
|
|
318
|
+
},
|
|
314
319
|
thinkingPreparingAgent: {
|
|
315
320
|
id: 'fabric.editor.ai.suggestions.thinking.preparingAgent.non-final',
|
|
316
321
|
defaultMessage: 'Preparing agent',
|
|
@@ -27,7 +27,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
27
27
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
28
28
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
29
29
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
30
|
-
var packageVersion = "134.
|
|
30
|
+
var packageVersion = "134.15.0";
|
|
31
31
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
32
32
|
// Remove URL as it has UGC
|
|
33
33
|
// Ignored via go/ees007
|
|
@@ -23,7 +23,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
23
23
|
* @jsx jsx
|
|
24
24
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
25
25
|
var packageName = "@atlaskit/editor-common";
|
|
26
|
-
var packageVersion = "134.
|
|
26
|
+
var packageVersion = "134.15.0";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -305,6 +305,11 @@ export const aiSuggestionsMessages = defineMessages({
|
|
|
305
305
|
defaultMessage: 'Rovo is reviewing your page',
|
|
306
306
|
description: 'First loading message on the AI suggestions thinking bar, shown when the name of the reviewing agent is unknown'
|
|
307
307
|
},
|
|
308
|
+
thinkingContentUnchangedBanner: {
|
|
309
|
+
id: 'fabric.editor.ai.suggestions.thinking.contentUnchangedBanner',
|
|
310
|
+
defaultMessage: 'Suggestions will appear when ready. Your content won’t change unless you accept a suggestion.',
|
|
311
|
+
description: 'Informational banner shown above the AI suggestions thinking bar while a review is in progress, reassuring the user that the page is not modified until they accept a suggestion.'
|
|
312
|
+
},
|
|
308
313
|
thinkingPreparingAgent: {
|
|
309
314
|
id: 'fabric.editor.ai.suggestions.thinking.preparingAgent.non-final',
|
|
310
315
|
defaultMessage: 'Preparing agent',
|
|
@@ -13,7 +13,7 @@ const NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
13
13
|
const RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
14
14
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
15
15
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
16
|
-
const packageVersion = "134.
|
|
16
|
+
const packageVersion = "134.15.0";
|
|
17
17
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
18
18
|
// Remove URL as it has UGC
|
|
19
19
|
// Ignored via go/ees007
|
|
@@ -13,7 +13,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
13
13
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
14
14
|
import Layer from '../Layer';
|
|
15
15
|
const packageName = "@atlaskit/editor-common";
|
|
16
|
-
const packageVersion = "134.
|
|
16
|
+
const packageVersion = "134.15.0";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
|
@@ -305,6 +305,11 @@ export var aiSuggestionsMessages = defineMessages({
|
|
|
305
305
|
defaultMessage: 'Rovo is reviewing your page',
|
|
306
306
|
description: 'First loading message on the AI suggestions thinking bar, shown when the name of the reviewing agent is unknown'
|
|
307
307
|
},
|
|
308
|
+
thinkingContentUnchangedBanner: {
|
|
309
|
+
id: 'fabric.editor.ai.suggestions.thinking.contentUnchangedBanner',
|
|
310
|
+
defaultMessage: 'Suggestions will appear when ready. Your content won’t change unless you accept a suggestion.',
|
|
311
|
+
description: 'Informational banner shown above the AI suggestions thinking bar while a review is in progress, reassuring the user that the page is not modified until they accept a suggestion.'
|
|
312
|
+
},
|
|
308
313
|
thinkingPreparingAgent: {
|
|
309
314
|
id: 'fabric.editor.ai.suggestions.thinking.preparingAgent.non-final',
|
|
310
315
|
defaultMessage: 'Preparing agent',
|
|
@@ -19,7 +19,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
19
19
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
20
20
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
21
21
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
22
|
-
var packageVersion = "134.
|
|
22
|
+
var packageVersion = "134.15.0";
|
|
23
23
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
24
24
|
// Remove URL as it has UGC
|
|
25
25
|
// Ignored via go/ees007
|
|
@@ -20,7 +20,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
20
20
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
21
21
|
import Layer from '../Layer';
|
|
22
22
|
var packageName = "@atlaskit/editor-common";
|
|
23
|
-
var packageVersion = "134.
|
|
23
|
+
var packageVersion = "134.15.0";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
|
@@ -358,6 +358,11 @@ export declare const aiSuggestionsMessages: {
|
|
|
358
358
|
description: string;
|
|
359
359
|
id: string;
|
|
360
360
|
};
|
|
361
|
+
thinkingContentUnchangedBanner: {
|
|
362
|
+
defaultMessage: string;
|
|
363
|
+
description: string;
|
|
364
|
+
id: string;
|
|
365
|
+
};
|
|
361
366
|
thinkingErrorTokenLimitExceeded: {
|
|
362
367
|
defaultMessage: string;
|
|
363
368
|
description: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "134.
|
|
3
|
+
"version": "134.16.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/"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@atlaskit/analytics-next": "^12.6.0",
|
|
38
38
|
"@atlaskit/atlassian-context": "^2.0.0",
|
|
39
39
|
"@atlaskit/browser-apis": "^1.2.0",
|
|
40
|
-
"@atlaskit/button": "^25.
|
|
40
|
+
"@atlaskit/button": "^25.8.0",
|
|
41
41
|
"@atlaskit/codemod-utils": "^5.2.0",
|
|
42
42
|
"@atlaskit/css": "^1.1.0",
|
|
43
43
|
"@atlaskit/custom-steps": "^1.1.0",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"@atlaskit/popper": "^9.4.0",
|
|
76
76
|
"@atlaskit/popup": "^10.2.0",
|
|
77
77
|
"@atlaskit/primitives": "^22.7.0",
|
|
78
|
-
"@atlaskit/profilecard": "^27.
|
|
78
|
+
"@atlaskit/profilecard": "^27.7.0",
|
|
79
79
|
"@atlaskit/prosemirror-history": "^1.3.0",
|
|
80
80
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
81
81
|
"@atlaskit/react-ufo": "^8.4.0",
|