@atlaskit/tmp-editor-statsig 13.41.0 → 13.42.1

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,19 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 13.42.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`c36719b325b2d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c36719b325b2d) -
8
+ ED-29674 Enabling UFO tooling for expVal
9
+
10
+ ## 13.42.0
11
+
12
+ ### Minor Changes
13
+
14
+ - [`73b70015b0789`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/73b70015b0789) -
15
+ Adding exp gate: company-hub-config-panel-keyboard-nav
16
+
3
17
  ## 13.41.0
4
18
 
5
19
  ### 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
 
@@ -168,6 +168,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
168
168
  param: 'isEnabled',
169
169
  defaultValue: false
170
170
  }),
171
+ // Added 2025-11-20
172
+ 'company-hub-config-panel-keyboard-nav': (0, _experimentBuilders.createBooleanExperiment)({
173
+ productKeys: {
174
+ confluence: 'company-hub-config-panel-keyboard-nav'
175
+ },
176
+ param: 'isEnabled',
177
+ defaultValue: false
178
+ }),
171
179
  // Added 2025-10-10
172
180
  platform_editor_experience_tracking: (0, _experimentBuilders.createBooleanExperiment)({
173
181
  productKeys: {
@@ -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
 
@@ -162,6 +162,14 @@ export const editorExperimentsConfig = {
162
162
  param: 'isEnabled',
163
163
  defaultValue: false
164
164
  }),
165
+ // Added 2025-11-20
166
+ 'company-hub-config-panel-keyboard-nav': createBooleanExperiment({
167
+ productKeys: {
168
+ confluence: 'company-hub-config-panel-keyboard-nav'
169
+ },
170
+ param: 'isEnabled',
171
+ defaultValue: false
172
+ }),
165
173
  // Added 2025-10-10
166
174
  platform_editor_experience_tracking: createBooleanExperiment({
167
175
  productKeys: {
@@ -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
 
@@ -162,6 +162,14 @@ export var editorExperimentsConfig = {
162
162
  param: 'isEnabled',
163
163
  defaultValue: false
164
164
  }),
165
+ // Added 2025-11-20
166
+ 'company-hub-config-panel-keyboard-nav': createBooleanExperiment({
167
+ productKeys: {
168
+ confluence: 'company-hub-config-panel-keyboard-nav'
169
+ },
170
+ param: 'isEnabled',
171
+ defaultValue: false
172
+ }),
165
173
  // Added 2025-10-10
166
174
  platform_editor_experience_tracking: createBooleanExperiment({
167
175
  productKeys: {
@@ -116,6 +116,12 @@ export declare const editorExperimentsConfig: {
116
116
  param: string;
117
117
  productKeys?: import("./types").ProductKeys;
118
118
  };
119
+ 'company-hub-config-panel-keyboard-nav': {
120
+ typeGuard: typeof import("./type-guards").isBoolean;
121
+ defaultValue: boolean;
122
+ param: string;
123
+ productKeys?: import("./types").ProductKeys;
124
+ };
119
125
  platform_editor_experience_tracking: {
120
126
  typeGuard: typeof import("./type-guards").isBoolean;
121
127
  defaultValue: boolean;
@@ -116,6 +116,12 @@ export declare const editorExperimentsConfig: {
116
116
  param: string;
117
117
  productKeys?: import("./types").ProductKeys;
118
118
  };
119
+ 'company-hub-config-panel-keyboard-nav': {
120
+ typeGuard: typeof import("./type-guards").isBoolean;
121
+ defaultValue: boolean;
122
+ param: string;
123
+ productKeys?: import("./types").ProductKeys;
124
+ };
119
125
  platform_editor_experience_tracking: {
120
126
  typeGuard: typeof import("./type-guards").isBoolean;
121
127
  defaultValue: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "13.41.0",
3
+ "version": "13.42.1",
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",