@atlaskit/tmp-editor-statsig 2.25.0 → 2.26.1

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,22 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 2.26.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#172505](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/172505)
8
+ [`3816509a67f5c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3816509a67f5c) -
9
+ EDF-2055 Added platform_editor_ai_knowledge_from_current_page experiment
10
+
11
+ ## 2.26.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [#175572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/175572)
16
+ [`40f53d4bf8e1a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40f53d4bf8e1a) -
17
+ [ux] EDF-1636: Remove 1p placeholder hints experiment platform_editor_ai_1p_placeholder_hints
18
+ making control the default experience again
19
+
3
20
  ## 2.25.0
4
21
 
5
22
  ### Minor Changes
@@ -14,7 +14,8 @@ function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol
14
14
  function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
15
15
  function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
16
16
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
17
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } // This is loosely based on the `ffTest` util from `@atlassian/feature-flags-test-utils` package.
17
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /* eslint-disable @atlaskit/editor/no-re-export */ // Entry file in package.json
18
+ // This is loosely based on the `ffTest` util from `@atlassian/feature-flags-test-utils` package.
18
19
  /**
19
20
  * This is a utility function for testing editor experiments.
20
21
  *
@@ -5,6 +5,9 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.editorExperimentsConfig = void 0;
7
7
  var _typeGuards = require("./type-guards");
8
+ /* eslint-disable @atlaskit/editor/no-re-export */
9
+ // Entry file in package.json
10
+
8
11
  /**
9
12
  * When adding a new experiment, you need to add it here.
10
13
  * Please follow the pattern established in the examples and any
@@ -209,16 +212,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
209
212
  typeGuard: _typeGuards.isBoolean,
210
213
  defaultValue: false
211
214
  },
212
- // Added 2024-10-16
213
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_1p_placeholder_hints/setup
214
- platform_editor_ai_1p_placeholder_hints: {
215
- productKeys: {
216
- confluence: 'platform_editor_ai_1p_placeholder_hints'
217
- },
218
- param: 'cohort',
219
- typeGuard: (0, _typeGuards.oneOf)(['control', 'example-placeholders', 'tip-placeholders']),
220
- defaultValue: 'control'
221
- },
222
215
  // Added 2024-10-14
223
216
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_advanced_layouts/setup
224
217
  advanced_layouts: {
@@ -391,5 +384,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
391
384
  param: 'isEnabled',
392
385
  typeGuard: _typeGuards.isBoolean,
393
386
  defaultValue: false
387
+ },
388
+ // Added 2024-12-03
389
+ platform_editor_ai_knowledge_from_current_page: {
390
+ productKeys: {
391
+ confluence: 'platform_editor_ai_knowledge_from_current_page'
392
+ },
393
+ param: 'isEnabled',
394
+ typeGuard: _typeGuards.isBoolean,
395
+ defaultValue: false
394
396
  }
395
397
  };
@@ -8,6 +8,9 @@ exports.editorExperiment = editorExperiment;
8
8
  var _featureGateJsClient = _interopRequireDefault(require("@atlaskit/feature-gate-js-client"));
9
9
  var _experimentsConfig = require("./experiments-config");
10
10
  var _setup = require("./setup");
11
+ /* eslint-disable @atlaskit/editor/no-re-export */
12
+ // Entry file in package.json
13
+
11
14
  /**
12
15
  * Check the value of an editor experiment.
13
16
  *
package/dist/cjs/setup.js CHANGED
@@ -10,7 +10,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
10
10
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
11
11
  var _experimentsConfig = require("./experiments-config");
12
12
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
13
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
13
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /* eslint-disable @atlaskit/editor/no-re-export */ // Entry file in package.json
14
14
  var _overrides = exports._overrides = {};
15
15
  var _product;
16
16
 
@@ -1,3 +1,6 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ // Entry file in package.json
3
+
1
4
  // This is loosely based on the `ffTest` util from `@atlassian/feature-flags-test-utils` package.
2
5
 
3
6
  import { setupEditorExperiments } from './setup';
@@ -1,3 +1,6 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ // Entry file in package.json
3
+
1
4
  import { isBoolean, oneOf } from './type-guards';
