@atlaskit/editor-common 127.1.1 → 127.2.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 +12 -0
- package/analytics/ai-suggestions-entry-points/package.json +10 -0
- package/analytics/ai-suggestions-regeneration/package.json +10 -0
- package/dist/cjs/analytics/types/ai-suggestions-events.js +47 -1
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/analytics/types/ai-suggestions-events.js +46 -1
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/analytics/types/ai-suggestions-events.js +46 -1
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/analytics/types/ai-suggestions-events.d.ts +42 -21
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 127.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`823f26ef0b0ba`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/823f26ef0b0ba) -
|
|
8
|
+
Add uppercase named enum values for Suggested Edits regeneration and entry-point analytics, and
|
|
9
|
+
use them at production call sites while preserving existing string types and emitted values.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 127.1.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-common/analytics/ai-suggestions-entry-points",
|
|
3
|
+
"main": "../../dist/cjs/analytics/types/ai-suggestions-events.js",
|
|
4
|
+
"module": "../../dist/esm/analytics/types/ai-suggestions-events.js",
|
|
5
|
+
"module:es2019": "../../dist/es2019/analytics/types/ai-suggestions-events.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../../dist/types/analytics/types/ai-suggestions-events.d.ts"
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-common/analytics/ai-suggestions-regeneration",
|
|
3
|
+
"main": "../../dist/cjs/analytics/types/ai-suggestions-events.js",
|
|
4
|
+
"module": "../../dist/esm/analytics/types/ai-suggestions-events.js",
|
|
5
|
+
"module:es2019": "../../dist/es2019/analytics/types/ai-suggestions-events.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../../dist/types/analytics/types/ai-suggestions-events.d.ts"
|
|
10
|
+
}
|
|
@@ -2,4 +2,50 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
|
-
});
|
|
5
|
+
});
|
|
6
|
+
exports.AiSuggestionsRightRailEntryPointValue = exports.AiSuggestionsRegenerationTriggerValue = exports.AiSuggestionsRegenerationOutcomeValue = exports.AiSuggestionsEntryPointValue = void 0;
|
|
7
|
+
var AiSuggestionsEntryPointValue = exports.AiSuggestionsEntryPointValue = /*#__PURE__*/function (AiSuggestionsEntryPointValue) {
|
|
8
|
+
AiSuggestionsEntryPointValue["PRIMARY_TOOLBAR"] = "primaryToolbar";
|
|
9
|
+
/**
|
|
10
|
+
* @private
|
|
11
|
+
* @deprecated Legacy entry point retained for backwards compatibility.
|
|
12
|
+
* Use `SUGGESTIONS_PANEL_EMPTY_STATE` for the standalone suggestions panel.
|
|
13
|
+
*/
|
|
14
|
+
AiSuggestionsEntryPointValue["COMMENTS_EMPTY_STATE"] = "commentsEmptyState";
|
|
15
|
+
AiSuggestionsEntryPointValue["SUGGESTIONS_PANEL_EMPTY_STATE"] = "suggestionsPanelEmptyState";
|
|
16
|
+
AiSuggestionsEntryPointValue["SUGGESTIONS_PANEL_HEADER"] = "suggestionsPanelHeader";
|
|
17
|
+
AiSuggestionsEntryPointValue["OBJECT_SIDEBAR_CONTROL"] = "objectSidebarControl";
|
|
18
|
+
/**
|
|
19
|
+
* @private
|
|
20
|
+
* @deprecated Legacy automatic-generation entry point retained for backwards compatibility.
|
|
21
|
+
*/
|
|
22
|
+
AiSuggestionsEntryPointValue["SUGGESTIONS_PANEL_MOUNT"] = "suggestionsPanelMount";
|
|
23
|
+
/** The "Review" button on the follow-up card after the last suggestion is actioned. */
|
|
24
|
+
AiSuggestionsEntryPointValue["FOLLOW_UP_CARD"] = "followUpCard";
|
|
25
|
+
return AiSuggestionsEntryPointValue;
|
|
26
|
+
}({});
|
|
27
|
+
var AiSuggestionsRightRailEntryPointValue = exports.AiSuggestionsRightRailEntryPointValue = /*#__PURE__*/function (AiSuggestionsRightRailEntryPointValue) {
|
|
28
|
+
AiSuggestionsRightRailEntryPointValue["SUGGESTIONS_PANEL"] = "suggestionsPanel";
|
|
29
|
+
AiSuggestionsRightRailEntryPointValue["SUGGESTIONS_TAB"] = "suggestionsTab";
|
|
30
|
+
// Will be deprecated.
|
|
31
|
+
AiSuggestionsRightRailEntryPointValue["SUGGESTION_CARD"] = "suggestionCard";
|
|
32
|
+
return AiSuggestionsRightRailEntryPointValue;
|
|
33
|
+
}({});
|
|
34
|
+
var AiSuggestionsRegenerationTriggerValue = exports.AiSuggestionsRegenerationTriggerValue = /*#__PURE__*/function (AiSuggestionsRegenerationTriggerValue) {
|
|
35
|
+
AiSuggestionsRegenerationTriggerValue["PANEL_OPEN"] = "panelOpen";
|
|
36
|
+
AiSuggestionsRegenerationTriggerValue["REVIEW_COMPLETED"] = "reviewCompleted";
|
|
37
|
+
AiSuggestionsRegenerationTriggerValue["SUGGESTION_SELECTED"] = "suggestionSelected";
|
|
38
|
+
AiSuggestionsRegenerationTriggerValue["SUGGESTIONS_UPDATED"] = "suggestionsUpdated";
|
|
39
|
+
return AiSuggestionsRegenerationTriggerValue;
|
|
40
|
+
}({});
|
|
41
|
+
var AiSuggestionsRegenerationOutcomeValue = exports.AiSuggestionsRegenerationOutcomeValue = /*#__PURE__*/function (AiSuggestionsRegenerationOutcomeValue) {
|
|
42
|
+
AiSuggestionsRegenerationOutcomeValue["REMOVED"] = "removed";
|
|
43
|
+
AiSuggestionsRegenerationOutcomeValue["STILL_STALE"] = "stillStale";
|
|
44
|
+
AiSuggestionsRegenerationOutcomeValue["UPDATED"] = "updated";
|
|
45
|
+
return AiSuggestionsRegenerationOutcomeValue;
|
|
46
|
+
}({});
|
|
47
|
+
/**
|
|
48
|
+
* Fired when the user clicks the "Try again" / retry button on the suggested
|
|
49
|
+
* edits error screen (the thinking bar's error state). Lets us measure how
|
|
50
|
+
* often users attempt to recover from a suggestions failure.
|
|
51
|
+
*/
|
|
@@ -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 = "127.1.
|
|
30
|
+
var packageVersion = "127.1.1";
|
|
31
31
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
32
32
|
// Remove URL as it has UGC
|
|
33
33
|
// 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 = "127.1.
|
|
27
|
+
var packageVersion = "127.1.1";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -1 +1,46 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export let AiSuggestionsEntryPointValue = /*#__PURE__*/function (AiSuggestionsEntryPointValue) {
|
|
2
|
+
AiSuggestionsEntryPointValue["PRIMARY_TOOLBAR"] = "primaryToolbar";
|
|
3
|
+
/**
|
|
4
|
+
* @private
|
|
5
|
+
* @deprecated Legacy entry point retained for backwards compatibility.
|
|
6
|
+
* Use `SUGGESTIONS_PANEL_EMPTY_STATE` for the standalone suggestions panel.
|
|
7
|
+
*/
|
|
8
|
+
AiSuggestionsEntryPointValue["COMMENTS_EMPTY_STATE"] = "commentsEmptyState";
|
|
9
|
+
AiSuggestionsEntryPointValue["SUGGESTIONS_PANEL_EMPTY_STATE"] = "suggestionsPanelEmptyState";
|
|
10
|
+
AiSuggestionsEntryPointValue["SUGGESTIONS_PANEL_HEADER"] = "suggestionsPanelHeader";
|
|
11
|
+
AiSuggestionsEntryPointValue["OBJECT_SIDEBAR_CONTROL"] = "objectSidebarControl";
|
|
12
|
+
/**
|
|
13
|
+
* @private
|
|
14
|
+
* @deprecated Legacy automatic-generation entry point retained for backwards compatibility.
|
|
15
|
+
*/
|
|
16
|
+
AiSuggestionsEntryPointValue["SUGGESTIONS_PANEL_MOUNT"] = "suggestionsPanelMount";
|
|
17
|
+
/** The "Review" button on the follow-up card after the last suggestion is actioned. */
|
|
18
|
+
AiSuggestionsEntryPointValue["FOLLOW_UP_CARD"] = "followUpCard";
|
|
19
|
+
return AiSuggestionsEntryPointValue;
|
|
20
|
+
}({});
|
|
21
|
+
export let AiSuggestionsRightRailEntryPointValue = /*#__PURE__*/function (AiSuggestionsRightRailEntryPointValue) {
|
|
22
|
+
AiSuggestionsRightRailEntryPointValue["SUGGESTIONS_PANEL"] = "suggestionsPanel";
|
|
23
|
+
AiSuggestionsRightRailEntryPointValue["SUGGESTIONS_TAB"] = "suggestionsTab";
|
|
24
|
+
// Will be deprecated.
|
|
25
|
+
AiSuggestionsRightRailEntryPointValue["SUGGESTION_CARD"] = "suggestionCard";
|
|
26
|
+
return AiSuggestionsRightRailEntryPointValue;
|
|
27
|
+
}({});
|
|
28
|
+
export let AiSuggestionsRegenerationTriggerValue = /*#__PURE__*/function (AiSuggestionsRegenerationTriggerValue) {
|
|
29
|
+
AiSuggestionsRegenerationTriggerValue["PANEL_OPEN"] = "panelOpen";
|
|
30
|
+
AiSuggestionsRegenerationTriggerValue["REVIEW_COMPLETED"] = "reviewCompleted";
|
|
31
|
+
AiSuggestionsRegenerationTriggerValue["SUGGESTION_SELECTED"] = "suggestionSelected";
|
|
32
|
+
AiSuggestionsRegenerationTriggerValue["SUGGESTIONS_UPDATED"] = "suggestionsUpdated";
|
|
33
|
+
return AiSuggestionsRegenerationTriggerValue;
|
|
34
|
+
}({});
|
|
35
|
+
export let AiSuggestionsRegenerationOutcomeValue = /*#__PURE__*/function (AiSuggestionsRegenerationOutcomeValue) {
|
|
36
|
+
AiSuggestionsRegenerationOutcomeValue["REMOVED"] = "removed";
|
|
37
|
+
AiSuggestionsRegenerationOutcomeValue["STILL_STALE"] = "stillStale";
|
|
38
|
+
AiSuggestionsRegenerationOutcomeValue["UPDATED"] = "updated";
|
|
39
|
+
return AiSuggestionsRegenerationOutcomeValue;
|
|
40
|
+
}({});
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Fired when the user clicks the "Try again" / retry button on the suggested
|
|
44
|
+
* edits error screen (the thinking bar's error state). Lets us measure how
|
|
45
|
+
* often users attempt to recover from a suggestions failure.
|
|
46
|
+
*/
|
|
@@ -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 = "127.1.
|
|
16
|
+
const packageVersion = "127.1.1";
|
|
17
17
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
18
18
|
// Remove URL as it has UGC
|
|
19
19
|
// Ignored via go/ees007
|
|
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
14
14
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
15
15
|
import Layer from '../Layer';
|
|
16
16
|
const packageName = "@atlaskit/editor-common";
|
|
17
|
-
const packageVersion = "127.1.
|
|
17
|
+
const packageVersion = "127.1.1";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -1 +1,46 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export var AiSuggestionsEntryPointValue = /*#__PURE__*/function (AiSuggestionsEntryPointValue) {
|
|
2
|
+
AiSuggestionsEntryPointValue["PRIMARY_TOOLBAR"] = "primaryToolbar";
|
|
3
|
+
/**
|
|
4
|
+
* @private
|
|
5
|
+
* @deprecated Legacy entry point retained for backwards compatibility.
|
|
6
|
+
* Use `SUGGESTIONS_PANEL_EMPTY_STATE` for the standalone suggestions panel.
|
|
7
|
+
*/
|
|
8
|
+
AiSuggestionsEntryPointValue["COMMENTS_EMPTY_STATE"] = "commentsEmptyState";
|
|
9
|
+
AiSuggestionsEntryPointValue["SUGGESTIONS_PANEL_EMPTY_STATE"] = "suggestionsPanelEmptyState";
|
|
10
|
+
AiSuggestionsEntryPointValue["SUGGESTIONS_PANEL_HEADER"] = "suggestionsPanelHeader";
|
|
11
|
+
AiSuggestionsEntryPointValue["OBJECT_SIDEBAR_CONTROL"] = "objectSidebarControl";
|
|
12
|
+
/**
|
|
13
|
+
* @private
|
|
14
|
+
* @deprecated Legacy automatic-generation entry point retained for backwards compatibility.
|
|
15
|
+
*/
|
|
16
|
+
AiSuggestionsEntryPointValue["SUGGESTIONS_PANEL_MOUNT"] = "suggestionsPanelMount";
|
|
17
|
+
/** The "Review" button on the follow-up card after the last suggestion is actioned. */
|
|
18
|
+
AiSuggestionsEntryPointValue["FOLLOW_UP_CARD"] = "followUpCard";
|
|
19
|
+
return AiSuggestionsEntryPointValue;
|
|
20
|
+
}({});
|
|
21
|
+
export var AiSuggestionsRightRailEntryPointValue = /*#__PURE__*/function (AiSuggestionsRightRailEntryPointValue) {
|
|
22
|
+
AiSuggestionsRightRailEntryPointValue["SUGGESTIONS_PANEL"] = "suggestionsPanel";
|
|
23
|
+
AiSuggestionsRightRailEntryPointValue["SUGGESTIONS_TAB"] = "suggestionsTab";
|
|
24
|
+
// Will be deprecated.
|
|
25
|
+
AiSuggestionsRightRailEntryPointValue["SUGGESTION_CARD"] = "suggestionCard";
|
|
26
|
+
return AiSuggestionsRightRailEntryPointValue;
|
|
27
|
+
}({});
|
|
28
|
+
export var AiSuggestionsRegenerationTriggerValue = /*#__PURE__*/function (AiSuggestionsRegenerationTriggerValue) {
|
|
29
|
+
AiSuggestionsRegenerationTriggerValue["PANEL_OPEN"] = "panelOpen";
|
|
30
|
+
AiSuggestionsRegenerationTriggerValue["REVIEW_COMPLETED"] = "reviewCompleted";
|
|
31
|
+
AiSuggestionsRegenerationTriggerValue["SUGGESTION_SELECTED"] = "suggestionSelected";
|
|
32
|
+
AiSuggestionsRegenerationTriggerValue["SUGGESTIONS_UPDATED"] = "suggestionsUpdated";
|
|
33
|
+
return AiSuggestionsRegenerationTriggerValue;
|
|
34
|
+
}({});
|
|
35
|
+
export var AiSuggestionsRegenerationOutcomeValue = /*#__PURE__*/function (AiSuggestionsRegenerationOutcomeValue) {
|
|
36
|
+
AiSuggestionsRegenerationOutcomeValue["REMOVED"] = "removed";
|
|
37
|
+
AiSuggestionsRegenerationOutcomeValue["STILL_STALE"] = "stillStale";
|
|
38
|
+
AiSuggestionsRegenerationOutcomeValue["UPDATED"] = "updated";
|
|
39
|
+
return AiSuggestionsRegenerationOutcomeValue;
|
|
40
|
+
}({});
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Fired when the user clicks the "Try again" / retry button on the suggested
|
|
44
|
+
* edits error screen (the thinking bar's error state). Lets us measure how
|
|
45
|
+
* often users attempt to recover from a suggestions failure.
|
|
46
|
+
*/
|
|
@@ -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 = "127.1.
|
|
22
|
+
var packageVersion = "127.1.1";
|
|
23
23
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
24
24
|
// Remove URL as it has UGC
|
|
25
25
|
// Ignored via go/ees007
|
|
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
21
21
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
22
22
|
import Layer from '../Layer';
|
|
23
23
|
var packageName = "@atlaskit/editor-common";
|
|
24
|
-
var packageVersion = "127.1.
|
|
24
|
+
var packageVersion = "127.1.1";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -1,28 +1,47 @@
|
|
|
1
1
|
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
|
|
2
2
|
import type { OperationalAEP, TrackAEP } from './utils';
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
3
|
+
export declare enum AiSuggestionsEntryPointValue {
|
|
4
|
+
PRIMARY_TOOLBAR = "primaryToolbar",
|
|
5
|
+
/**
|
|
6
|
+
* @private
|
|
7
|
+
* @deprecated Legacy entry point retained for backwards compatibility.
|
|
8
|
+
* Use `SUGGESTIONS_PANEL_EMPTY_STATE` for the standalone suggestions panel.
|
|
9
|
+
*/
|
|
10
|
+
COMMENTS_EMPTY_STATE = "commentsEmptyState",
|
|
11
|
+
SUGGESTIONS_PANEL_EMPTY_STATE = "suggestionsPanelEmptyState",
|
|
12
|
+
SUGGESTIONS_PANEL_HEADER = "suggestionsPanelHeader",
|
|
13
|
+
OBJECT_SIDEBAR_CONTROL = "objectSidebarControl",
|
|
14
|
+
/**
|
|
15
|
+
* @private
|
|
16
|
+
* @deprecated Legacy automatic-generation entry point retained for backwards compatibility.
|
|
17
|
+
*/
|
|
18
|
+
SUGGESTIONS_PANEL_MOUNT = "suggestionsPanelMount",
|
|
19
|
+
/** The "Review" button on the follow-up card after the last suggestion is actioned. */
|
|
20
|
+
FOLLOW_UP_CARD = "followUpCard"
|
|
21
|
+
}
|
|
22
|
+
export type AiSuggestionsEntryPoint = `${AiSuggestionsEntryPointValue}`;
|
|
20
23
|
export type AiSuggestionInteractionPoint = 'sidebar' | 'card' | 'statusBar';
|
|
21
|
-
export
|
|
24
|
+
export declare enum AiSuggestionsRightRailEntryPointValue {
|
|
25
|
+
SUGGESTIONS_PANEL = "suggestionsPanel",
|
|
26
|
+
SUGGESTIONS_TAB = "suggestionsTab",// Will be deprecated.
|
|
27
|
+
SUGGESTION_CARD = "suggestionCard"
|
|
28
|
+
}
|
|
29
|
+
export type AiSuggestionsRightRailEntryPoint = `${AiSuggestionsRightRailEntryPointValue}`;
|
|
22
30
|
export type AiSuggestionsEmptyStateType = 'initial' | 'noSuggestionsFound' | 'suggestionsResolved';
|
|
23
31
|
export type AiSuggestionsConversationErrorReason = 'agentDeactivated' | 'agentProvisioning' | 'agentExternalConfigReference' | 'conversationSetup' | 'streamError';
|
|
24
|
-
export
|
|
25
|
-
|
|
32
|
+
export declare enum AiSuggestionsRegenerationTriggerValue {
|
|
33
|
+
PANEL_OPEN = "panelOpen",
|
|
34
|
+
REVIEW_COMPLETED = "reviewCompleted",
|
|
35
|
+
SUGGESTION_SELECTED = "suggestionSelected",
|
|
36
|
+
SUGGESTIONS_UPDATED = "suggestionsUpdated"
|
|
37
|
+
}
|
|
38
|
+
export declare enum AiSuggestionsRegenerationOutcomeValue {
|
|
39
|
+
REMOVED = "removed",
|
|
40
|
+
STILL_STALE = "stillStale",
|
|
41
|
+
UPDATED = "updated"
|
|
42
|
+
}
|
|
43
|
+
export type AiSuggestionsRegenerationTrigger = `${AiSuggestionsRegenerationTriggerValue}`;
|
|
44
|
+
export type AiSuggestionsRegenerationOutcome = `${AiSuggestionsRegenerationOutcomeValue}`;
|
|
26
45
|
type SuggestionRemixAttributes = {
|
|
27
46
|
remixSubtype?: string;
|
|
28
47
|
remixType?: string;
|
|
@@ -78,7 +97,9 @@ type EntryPointClickedAEP = TrackAEP<ACTION.CLICKED, ACTION_SUBJECT.AI_SUGGESTIO
|
|
|
78
97
|
type SuggestionsErrorRetryClickedAEP = TrackAEP<ACTION.CLICKED, ACTION_SUBJECT.AI_SUGGESTIONS, ACTION_SUBJECT_ID.SUGGESTIONS_ERROR_RETRY, undefined, undefined>;
|
|
79
98
|
type EntryPointExposureAEP = TrackAEP<ACTION.EXPOSED, ACTION_SUBJECT.AI_SUGGESTIONS, undefined, {
|
|
80
99
|
entryPoint: AiSuggestionsEntryPoint;
|
|
81
|
-
}, undefined
|
|
100
|
+
}, undefined> & {
|
|
101
|
+
source?: 'objectSidebar';
|
|
102
|
+
};
|
|
82
103
|
type SuggestionLifecycleAttributes = SuggestionRemixAttributes & TimeSinceGenerationAttribute & {
|
|
83
104
|
actionKind: string;
|
|
84
105
|
affectedBlocks: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "127.
|
|
3
|
+
"version": "127.2.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/"
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"@atlaskit/task-decision": "^21.11.0",
|
|
86
86
|
"@atlaskit/teams-app-config": "^3.1.0",
|
|
87
87
|
"@atlaskit/textfield": "^10.2.0",
|
|
88
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
88
|
+
"@atlaskit/tmp-editor-statsig": "^220.0.0",
|
|
89
89
|
"@atlaskit/tokens": "^20.1.0",
|
|
90
90
|
"@atlaskit/tooltip": "^24.4.0",
|
|
91
91
|
"@atlaskit/width-detector": "^7.2.0",
|