@atlaskit/tmp-editor-statsig 13.42.0 → 13.43.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,23 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 13.43.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`df2de2a8c87f1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/df2de2a8c87f1) -
8
+ Remove ncsStepMetricsPlugin from confluence fullpage editor preset
9
+
10
+ When the experiment `platform_editor_remove_ncsStepMetrics_plugin` is set to `isEnabled`,
11
+ `enabledOptionalPlugins.ncsStepMetrics` will no longer add the `ncsStepMetricsPlugin` to the
12
+ Confluence `fullPagePreset`
13
+
14
+ ## 13.42.1
15
+
16
+ ### Patch Changes
17
+
18
+ - [`c36719b325b2d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c36719b325b2d) -
19
+ ED-29674 Enabling UFO tooling for expVal
20
+
3
21
  ## 13.42.0
4
22
 
5
23
  ### Minor Changes
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.expVal = expVal;
8
8
  exports.expValNoExposure = expValNoExposure;
9
9
  var _featureGateJsClient = _interopRequireDefault(require("@atlaskit/feature-gate-js-client"));
10
+ var _featureFlagsAccessed = require("@atlaskit/react-ufo/feature-flags-accessed");
10
11
  var _experimentsConfig = require("./experiments-config");
11
12
  var _setup = require("./setup");
12
13
  function expValInternal(_ref) {
@@ -58,6 +59,12 @@ function expValInternal(_ref) {
58
59
  var experimentValue = _featureGateJsClient.default.getExperimentValue(experimentName, experimentParam, defaultValue, {
59
60
  fireExperimentExposure: fireExperimentExposure
60
61
  });
62
+ if (
63
+ // eslint-disable-next-line @atlaskit/platform/use-recommended-utils
64
+ _featureGateJsClient.default.getExperimentValue('cc_editor_experiments_ufo_gate_reporting_expval', 'isEnabled', false)) {
65
+ // Duplicated from /confluence/next/packages/feature-experiments/src/index.ts
66
+ (0, _featureFlagsAccessed.addFeatureFlagAccessed)("".concat(experimentName, ":").concat(experimentParam), experimentValue);
67
+ }
61
68
  return experimentValue;
62
69
  }
63
70
 
@@ -1135,5 +1135,13 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
1135
1135
  },
1136
1136
  param: 'isEnabled',
1137
1137
  defaultValue: false
1138
+ }),
1139
+ // Added 2025-11-25
1140
+ platform_editor_remove_ncsStepMetrics_plugin: (0, _experimentBuilders.createBooleanExperiment)({
1141
+ productKeys: {
1142
+ confluence: 'platform_editor_remove_ncsStepMetrics_plugin'
1143
+ },
1144
+ param: 'isEnabled',
1145
+ defaultValue: false
1138
1146
  })
1139
1147
  };
@@ -1,4 +1,5 @@
1
1
  import FeatureGates from '@atlaskit/feature-gate-js-client';
2
+ import { addFeatureFlagAccessed } from '@atlaskit/react-ufo/feature-flags-accessed';
2
3
  import { editorExperimentsConfig } from './experiments-config';
3
4
  import { _overrides, _paramOverrides, _product } from './setup';
4
5
  function expValInternal({
@@ -51,6 +52,12 @@ function expValInternal({
51
52
  const experimentValue = FeatureGates.getExperimentValue(experimentName, experimentParam, defaultValue, {
52
53
  fireExperimentExposure: fireExperimentExposure
53
54
  });
55
+ if (
56
+ // eslint-disable-next-line @atlaskit/platform/use-recommended-utils
57
+ FeatureGates.getExperimentValue('cc_editor_experiments_ufo_gate_reporting_expval', 'isEnabled', false)) {
58
+ // Duplicated from /confluence/next/packages/feature-experiments/src/index.ts
59
+ addFeatureFlagAccessed(`${experimentName}:${experimentParam}`, experimentValue);
60
+ }
54
61
  return experimentValue;
55
62
  }
56
63
 
@@ -1129,5 +1129,13 @@ export const editorExperimentsConfig = {
1129
1129
  },
1130
1130
  param: 'isEnabled',
1131
1131
  defaultValue: false
1132
+ }),
1133
+ // Added 2025-11-25
1134
+ platform_editor_remove_ncsStepMetrics_plugin: createBooleanExperiment({
1135
+ productKeys: {
1136
+ confluence: 'platform_editor_remove_ncsStepMetrics_plugin'
1137
+ },
1138
+ param: 'isEnabled',
1139
+ defaultValue: false
1132
1140
  })
1133
1141
  };
@@ -1,4 +1,5 @@
1
1
  import FeatureGates from '@atlaskit/feature-gate-js-client';
2
+ import { addFeatureFlagAccessed } from '@atlaskit/react-ufo/feature-flags-accessed';
2
3
  import { editorExperimentsConfig } from './experiments-config';
3
4
  import { _overrides, _paramOverrides, _product } from './setup';
4
5
  function expValInternal(_ref) {
@@ -50,6 +51,12 @@ function expValInternal(_ref) {
50
51
  var experimentValue = FeatureGates.getExperimentValue(experimentName, experimentParam, defaultValue, {
51
52
  fireExperimentExposure: fireExperimentExposure
52
53
  });
54
+ if (
55
+ // eslint-disable-next-line @atlaskit/platform/use-recommended-utils
56
+ FeatureGates.getExperimentValue('cc_editor_experiments_ufo_gate_reporting_expval', 'isEnabled', false)) {
57
+ // Duplicated from /confluence/next/packages/feature-experiments/src/index.ts
58
+ addFeatureFlagAccessed("".concat(experimentName, ":").concat(experimentParam), experimentValue);
59
+ }
53
60
  return experimentValue;
54
61
  }
55
62
 
@@ -1129,5 +1129,13 @@ export var editorExperimentsConfig = {
1129
1129
  },
1130
1130
  param: 'isEnabled',
1131
1131
  defaultValue: false
1132
+ }),
1133
+ // Added 2025-11-25
1134
+ platform_editor_remove_ncsStepMetrics_plugin: createBooleanExperiment({
1135
+ productKeys: {
1136
+ confluence: 'platform_editor_remove_ncsStepMetrics_plugin'
1137
+ },
1138
+ param: 'isEnabled',
1139
+ defaultValue: false
1132
1140
  })
1133
1141
  };
@@ -836,4 +836,10 @@ export declare const editorExperimentsConfig: {
836
836
  param: string;
837
837
  productKeys?: import("./types").ProductKeys;
838
838
  };
839
+ platform_editor_remove_ncsStepMetrics_plugin: {
840
+ typeGuard: typeof import("./type-guards").isBoolean;
841
+ defaultValue: boolean;
842
+ param: string;
843
+ productKeys?: import("./types").ProductKeys;
844
+ };
839
845
  };
@@ -836,4 +836,10 @@ export declare const editorExperimentsConfig: {
836
836
  param: string;
837
837
  productKeys?: import("./types").ProductKeys;
838
838
  };
839
+ platform_editor_remove_ncsStepMetrics_plugin: {
840
+ typeGuard: typeof import("./type-guards").isBoolean;
841
+ defaultValue: boolean;
842
+ param: string;
843
+ productKeys?: import("./types").ProductKeys;
844
+ };
839
845
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "13.42.0",
3
+ "version": "13.43.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",