2
5
  /**
3
6
  * When adding a new experiment, you need to add it here.
@@ -203,16 +206,6 @@ export const editorExperimentsConfig = {
203
206
  typeGuard: isBoolean,
204
207
  defaultValue: false
205
208
  },
206
- // Added 2024-10-16
207
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_1p_placeholder_hints/setup
208
- platform_editor_ai_1p_placeholder_hints: {
209
- productKeys: {
210
- confluence: 'platform_editor_ai_1p_placeholder_hints'
211
- },
212
- param: 'cohort',
213
- typeGuard: oneOf(['control', 'example-placeholders', 'tip-placeholders']),
214
- defaultValue: 'control'
215
- },
216
209
  // Added 2024-10-14
217
210
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_advanced_layouts/setup
218
211
  advanced_layouts: {
@@ -385,5 +378,14 @@ export const editorExperimentsConfig = {
385
378
  param: 'isEnabled',
386
379
  typeGuard: isBoolean,
387
380
  defaultValue: false
381
+ },
382
+ // Added 2024-12-03
383
+ platform_editor_ai_knowledge_from_current_page: {
384
+ productKeys: {
385
+ confluence: 'platform_editor_ai_knowledge_from_current_page'
386
+ },
387
+ param: 'isEnabled',
388
+ typeGuard: isBoolean,
389
+ defaultValue: false
388
390
  }
389
391
  };
@@ -1,3 +1,6 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ // Entry file in package.json
3
+
1
4
  import FeatureGates from '@atlaskit/feature-gate-js-client';
2
5
  import { editorExperimentsConfig } from './experiments-config';
3
6
  import { _overrides, _product } from './setup';
@@ -1,3 +1,6 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ // Entry file in package.json
3
+
1
4
  import { editorExperimentsConfig } from './experiments-config';
2
5
  export let _overrides = {};
3
6
  export let _product;
@@ -6,6 +6,9 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
6
6
  import _regeneratorRuntime from "@babel/runtime/regenerator";
7
7
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
8
8
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
9
+ /* eslint-disable @atlaskit/editor/no-re-export */
10
+ // Entry file in package.json
11
+
9
12
  // This is loosely based on the `ffTest` util from `@atlassian/feature-flags-test-utils` package.
10
13
 
11
14
  import { setupEditorExperiments } from './setup';
@@ -1,3 +1,6 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ // Entry file in package.json
3
+
1
4
  import { isBoolean, oneOf } from './type-guards';
2
5
  /**
3
6
  * When adding a new experiment, you need to add it here.
@@ -203,16 +206,6 @@ export var editorExperimentsConfig = {
203
206
  typeGuard: isBoolean,
204
207
  defaultValue: false
205
208
  },
206
- // Added 2024-10-16
207
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_1p_placeholder_hints/setup
208
- platform_editor_ai_1p_placeholder_hints: {
209
- productKeys: {
210
- confluence: 'platform_editor_ai_1p_placeholder_hints'
211
- },
212
- param: 'cohort',
213
- typeGuard: oneOf(['control', 'example-placeholders', 'tip-placeholders']),
214
- defaultValue: 'control'
215
- },
216
209
  // Added 2024-10-14
217
210
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_advanced_layouts/setup
218
211
  advanced_layouts: {
@@ -385,5 +378,14 @@ export var editorExperimentsConfig = {
385
378
  param: 'isEnabled',
386
379
  typeGuard: isBoolean,
387
380
  defaultValue: false
381
+ },
382
+ // Added 2024-12-03
383
+ platform_editor_ai_knowledge_from_current_page: {
384
+ productKeys: {
385
+ confluence: 'platform_editor_ai_knowledge_from_current_page'
386
+ },
387
+ param: 'isEnabled',
388
+ typeGuard: isBoolean,
389
+ defaultValue: false
388
390
  }
389
391
  };
@@ -1,3 +1,6 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ // Entry file in package.json
3
+
1
4
  import FeatureGates from '@atlaskit/feature-gate-js-client';
2
5
  import { editorExperimentsConfig } from './experiments-config';
3
6
  import { _overrides, _product } from './setup';
package/dist/esm/setup.js CHANGED
@@ -2,6 +2,9 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
3
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
4
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
+ /* eslint-disable @atlaskit/editor/no-re-export */
6
+ // Entry file in package.json
7
+
5
8
  import { editorExperimentsConfig } from './experiments-config';
6
9
  export var _overrides = {};
7
10
  export var _product;
@@ -45,7 +45,7 @@ declare function eeTest<ExperimentName extends keyof EditorExperimentsConfig>(ex
45
45
  false: DescribeBody;
46
46
  }, otherExperiments?: EditorExperimentOverrides): void;
