@atlaskit/tmp-editor-statsig 2.25.0 → 2.26.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,14 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 2.26.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#175572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/175572)
8
+ [`40f53d4bf8e1a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40f53d4bf8e1a) -
9
+ [ux] EDF-1636: Remove 1p placeholder hints experiment platform_editor_ai_1p_placeholder_hints
10
+ making control the default experience again
11
+
3
12
  ## 2.25.0
4
13
 
5
14
  ### Minor Changes
@@ -209,16 +209,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
209
209
  typeGuard: _typeGuards.isBoolean,
210
210
  defaultValue: false
211
211
  },
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
212
  // Added 2024-10-14
223
213
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_advanced_layouts/setup
224
214
  advanced_layouts: {
@@ -203,16 +203,6 @@ export const editorExperimentsConfig = {
203
203
  typeGuard: isBoolean,
204
204
  defaultValue: false
205
205
  },
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
206
  // Added 2024-10-14
217
207
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_advanced_layouts/setup
218
208
  advanced_layouts: {
@@ -203,16 +203,6 @@ export var editorExperimentsConfig = {
203
203
  typeGuard: isBoolean,
204
204
  defaultValue: false
205
205
  },
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
206
  // Added 2024-10-14
217
207
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_advanced_layouts/setup
218
208
  advanced_layouts: {
@@ -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">(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;
@@ -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;
@@ -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;
@@ -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">(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;
@@ -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;
@@ -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;
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.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",