@atlaskit/editor-common 134.8.4 → 134.9.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 +26 -0
- package/dist/cjs/analytics/types/ai-suggestions-events.js +2 -0
- package/dist/cjs/mention-avatar.js +2 -4
- 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 +2 -0
- package/dist/es2019/mention-avatar.js +2 -4
- 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 +2 -0
- package/dist/esm/mention-avatar.js +2 -4
- 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 +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 134.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`176e8d71cac97`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/176e8d71cac97) -
|
|
8
|
+
Add the `publishedSuggestionsPanelEmptyState` and `liveDocViewSuggestionsPanelEmptyState` AI
|
|
9
|
+
suggestions entry points, for Reviews started from the Suggestions panel empty state on published
|
|
10
|
+
pages and on live docs in view mode. The review generation experience reports their completed and
|
|
11
|
+
abandoned runs (confluence_suggestions_panel_view_mode).
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
17
|
+
## 134.8.5
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- [`9a31ce5238178`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9a31ce5238178) -
|
|
22
|
+
Retire frontend evaluation of `convo_ai_entity_hover_cards_non_hello_exp`. Use
|
|
23
|
+
`rovo_chat_people_entity_hover_cards` alone for people annotation enrollment and mention-avatar
|
|
24
|
+
provider activation. Enable inferred projects through `rovo_chat_inferred_project_hover_cards` or
|
|
25
|
+
`convo_ai_entity_hover_cards_inferred_project_exp` with `inferred_project_cohort` set to
|
|
26
|
+
`treatment`, defaulting to control and skipping experiment evaluation when the gate is enabled.
|
|
27
|
+
Preserve independent editor avatar rollouts and the deprecated helper for compatibility.
|
|
28
|
+
|
|
3
29
|
## 134.8.4
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
|
@@ -13,6 +13,8 @@ var AiSuggestionsEntryPointValue = exports.AiSuggestionsEntryPointValue = /*#__P
|
|
|
13
13
|
*/
|
|
14
14
|
AiSuggestionsEntryPointValue["COMMENTS_EMPTY_STATE"] = "commentsEmptyState";
|
|
15
15
|
AiSuggestionsEntryPointValue["SUGGESTIONS_PANEL_EMPTY_STATE"] = "suggestionsPanelEmptyState";
|
|
16
|
+
AiSuggestionsEntryPointValue["PUBLISHED_SUGGESTIONS_PANEL_EMPTY_STATE"] = "publishedSuggestionsPanelEmptyState";
|
|
17
|
+
AiSuggestionsEntryPointValue["LIVE_DOC_VIEW_SUGGESTIONS_PANEL_EMPTY_STATE"] = "liveDocViewSuggestionsPanelEmptyState";
|
|
16
18
|
AiSuggestionsEntryPointValue["SUGGESTIONS_PANEL_HEADER"] = "suggestionsPanelHeader";
|
|
17
19
|
AiSuggestionsEntryPointValue["OBJECT_SIDEBAR_CONTROL"] = "objectSidebarControl";
|
|
18
20
|
/**
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.isMentionAvatarEnabled = isMentionAvatarEnabled;
|
|
7
|
-
var _expVal = require("@atlaskit/platform-feature-experiments/exp-val");
|
|
8
7
|
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
8
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
9
9
|
var GENERIC_MENTION_IDS = ['HipChat', 'all', 'here'];
|
|
10
10
|
|
|
11
11
|
/** Shared avatar eligibility without importing mention components or resolving provider data. */
|
|
@@ -15,7 +15,5 @@ function isMentionAvatarEnabled(_ref) {
|
|
|
15
15
|
hasProvider = _ref.hasProvider,
|
|
16
16
|
_ref$canReportMissing = _ref.canReportMissingProvider,
|
|
17
17
|
canReportMissingProvider = _ref$canReportMissing === void 0 ? false : _ref$canReportMissing;
|
|
18
|
-
|
|
19
|
-
var cohort = (0, _expVal.expVal)('convo_ai_entity_hover_cards_non_hello_exp', 'hover_card_cohort', 'control');
|
|
20
|
-
return (hasProvider || canReportMissingProvider) && userType !== 'SPECIAL' && !GENERIC_MENTION_IDS.includes(id) && (cohort === 'person' || cohort === 'all' || (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_mention_node_avatar') || (0, _isExperimentEnabled.isExperimentEnabled)('canvas_agentic_experiences_master_exp') || (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_mention_node_graphql_provider') || (userType === 'APP' || userType === 'AGENT') && (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_drop3_hexagon_agent_avatar'));
|
|
18
|
+
return (hasProvider || canReportMissingProvider) && userType !== 'SPECIAL' && !GENERIC_MENTION_IDS.includes(id) && ((0, _fg.fg)('rovo_chat_people_entity_hover_cards') || (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_mention_node_avatar') || (0, _isExperimentEnabled.isExperimentEnabled)('canvas_agentic_experiences_master_exp') || (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_mention_node_graphql_provider') || (userType === 'APP' || userType === 'AGENT') && (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_drop3_hexagon_agent_avatar'));
|
|
21
19
|
}
|
|
@@ -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.8.
|
|
30
|
+
var packageVersion = "134.8.5";
|
|
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.8.
|
|
26
|
+
var packageVersion = "134.8.5";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -7,6 +7,8 @@ export let AiSuggestionsEntryPointValue = /*#__PURE__*/function (AiSuggestionsEn
|
|
|
7
7
|
*/
|
|
8
8
|
AiSuggestionsEntryPointValue["COMMENTS_EMPTY_STATE"] = "commentsEmptyState";
|
|
9
9
|
AiSuggestionsEntryPointValue["SUGGESTIONS_PANEL_EMPTY_STATE"] = "suggestionsPanelEmptyState";
|
|
10
|
+
AiSuggestionsEntryPointValue["PUBLISHED_SUGGESTIONS_PANEL_EMPTY_STATE"] = "publishedSuggestionsPanelEmptyState";
|
|
11
|
+
AiSuggestionsEntryPointValue["LIVE_DOC_VIEW_SUGGESTIONS_PANEL_EMPTY_STATE"] = "liveDocViewSuggestionsPanelEmptyState";
|
|
10
12
|
AiSuggestionsEntryPointValue["SUGGESTIONS_PANEL_HEADER"] = "suggestionsPanelHeader";
|
|
11
13
|
AiSuggestionsEntryPointValue["OBJECT_SIDEBAR_CONTROL"] = "objectSidebarControl";
|
|
12
14
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { expVal } from '@atlaskit/platform-feature-experiments/exp-val';
|
|
2
1
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
2
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
3
3
|
const GENERIC_MENTION_IDS = ['HipChat', 'all', 'here'];
|
|
4
4
|
|
|
5
5
|
/** Shared avatar eligibility without importing mention components or resolving provider data. */
|
|
@@ -9,7 +9,5 @@ export function isMentionAvatarEnabled({
|
|
|
9
9
|
hasProvider,
|
|
10
10
|
canReportMissingProvider = false
|
|
11
11
|
}) {
|
|
12
|
-
|
|
13
|
-
const cohort = expVal('convo_ai_entity_hover_cards_non_hello_exp', 'hover_card_cohort', 'control');
|
|
14
|
-
return (hasProvider || canReportMissingProvider) && userType !== 'SPECIAL' && !GENERIC_MENTION_IDS.includes(id) && (cohort === 'person' || cohort === 'all' || isExperimentEnabled('platform_editor_mention_node_avatar') || isExperimentEnabled('canvas_agentic_experiences_master_exp') || isExperimentEnabled('platform_editor_mention_node_graphql_provider') || (userType === 'APP' || userType === 'AGENT') && isExperimentEnabled('platform_editor_drop3_hexagon_agent_avatar'));
|
|
12
|
+
return (hasProvider || canReportMissingProvider) && userType !== 'SPECIAL' && !GENERIC_MENTION_IDS.includes(id) && (fg('rovo_chat_people_entity_hover_cards') || isExperimentEnabled('platform_editor_mention_node_avatar') || isExperimentEnabled('canvas_agentic_experiences_master_exp') || isExperimentEnabled('platform_editor_mention_node_graphql_provider') || (userType === 'APP' || userType === 'AGENT') && isExperimentEnabled('platform_editor_drop3_hexagon_agent_avatar'));
|
|
15
13
|
}
|
|
@@ -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.8.
|
|
16
|
+
const packageVersion = "134.8.5";
|
|
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.8.
|
|
16
|
+
const packageVersion = "134.8.5";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
|
@@ -7,6 +7,8 @@ export var AiSuggestionsEntryPointValue = /*#__PURE__*/function (AiSuggestionsEn
|
|
|
7
7
|
*/
|
|
8
8
|
AiSuggestionsEntryPointValue["COMMENTS_EMPTY_STATE"] = "commentsEmptyState";
|
|
9
9
|
AiSuggestionsEntryPointValue["SUGGESTIONS_PANEL_EMPTY_STATE"] = "suggestionsPanelEmptyState";
|
|
10
|
+
AiSuggestionsEntryPointValue["PUBLISHED_SUGGESTIONS_PANEL_EMPTY_STATE"] = "publishedSuggestionsPanelEmptyState";
|
|
11
|
+
AiSuggestionsEntryPointValue["LIVE_DOC_VIEW_SUGGESTIONS_PANEL_EMPTY_STATE"] = "liveDocViewSuggestionsPanelEmptyState";
|
|
10
12
|
AiSuggestionsEntryPointValue["SUGGESTIONS_PANEL_HEADER"] = "suggestionsPanelHeader";
|
|
11
13
|
AiSuggestionsEntryPointValue["OBJECT_SIDEBAR_CONTROL"] = "objectSidebarControl";
|
|
12
14
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { expVal } from '@atlaskit/platform-feature-experiments/exp-val';
|
|
2
1
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
2
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
3
3
|
var GENERIC_MENTION_IDS = ['HipChat', 'all', 'here'];
|
|
4
4
|
|
|
5
5
|
/** Shared avatar eligibility without importing mention components or resolving provider data. */
|
|
@@ -9,7 +9,5 @@ export function isMentionAvatarEnabled(_ref) {
|
|
|
9
9
|
hasProvider = _ref.hasProvider,
|
|
10
10
|
_ref$canReportMissing = _ref.canReportMissingProvider,
|
|
11
11
|
canReportMissingProvider = _ref$canReportMissing === void 0 ? false : _ref$canReportMissing;
|
|
12
|
-
|
|
13
|
-
var cohort = expVal('convo_ai_entity_hover_cards_non_hello_exp', 'hover_card_cohort', 'control');
|
|
14
|
-
return (hasProvider || canReportMissingProvider) && userType !== 'SPECIAL' && !GENERIC_MENTION_IDS.includes(id) && (cohort === 'person' || cohort === 'all' || isExperimentEnabled('platform_editor_mention_node_avatar') || isExperimentEnabled('canvas_agentic_experiences_master_exp') || isExperimentEnabled('platform_editor_mention_node_graphql_provider') || (userType === 'APP' || userType === 'AGENT') && isExperimentEnabled('platform_editor_drop3_hexagon_agent_avatar'));
|
|
12
|
+
return (hasProvider || canReportMissingProvider) && userType !== 'SPECIAL' && !GENERIC_MENTION_IDS.includes(id) && (fg('rovo_chat_people_entity_hover_cards') || isExperimentEnabled('platform_editor_mention_node_avatar') || isExperimentEnabled('canvas_agentic_experiences_master_exp') || isExperimentEnabled('platform_editor_mention_node_graphql_provider') || (userType === 'APP' || userType === 'AGENT') && isExperimentEnabled('platform_editor_drop3_hexagon_agent_avatar'));
|
|
15
13
|
}
|
|
@@ -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.8.
|
|
22
|
+
var packageVersion = "134.8.5";
|
|
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.8.
|
|
23
|
+
var packageVersion = "134.8.5";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
|
@@ -9,6 +9,8 @@ export declare enum AiSuggestionsEntryPointValue {
|
|
|
9
9
|
*/
|
|
10
10
|
COMMENTS_EMPTY_STATE = "commentsEmptyState",
|
|
11
11
|
SUGGESTIONS_PANEL_EMPTY_STATE = "suggestionsPanelEmptyState",
|
|
12
|
+
PUBLISHED_SUGGESTIONS_PANEL_EMPTY_STATE = "publishedSuggestionsPanelEmptyState",
|
|
13
|
+
LIVE_DOC_VIEW_SUGGESTIONS_PANEL_EMPTY_STATE = "liveDocViewSuggestionsPanelEmptyState",
|
|
12
14
|
SUGGESTIONS_PANEL_HEADER = "suggestionsPanelHeader",
|
|
13
15
|
OBJECT_SIDEBAR_CONTROL = "objectSidebarControl",
|
|
14
16
|
/**
|
package/package.json
CHANGED