47
47
  declare namespace eeTest {
48
- var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai_refine_response_button" | "platform_editor_ai_prompt_link_picker" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "platform_editor_ai_facepile" | "nested-tables-in-tables" | "platform_editor_ai_mentions_support" | "platform_editor_ai_change_tone_floating_toolbar" | "platform_editor_ai_response_history" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt" | "platform_editor_ai_draft_with_ai" | "platform_editor_ai_unsplash_page_header" | "expand_selection_range_to_include_inline_node">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "optimised-apply-dnd" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai_refine_response_button" | "platform_editor_ai_prompt_link_picker" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "platform_editor_ai_facepile" | "nested-tables-in-tables" | "platform_editor_ai_mentions_support" | "platform_editor_ai_change_tone_floating_toolbar" | "platform_editor_ai_response_history" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt" | "platform_editor_ai_draft_with_ai" | "platform_editor_ai_unsplash_page_header" | "expand_selection_range_to_include_inline_node" | "platform_editor_ai_knowledge_from_current_page">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -216,14 +216,6 @@ declare namespace eeTest {
216
216
  typeGuard: typeof import("./type-guards").isBoolean;
217
217
  defaultValue: boolean;
218
218
  };
219
- platform_editor_ai_1p_placeholder_hints: {
220
- productKeys: {
221
- confluence: string;
222
- };
223
- param: string;
224
- typeGuard: (value: unknown) => value is "control" | "example-placeholders" | "tip-placeholders";
225
- defaultValue: "control" | "example-placeholders" | "tip-placeholders";
226
- };
227
219
  advanced_layouts: {
228
220
  productKeys: {
229
221
  confluence: string;
@@ -376,6 +368,14 @@ declare namespace eeTest {
376
368
  typeGuard: typeof import("./type-guards").isBoolean;
377
369
  defaultValue: boolean;
378
370
  };
371
+ platform_editor_ai_knowledge_from_current_page: {
372
+ productKeys: {
373
+ confluence: string;
374
+ };
375
+ param: string;
376
+ typeGuard: typeof import("./type-guards").isBoolean;
377
+ defaultValue: boolean;
378
+ };
379
379
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
380
380
  each: (describeBody: jest.EmptyFunction) => void;
381
381
  };
@@ -175,14 +175,6 @@ export declare const editorExperimentsConfig: {
175
175
  typeGuard: typeof isBoolean;
176
176
  defaultValue: boolean;
177
177
  };
178
- platform_editor_ai_1p_placeholder_hints: {
179
- productKeys: {
180
- confluence: string;
181
- };
182
- param: string;
183
- typeGuard: (value: unknown) => value is "control" | "example-placeholders" | "tip-placeholders";
184
- defaultValue: "control" | "example-placeholders" | "tip-placeholders";
185
- };
186
178
  advanced_layouts: {
187
179
  productKeys: {
188
180
  confluence: string;
@@ -335,4 +327,12 @@ export declare const editorExperimentsConfig: {
335
327
  typeGuard: typeof isBoolean;
336
328
  defaultValue: boolean;
337
329
  };
330
+ platform_editor_ai_knowledge_from_current_page: {
331
+ productKeys: {
332
+ confluence: string;
333
+ };
334
+ param: string;
335
+ typeGuard: typeof isBoolean;
336
+ defaultValue: boolean;
337
+ };
338
338
  };
@@ -24,7 +24,6 @@ export declare let _overrides: Partial<{
24
24
  platform_editor_ai_additional_editor_prompts: "test" | "control";
25
25
  comment_on_bodied_extensions: boolean;
26
26
  'optimised-apply-dnd': boolean;
27
- platform_editor_ai_1p_placeholder_hints: "control" | "example-placeholders" | "tip-placeholders";
28
27
  advanced_layouts: boolean;
29
28
  support_table_in_comment_jira: boolean;
30
29
  comment_on_inline_node_spotlight: boolean;
@@ -44,6 +43,7 @@ export declare let _overrides: Partial<{
44
43
  platform_editor_ai_draft_with_ai: boolean;
45
44
  platform_editor_ai_unsplash_page_header: boolean;
46
45
  expand_selection_range_to_include_inline_node: boolean;
46
+ platform_editor_ai_knowledge_from_current_page: boolean;
47
47
  }>;
48
48
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
49
49
  /**
@@ -45,7 +45,7 @@ declare function eeTest<ExperimentName extends keyof EditorExperimentsConfig>(ex
45
45
  false: DescribeBody;
46
46
  }, otherExperiments?: EditorExperimentOverrides): void;
47
47
  declare namespace eeTest {
48
- var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai_refine_response_button" | "platform_editor_ai_prompt_link_picker" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "platform_editor_ai_facepile" | "nested-tables-in-tables" | "platform_editor_ai_mentions_support" | "platform_editor_ai_change_tone_floating_toolbar" | "platform_editor_ai_response_history" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt" | "platform_editor_ai_draft_with_ai" | "platform_editor_ai_unsplash_page_header" | "expand_selection_range_to_include_inline_node">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "optimised-apply-dnd" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai_refine_response_button" | "platform_editor_ai_prompt_link_picker" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "platform_editor_ai_facepile" | "nested-tables-in-tables" | "platform_editor_ai_mentions_support" | "platform_editor_ai_change_tone_floating_toolbar" | "platform_editor_ai_response_history" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt" | "platform_editor_ai_draft_with_ai" | "platform_editor_ai_unsplash_page_header" | "expand_selection_range_to_include_inline_node" | "platform_editor_ai_knowledge_from_current_page">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -216,14 +216,6 @@ declare namespace eeTest {
216
216
  typeGuard: typeof import("./type-guards").isBoolean;
217
217
  defaultValue: boolean;
218
218
  };
219
- platform_editor_ai_1p_placeholder_hints: {
220
- productKeys: {
221
- confluence: string;
222
- };
223
- param: string;
224
- typeGuard: (value: unknown) => value is "control" | "example-placeholders" | "tip-placeholders";
225
- defaultValue: "control" | "example-placeholders" | "tip-placeholders";
226
- };
227
219
  advanced_layouts: {
228
220
  productKeys: {
229
221
  confluence: string;
@@ -376,6 +368,14 @@ declare namespace eeTest {
376
368
  typeGuard: typeof import("./type-guards").isBoolean;
377
369
  defaultValue: boolean;
378
370
  };
371
+ platform_editor_ai_knowledge_from_current_page: {
372
+ productKeys: {
373
+ confluence: string;
374
+ };
375
+ param: string;
376
+ typeGuard: typeof import("./type-guards").isBoolean;
377
+ defaultValue: boolean;
378
+ };
379
379
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
380
380
  each: (describeBody: jest.EmptyFunction) => void;
381
381
  };
@@ -175,14 +175,6 @@ export declare const editorExperimentsConfig: {
175
175
  typeGuard: typeof isBoolean;
176
176
  defaultValue: boolean;
177
177
  };
178
- platform_editor_ai_1p_placeholder_hints: {
179
- productKeys: {
180
- confluence: string;
181
- };
182
- param: string;
183
- typeGuard: (value: unknown) => value is "control" | "example-placeholders" | "tip-placeholders";
184
- defaultValue: "control" | "example-placeholders" | "tip-placeholders";
185
- };
186
178
  advanced_layouts: {
187
179
  productKeys: {
188
180
  confluence: string;
@@ -335,4 +327,12 @@ export declare const editorExperimentsConfig: {
335
327
  typeGuard: typeof isBoolean;
336
328
  defaultValue: boolean;
337
329
  };
330
+ platform_editor_ai_knowledge_from_current_page: {
331
+ productKeys: {
332
+ confluence: string;
333
+ };
334
+ param: string;
335
+ typeGuard: typeof isBoolean;
336
+ defaultValue: boolean;
337
+ };
338
338
  };
@@ -24,7 +24,6 @@ export declare let _overrides: Partial<{
24
24
  platform_editor_ai_additional_editor_prompts: "test" | "control";
25
25
  comment_on_bodied_extensions: boolean;
26
26
  'optimised-apply-dnd': boolean;
27
- platform_editor_ai_1p_placeholder_hints: "control" | "example-placeholders" | "tip-placeholders";
28
27
  advanced_layouts: boolean;
29
28
  support_table_in_comment_jira: boolean;
30
29
  comment_on_inline_node_spotlight: boolean;
@@ -44,6 +43,7 @@ export declare let _overrides: Partial<{
44
43
  platform_editor_ai_draft_with_ai: boolean;
45
44
  platform_editor_ai_unsplash_page_header: boolean;
46
45
  expand_selection_range_to_include_inline_node: boolean;
46
+ platform_editor_ai_knowledge_from_current_page: boolean;
47
47
  }>;
48
48
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
49
49
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.25.0",
3
+ "version": "2.26.1",
4
4
  "description": "Temp plugin to ease use of statsig feature flags until platform feature flags are available",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",