@atlaskit/tmp-editor-statsig 16.11.0 → 16.12.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-statsig-tmp
2
2
 
3
+ ## 16.12.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`7b39652e2fb7e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7b39652e2fb7e) -
8
+ Updates editor to only show placeholder once collab has connected.
9
+
10
+ ### Patch Changes
11
+
12
+ - [`0432552b0f173`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0432552b0f173) -
13
+ Cleaning up platform_editor_ai_proactive_ai_nudge
14
+
3
15
  ## 16.11.0
4
16
 
5
17
  ### Minor Changes
@@ -7,7 +7,6 @@ exports.testMultivariateOverrides = exports.testBooleanOverrides = void 0;
7
7
  var testMultivariateOverrides = exports.testMultivariateOverrides = {
8
8
  'example-multivariate': 'one',
9
9
  'platform_editor_ai-prompts-placeholder': 'control',
10
- platform_editor_ai_proactive_ai_nudge_parameters: 'control',
11
10
  platform_editor_controls: 'control',
12
11
  confluence_whiteboards_quick_insert: 'control',
13
12
  confluence_whiteboards_quick_insert_localised: 'control',
@@ -37,6 +37,15 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
37
37
 
38
38
  // Editor Platform experiments
39
39
  // lwoollard experiments
40
+
41
+ // Added 22-12-2025
42
+ cc_editor_placeholder_collab_wait: (0, _experimentBuilders.createBooleanExperiment)({
43
+ productKeys: {
44
+ confluence: 'cc_editor_placeholder_collab_wait'
45
+ },
46
+ param: 'isEnabled',
47
+ defaultValue: false
48
+ }),
40
49
  // Added 02-12-2025
41
50
  cc_fix_hydration_ttvc: (0, _experimentBuilders.createBooleanExperiment)({
42
51
  productKeys: {
@@ -354,15 +363,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
354
363
  param: 'isEnabled',
355
364
  defaultValue: false
356
365
  }),
357
- // Added 2025-03-28
358
- platform_editor_ai_proactive_ai_nudge_parameters: (0, _experimentBuilders.createMultivariateExperiment)({
359
- productKeys: {
360
- confluence: 'platform_editor_ai_proactive_ai_nudge_parameters'
361
- },
362
- param: 'cohort',
363
- values: ['control', 'variant1'],
364
- defaultValue: 'control'
365
- }),
366
366
  // Added 2025-04-14
367
367
  // https://switcheroo.atlassian.com/ui/gates/b159b45a-86d9-4f4b-b482-f9aca5b615d6/key/platform_editor_offline_editing_web
368
368
  platform_editor_offline_editing_web: (0, _experimentBuilders.createBooleanExperiment)({
@@ -108,7 +108,9 @@ function editorExperiment(experimentName, expectedExperimentValue) {
108
108
  }
109
109
  return expectedExperimentValue === experimentValue;
110
110
  }
111
- // type Unstable_EditorExperimentParams = {};
111
+
112
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
113
+
112
114
  /**
113
115
  * @warning This currently lacks type safety on the param names and return values
114
116
  * and has limited associated test tooling.
@@ -1,7 +1,6 @@
1
1
  export const testMultivariateOverrides = {
2
2
  'example-multivariate': 'one',
3
3
  'platform_editor_ai-prompts-placeholder': 'control',
4
- platform_editor_ai_proactive_ai_nudge_parameters: 'control',
5
4
  platform_editor_controls: 'control',
6
5
  confluence_whiteboards_quick_insert: 'control',
7
6
  confluence_whiteboards_quick_insert_localised: 'control',
@@ -31,6 +31,15 @@ export const editorExperimentsConfig = {
31
31
 
32
32
  // Editor Platform experiments
33
33
  // lwoollard experiments
34
+
35
+ // Added 22-12-2025
36
+ cc_editor_placeholder_collab_wait: createBooleanExperiment({
37
+ productKeys: {
38
+ confluence: 'cc_editor_placeholder_collab_wait'
39
+ },
40
+ param: 'isEnabled',
41
+ defaultValue: false
42
+ }),
34
43
  // Added 02-12-2025
35
44
  cc_fix_hydration_ttvc: createBooleanExperiment({
36
45
  productKeys: {
@@ -348,15 +357,6 @@ export const editorExperimentsConfig = {
348
357
  param: 'isEnabled',
349
358
  defaultValue: false
350
359
  }),
351
- // Added 2025-03-28
352
- platform_editor_ai_proactive_ai_nudge_parameters: createMultivariateExperiment({
353
- productKeys: {
354
- confluence: 'platform_editor_ai_proactive_ai_nudge_parameters'
355
- },
356
- param: 'cohort',
357
- values: ['control', 'variant1'],
358
- defaultValue: 'control'
359
- }),
360
360
  // Added 2025-04-14
361
361
  // https://switcheroo.atlassian.com/ui/gates/b159b45a-86d9-4f4b-b482-f9aca5b615d6/key/platform_editor_offline_editing_web
362
362
  platform_editor_offline_editing_web: createBooleanExperiment({
@@ -100,7 +100,9 @@ export function editorExperiment(experimentName, expectedExperimentValue, option
100
100
  }
101
101
  return expectedExperimentValue === experimentValue;
102
102
  }
103
- // type Unstable_EditorExperimentParams = {};
103
+
104
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
105
+
104
106
  /**
105
107
  * @warning This currently lacks type safety on the param names and return values
106
108
  * and has limited associated test tooling.
@@ -1,7 +1,6 @@
1
1
  export var testMultivariateOverrides = {
2
2
  'example-multivariate': 'one',
3
3
  'platform_editor_ai-prompts-placeholder': 'control',
4
- platform_editor_ai_proactive_ai_nudge_parameters: 'control',
5
4
  platform_editor_controls: 'control',
6
5
  confluence_whiteboards_quick_insert: 'control',
7
6
  confluence_whiteboards_quick_insert_localised: 'control',
@@ -31,6 +31,15 @@ export var editorExperimentsConfig = {
31
31
 
32
32
  // Editor Platform experiments
33
33
  // lwoollard experiments
34
+
35
+ // Added 22-12-2025
36
+ cc_editor_placeholder_collab_wait: createBooleanExperiment({
37
+ productKeys: {
38
+ confluence: 'cc_editor_placeholder_collab_wait'
39
+ },
40
+ param: 'isEnabled',
41
+ defaultValue: false
42
+ }),
34
43
  // Added 02-12-2025
35
44
  cc_fix_hydration_ttvc: createBooleanExperiment({
36
45
  productKeys: {
@@ -348,15 +357,6 @@ export var editorExperimentsConfig = {
348
357
  param: 'isEnabled',
349
358
  defaultValue: false
350
359
  }),
351
- // Added 2025-03-28
352
- platform_editor_ai_proactive_ai_nudge_parameters: createMultivariateExperiment({
353
- productKeys: {
354
- confluence: 'platform_editor_ai_proactive_ai_nudge_parameters'
355
- },
356
- param: 'cohort',
357
- values: ['control', 'variant1'],
358
- defaultValue: 'control'
359
- }),
360
360
  // Added 2025-04-14
361
361
  // https://switcheroo.atlassian.com/ui/gates/b159b45a-86d9-4f4b-b482-f9aca5b615d6/key/platform_editor_offline_editing_web
362
362
  platform_editor_offline_editing_web: createBooleanExperiment({
@@ -101,7 +101,9 @@ export function editorExperiment(experimentName, expectedExperimentValue) {
101
101
  }
102
102
  return expectedExperimentValue === experimentValue;
103
103
  }
104
- // type Unstable_EditorExperimentParams = {};
104
+
105
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
106
+
105
107
  /**
106
108
  * @warning This currently lacks type safety on the param names and return values
107
109
  * and has limited associated test tooling.
@@ -70,6 +70,12 @@ export declare const editorExperimentsConfig: {
70
70
  productKeys?: ProductKeys;
71
71
  typeGuard: IsBooleanType;
72
72
  };
73
+ cc_editor_placeholder_collab_wait: {
74
+ defaultValue: boolean;
75
+ param: string;
76
+ productKeys?: ProductKeys;
77
+ typeGuard: IsBooleanType;
78
+ };
73
79
  cc_fix_hydration_ttvc: {
74
80
  defaultValue: boolean;
75
81
  param: string;
@@ -221,13 +227,6 @@ export declare const editorExperimentsConfig: {
221
227
  typeGuard: (value: unknown) => value is 'control' | 'adf_gemini25flash' | 'adf_gpt41mini';
222
228
  values: ('control' | 'adf_gemini25flash' | 'adf_gpt41mini')[];
223
229
  };
224
- platform_editor_ai_proactive_ai_nudge_parameters: {
225
- defaultValue: 'control' | 'variant1';
226
- param: string;
227
- productKeys?: ProductKeys;
228
- typeGuard: (value: unknown) => value is 'control' | 'variant1';
229
- values: ('control' | 'variant1')[];
230
- };
231
230
  platform_editor_ai_quickstart_command: {
232
231
  defaultValue: boolean;
233
232
  param: string;
@@ -50,11 +50,7 @@ import { type EditorExperimentsConfig } from './experiments-config';
50
50
  export declare function editorExperiment<ExperimentName extends keyof EditorExperimentsConfig>(experimentName: ExperimentName, expectedExperimentValue: EditorExperimentsConfig[ExperimentName]['defaultValue'], options?: {
51
51
  exposure: boolean;
52
52
  }): boolean;
53
- type Unstable_EditorExperimentParams = {
54
- platform_editor_ai_proactive_ai_nudge_parameters: {
55
- params: 'min_final_confidence' | 'min_length_percentage_difference' | 'max_length_percentage_difference' | 'min_input_readability_score' | 'min_output_readability_score' | 'max_readability_score_delta' | 'min_readability_score_delta' | 'min_alternative_confidence';
56
- };
57
- };
53
+ type Unstable_EditorExperimentParams = {};
58
54
  /**
59
55
  * @warning This currently lacks type safety on the param names and return values
60
56
  * and has limited associated test tooling.
@@ -70,6 +70,12 @@ export declare const editorExperimentsConfig: {
70
70
  productKeys?: ProductKeys;
71
71
  typeGuard: IsBooleanType;
72
72
  };
73
+ cc_editor_placeholder_collab_wait: {
74
+ defaultValue: boolean;
75
+ param: string;
76
+ productKeys?: ProductKeys;
77
+ typeGuard: IsBooleanType;
78
+ };
73
79
  cc_fix_hydration_ttvc: {
74
80
  defaultValue: boolean;
75
81
  param: string;
@@ -221,13 +227,6 @@ export declare const editorExperimentsConfig: {
221
227
  typeGuard: (value: unknown) => value is 'control' | 'adf_gemini25flash' | 'adf_gpt41mini';
222
228
  values: ('control' | 'adf_gemini25flash' | 'adf_gpt41mini')[];
223
229
  };
224
- platform_editor_ai_proactive_ai_nudge_parameters: {
225
- defaultValue: 'control' | 'variant1';
226
- param: string;
227
- productKeys?: ProductKeys;
228
- typeGuard: (value: unknown) => value is 'control' | 'variant1';
229
- values: ('control' | 'variant1')[];
230
- };
231
230
  platform_editor_ai_quickstart_command: {
232
231
  defaultValue: boolean;
233
232
  param: string;
@@ -50,11 +50,7 @@ import { type EditorExperimentsConfig } from './experiments-config';
50
50
  export declare function editorExperiment<ExperimentName extends keyof EditorExperimentsConfig>(experimentName: ExperimentName, expectedExperimentValue: EditorExperimentsConfig[ExperimentName]['defaultValue'], options?: {
51
51
  exposure: boolean;
52
52
  }): boolean;
53
- type Unstable_EditorExperimentParams = {
54
- platform_editor_ai_proactive_ai_nudge_parameters: {
55
- params: 'min_final_confidence' | 'min_length_percentage_difference' | 'max_length_percentage_difference' | 'min_input_readability_score' | 'min_output_readability_score' | 'max_readability_score_delta' | 'min_readability_score_delta' | 'min_alternative_confidence';
56
- };
57
- };
53
+ type Unstable_EditorExperimentParams = {};
58
54
  /**
59
55
  * @warning This currently lacks type safety on the param names and return values
60
56
  * and has limited associated test tooling.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "16.11.0",
3
+ "version": "16.12.0",
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",