@atlaskit/tmp-editor-statsig 209.1.0 → 210.0.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,27 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 210.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [`517ce6768d96a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/517ce6768d96a) -
8
+ Clean up experiment `platform_editor_vc90_transition_panel_icon`.
9
+ - [`5f61320693517`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5f61320693517) -
10
+ Clean up experiment `platform_editor_remove_collab_step_metrics`
11
+
12
+ ### Patch Changes
13
+
14
+ - [`4b854d5786237`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4b854d5786237) -
15
+ Clean up feature gate `platform_editor_experiments_use_product_keys`. Product-specific experiment
16
+ keys are now always used for experiments that are not in `disallowsProductKeys`.
17
+
18
+ ## 209.1.1
19
+
20
+ ### Patch Changes
21
+
22
+ - [`e317f52827a15`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e317f52827a15) -
23
+ Clean up experiment `cc_maui_create_keyword` and keep the permanent Remix copy.
24
+
3
25
  ## 209.1.0
4
26
 
5
27
  ### Minor Changes
@@ -12,7 +12,7 @@ var _setup = require("./setup");
12
12
  // This internal representation doesn't currently support productKeys
13
13
  // the way expVal(...) does, this adds temporary support for some keys while
14
14
  // we determine our preferred approach forward
15
- var allowsProductKeys = ['cc-maui-experiment', 'cc_maui_create_keyword', 'platform_use_unicode_emojis'];
15
+ var allowsProductKeys = ['cc-maui-experiment', 'platform_use_unicode_emojis'];
16
16
 
17
17
  /**
18
18
  * Check the value if an editor experiment.
@@ -18,7 +18,6 @@ Object.defineProperty(exports, "expValNoExposure", {
18
18
  }
19
19
  });
20
20
  var _featureGates = _interopRequireDefault(require("@atlaskit/feature-gate-js-client/feature-gates"));
21
- var _fg = require("@atlaskit/platform-feature-flags/fg");
22
21
  var _featureFlagsAccessed = require("@atlaskit/react-ufo/feature-flags-accessed");
23
22
  var _experimentsConfig = require("./experiments-config");
24
23
  var _setup = require("./setup");
@@ -69,7 +68,7 @@ function expValInternal(_ref) {
69
68
  // This will be hit in the case of an experiment not being set up for the product
70
69
  return defaultValue;
71
70
  }
72
- var resolvedExperimentKey = !_experimentsConfig.disallowsProductKeys.includes(experimentName) && (0, _fg.fg)('platform_editor_experiments_use_product_keys') ? experimentKey : experimentName;
71
+ var resolvedExperimentKey = _experimentsConfig.disallowsProductKeys.includes(experimentName) ? experimentName : experimentKey;
73
72
 
74
73
  // eslint-disable-next-line @atlaskit/platform/use-recommended-utils
75
74
  var experimentValue = _featureGates.default.getExperimentValue(resolvedExperimentKey, experimentParam, defaultValue, {
@@ -741,13 +741,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
741
741
  param: 'isEnabled',
742
742
  defaultValue: false
743
743
  }),
744
- cc_maui_create_keyword: (0, _createBooleanExperiment.createBooleanExperiment)({
745
- productKeys: {
746
- confluence: 'cc_maui_create_keyword'
747
- },
748
- param: 'isEnabled',
749
- defaultValue: false
750
- }),
751
744
  // Added 2026-07-13
752
745
  confluence_native_tabs_experiment: (0, _createBooleanExperiment.createBooleanExperiment)({
753
746
  productKeys: {
@@ -846,14 +839,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
846
839
  param: 'isEnabled',
847
840
  defaultValue: false
848
841
  }),
849
- // Added 2026-03-04
850
- platform_editor_vc90_transition_panel_icon: (0, _createBooleanExperiment.createBooleanExperiment)({
851
- productKeys: {
852
- confluence: 'platform_editor_vc90_transition_panel_icon'
853
- },
854
- param: 'isEnabled',
855
- defaultValue: false
856
- }),
857
842
  // Added 2026-02-24
858
843
  platform_editor_emoji_default_scale: (0, _createBooleanExperiment.createBooleanExperiment)({
859
844
  productKeys: {
@@ -962,14 +947,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
962
947
  param: 'isEnabled',
963
948
  defaultValue: false
964
949
  }),
965
- // Added 2026-03-09
966
- platform_editor_remove_collab_step_metrics: (0, _createBooleanExperiment.createBooleanExperiment)({
967
- productKeys: {
968
- confluence: 'platform_editor_remove_collab_step_metrics'
969
- },
970
- param: 'isEnabled',
971
- defaultValue: false
972
- }),
973
950
  // Added 2026-05-01
974
951
  platform_editor_ai_normalized_telemetry: (0, _createBooleanExperiment.createBooleanExperiment)({
975
952
  productKeys: {
@@ -6,7 +6,7 @@ import { _overrides, _product } from './setup';
6
6
  // This internal representation doesn't currently support productKeys
7
7
  // the way expVal(...) does, this adds temporary support for some keys while
8
8
  // we determine our preferred approach forward
9
- const allowsProductKeys = ['cc-maui-experiment', 'cc_maui_create_keyword', 'platform_use_unicode_emojis'];
9
+ const allowsProductKeys = ['cc-maui-experiment', 'platform_use_unicode_emojis'];
10
10
 
11
11
  /**
12
12
  * Check the value if an editor experiment.
@@ -2,7 +2,6 @@
2
2
  /* eslint-disable @atlaskit/editor/no-re-export -- deprecated shims re-exporting the split `expVal`/`expValNoExposure` modules for backwards compatibility (VOLTC-139). */
3
3
 
4
4
  import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
5
- import { fg } from '@atlaskit/platform-feature-flags/fg';
6
5
  import { addFeatureFlagAccessed } from '@atlaskit/react-ufo/feature-flags-accessed';
7
6
  import { disallowsProductKeys, editorExperimentsConfig } from './experiments-config';
8
7
  import { _overrides, _paramOverrides, _product } from './setup';
@@ -49,7 +48,7 @@ export function expValInternal({
49
48
  // This will be hit in the case of an experiment not being set up for the product
50
49
  return defaultValue;
51
50
  }
52
- const resolvedExperimentKey = !disallowsProductKeys.includes(experimentName) && fg('platform_editor_experiments_use_product_keys') ? experimentKey : experimentName;
51
+ const resolvedExperimentKey = disallowsProductKeys.includes(experimentName) ? experimentName : experimentKey;
53
52
 
54
53
  // eslint-disable-next-line @atlaskit/platform/use-recommended-utils
55
54
  const experimentValue = FeatureGates.getExperimentValue(resolvedExperimentKey, experimentParam, defaultValue, {
@@ -735,13 +735,6 @@ export const editorExperimentsConfig = {
735
735
  param: 'isEnabled',
736
736
  defaultValue: false
737
737
  }),
738
- cc_maui_create_keyword: createBooleanExperiment({
739
- productKeys: {
740
- confluence: 'cc_maui_create_keyword'
741
- },
742
- param: 'isEnabled',
743
- defaultValue: false
744
- }),
745
738
  // Added 2026-07-13
746
739
  confluence_native_tabs_experiment: createBooleanExperiment({
747
740
  productKeys: {
@@ -840,14 +833,6 @@ export const editorExperimentsConfig = {
840
833
  param: 'isEnabled',
841
834
  defaultValue: false
842
835
  }),
843
- // Added 2026-03-04
844
- platform_editor_vc90_transition_panel_icon: createBooleanExperiment({
845
- productKeys: {
846
- confluence: 'platform_editor_vc90_transition_panel_icon'
847
- },
848
- param: 'isEnabled',
849
- defaultValue: false
850
- }),
851
836
  // Added 2026-02-24
852
837
  platform_editor_emoji_default_scale: createBooleanExperiment({
853
838
  productKeys: {
@@ -956,14 +941,6 @@ export const editorExperimentsConfig = {
956
941
  param: 'isEnabled',
957
942
  defaultValue: false
958
943
  }),
959
- // Added 2026-03-09
960
- platform_editor_remove_collab_step_metrics: createBooleanExperiment({
961
- productKeys: {
962
- confluence: 'platform_editor_remove_collab_step_metrics'
963
- },
964
- param: 'isEnabled',
965
- defaultValue: false
966
- }),
967
944
  // Added 2026-05-01
968
945
  platform_editor_ai_normalized_telemetry: createBooleanExperiment({
969
946
  productKeys: {
@@ -6,7 +6,7 @@ import { _overrides, _product } from './setup';
6
6
  // This internal representation doesn't currently support productKeys
7
7
  // the way expVal(...) does, this adds temporary support for some keys while
8
8
  // we determine our preferred approach forward
9
- var allowsProductKeys = ['cc-maui-experiment', 'cc_maui_create_keyword', 'platform_use_unicode_emojis'];
9
+ var allowsProductKeys = ['cc-maui-experiment', 'platform_use_unicode_emojis'];
10
10
 
11
11
  /**
12
12
  * Check the value if an editor experiment.
@@ -2,7 +2,6 @@
2
2
  /* eslint-disable @atlaskit/editor/no-re-export -- deprecated shims re-exporting the split `expVal`/`expValNoExposure` modules for backwards compatibility (VOLTC-139). */
3
3
 
4
4
  import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
5
- import { fg } from '@atlaskit/platform-feature-flags/fg';
6
5
  import { addFeatureFlagAccessed } from '@atlaskit/react-ufo/feature-flags-accessed';
7
6
  import { disallowsProductKeys, editorExperimentsConfig } from './experiments-config';
8
7
  import { _overrides, _paramOverrides, _product } from './setup';
@@ -48,7 +47,7 @@ export function expValInternal(_ref) {
48
47
  // This will be hit in the case of an experiment not being set up for the product
49
48
  return defaultValue;
50
49
  }
51
- var resolvedExperimentKey = !disallowsProductKeys.includes(experimentName) && fg('platform_editor_experiments_use_product_keys') ? experimentKey : experimentName;
50
+ var resolvedExperimentKey = disallowsProductKeys.includes(experimentName) ? experimentName : experimentKey;
52
51
 
53
52
  // eslint-disable-next-line @atlaskit/platform/use-recommended-utils
54
53
  var experimentValue = FeatureGates.getExperimentValue(resolvedExperimentKey, experimentParam, defaultValue, {
@@ -735,13 +735,6 @@ export var editorExperimentsConfig = {
735
735
  param: 'isEnabled',
736
736
  defaultValue: false
737
737
  }),
738
- cc_maui_create_keyword: createBooleanExperiment({
739
- productKeys: {
740
- confluence: 'cc_maui_create_keyword'
741
- },
742
- param: 'isEnabled',
743
- defaultValue: false
744
- }),
745
738
  // Added 2026-07-13
746
739
  confluence_native_tabs_experiment: createBooleanExperiment({
747
740
  productKeys: {
@@ -840,14 +833,6 @@ export var editorExperimentsConfig = {
840
833
  param: 'isEnabled',
841
834
  defaultValue: false
842
835
  }),
843
- // Added 2026-03-04
844
- platform_editor_vc90_transition_panel_icon: createBooleanExperiment({
845
- productKeys: {
846
- confluence: 'platform_editor_vc90_transition_panel_icon'
847
- },
848
- param: 'isEnabled',
849
- defaultValue: false
850
- }),
851
836
  // Added 2026-02-24
852
837
  platform_editor_emoji_default_scale: createBooleanExperiment({
853
838
  productKeys: {
@@ -956,14 +941,6 @@ export var editorExperimentsConfig = {
956
941
  param: 'isEnabled',
957
942
  defaultValue: false
958
943
  }),
959
- // Added 2026-03-09
960
- platform_editor_remove_collab_step_metrics: createBooleanExperiment({
961
- productKeys: {
962
- confluence: 'platform_editor_remove_collab_step_metrics'
963
- },
964
- param: 'isEnabled',
965
- defaultValue: false
966
- }),
967
944
  // Added 2026-05-01
968
945
  platform_editor_ai_normalized_telemetry: createBooleanExperiment({
969
946
  productKeys: {
@@ -576,12 +576,6 @@ export declare const editorExperimentsConfig: {
576
576
  productKeys?: ProductKeys;
577
577
  typeGuard: IsBooleanType;
578
578
  };
579
- cc_maui_create_keyword: {
580
- defaultValue: boolean;
581
- param: string;
582
- productKeys?: ProductKeys;
583
- typeGuard: IsBooleanType;
584
- };
585
579
  confluence_native_tabs_experiment: {
586
580
  defaultValue: boolean;
587
581
  param: string;
@@ -661,12 +655,6 @@ export declare const editorExperimentsConfig: {
661
655
  productKeys?: ProductKeys;
662
656
  typeGuard: IsBooleanType;
663
657
  };
664
- platform_editor_vc90_transition_panel_icon: {
665
- defaultValue: boolean;
666
- param: string;
667
- productKeys?: ProductKeys;
668
- typeGuard: IsBooleanType;
669
- };
670
658
  platform_editor_emoji_default_scale: {
671
659
  defaultValue: boolean;
672
660
  param: string;
@@ -745,12 +733,6 @@ export declare const editorExperimentsConfig: {
745
733
  productKeys?: ProductKeys;
746
734
  typeGuard: IsBooleanType;
747
735
  };
748
- platform_editor_remove_collab_step_metrics: {
749
- defaultValue: boolean;
750
- param: string;
751
- productKeys?: ProductKeys;
752
- typeGuard: IsBooleanType;
753
- };
754
736
  platform_editor_table_fit_to_content_on_demand: {
755
737
  defaultValue: boolean;
756
738
  param: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "209.1.0",
3
+ "version": "210.0.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",
@@ -31,9 +31,6 @@
31
31
  "@babel/runtime": "^7.0.0"
32
32
  },
33
33
  "platform-feature-flags": {
34
- "platform_editor_experiments_use_product_keys": {
35
- "type": "boolean"
36
- },
37
34
  "confluence_editor_paste_3p_link_actions_menu": {
38
35
  "type": "boolean"
39
36
  }