@atlaskit/tmp-editor-statsig 209.1.1 → 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,20 @@
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
+
3
18
  ## 209.1.1
4
19
 
5
20
  ### Patch Changes
@@ -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, {
@@ -839,14 +839,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
839
839
  param: 'isEnabled',
840
840
  defaultValue: false
841
841
  }),
842
- // Added 2026-03-04
843
- platform_editor_vc90_transition_panel_icon: (0, _createBooleanExperiment.createBooleanExperiment)({
844
- productKeys: {
845
- confluence: 'platform_editor_vc90_transition_panel_icon'
846
- },
847
- param: 'isEnabled',
848
- defaultValue: false
849
- }),
850
842
  // Added 2026-02-24
851
843
  platform_editor_emoji_default_scale: (0, _createBooleanExperiment.createBooleanExperiment)({
852
844
  productKeys: {
@@ -955,14 +947,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
955
947
  param: 'isEnabled',
956
948
  defaultValue: false
957
949
  }),
958
- // Added 2026-03-09
959
- platform_editor_remove_collab_step_metrics: (0, _createBooleanExperiment.createBooleanExperiment)({
960
- productKeys: {
961
- confluence: 'platform_editor_remove_collab_step_metrics'
962
- },
963
- param: 'isEnabled',
964
- defaultValue: false
965
- }),
966
950
  // Added 2026-05-01
967
951
  platform_editor_ai_normalized_telemetry: (0, _createBooleanExperiment.createBooleanExperiment)({
968
952
  productKeys: {
@@ -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, {
@@ -833,14 +833,6 @@ export const editorExperimentsConfig = {
833
833
  param: 'isEnabled',
834
834
  defaultValue: false
835
835
  }),
836
- // Added 2026-03-04
837
- platform_editor_vc90_transition_panel_icon: createBooleanExperiment({
838
- productKeys: {
839
- confluence: 'platform_editor_vc90_transition_panel_icon'
840
- },
841
- param: 'isEnabled',
842
- defaultValue: false
843
- }),
844
836
  // Added 2026-02-24
845
837
  platform_editor_emoji_default_scale: createBooleanExperiment({
846
838
  productKeys: {
@@ -949,14 +941,6 @@ export const editorExperimentsConfig = {
949
941
  param: 'isEnabled',
950
942
  defaultValue: false
951
943
  }),
952
- // Added 2026-03-09
953
- platform_editor_remove_collab_step_metrics: createBooleanExperiment({
954
- productKeys: {
955
- confluence: 'platform_editor_remove_collab_step_metrics'
956
- },
957
- param: 'isEnabled',
958
- defaultValue: false
959
- }),
960
944
  // Added 2026-05-01
961
945
  platform_editor_ai_normalized_telemetry: createBooleanExperiment({
962
946
  productKeys: {
@@ -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, {
@@ -833,14 +833,6 @@ export var editorExperimentsConfig = {
833
833
  param: 'isEnabled',
834
834
  defaultValue: false
835
835
  }),
836
- // Added 2026-03-04
837
- platform_editor_vc90_transition_panel_icon: createBooleanExperiment({
838
- productKeys: {
839
- confluence: 'platform_editor_vc90_transition_panel_icon'
840
- },
841
- param: 'isEnabled',
842
- defaultValue: false
843
- }),
844
836
  // Added 2026-02-24
845
837
  platform_editor_emoji_default_scale: createBooleanExperiment({
846
838
  productKeys: {
@@ -949,14 +941,6 @@ export var editorExperimentsConfig = {
949
941
  param: 'isEnabled',
950
942
  defaultValue: false
951
943
  }),
952
- // Added 2026-03-09
953
- platform_editor_remove_collab_step_metrics: createBooleanExperiment({
954
- productKeys: {
955
- confluence: 'platform_editor_remove_collab_step_metrics'
956
- },
957
- param: 'isEnabled',
958
- defaultValue: false
959
- }),
960
944
  // Added 2026-05-01
961
945
  platform_editor_ai_normalized_telemetry: createBooleanExperiment({
962
946
  productKeys: {
@@ -655,12 +655,6 @@ export declare const editorExperimentsConfig: {
655
655
  productKeys?: ProductKeys;
656
656
  typeGuard: IsBooleanType;
657
657
  };
658
- platform_editor_vc90_transition_panel_icon: {
659
- defaultValue: boolean;
660
- param: string;
661
- productKeys?: ProductKeys;
662
- typeGuard: IsBooleanType;
663
- };
664
658
  platform_editor_emoji_default_scale: {
665
659
  defaultValue: boolean;
666
660
  param: string;
@@ -739,12 +733,6 @@ export declare const editorExperimentsConfig: {
739
733
  productKeys?: ProductKeys;
740
734
  typeGuard: IsBooleanType;
741
735
  };
742
- platform_editor_remove_collab_step_metrics: {
743
- defaultValue: boolean;
744
- param: string;
745
- productKeys?: ProductKeys;
746
- typeGuard: IsBooleanType;
747
- };
748
736
  platform_editor_table_fit_to_content_on_demand: {
749
737
  defaultValue: boolean;
750
738
  param: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "209.1.1",
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
  }