@atlaskit/tmp-editor-statsig 2.1.8 → 2.1.10
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 +16 -0
- package/dist/cjs/experiments-config.js +10 -0
- package/dist/es2019/experiments-config.js +10 -0
- package/dist/esm/experiments-config.js +10 -0
- package/dist/types/experiments-config.d.ts +8 -0
- package/dist/types/setup.d.ts +1 -0
- package/dist/types-ts4.5/experiments-config.d.ts +8 -0
- package/dist/types-ts4.5/setup.d.ts +1 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 2.1.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#138791](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/138791)
|
|
8
|
+
[`80669e45a30e0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/80669e45a30e0) -
|
|
9
|
+
EDF-1548 Added experiment config for AI button for block elements.
|
|
10
|
+
|
|
11
|
+
## 2.1.9
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#138414](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/138414)
|
|
16
|
+
[`7869af9163f3e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7869af9163f3e) -
|
|
17
|
+
Added lazy node experiment to config
|
|
18
|
+
|
|
3
19
|
## 2.1.8
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -148,5 +148,15 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
148
148
|
param: 'isEnabled',
|
|
149
149
|
typeGuard: isBoolean,
|
|
150
150
|
defaultValue: false
|
|
151
|
+
},
|
|
152
|
+
// Add 2024-09-16
|
|
153
|
+
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_ai_button_block_elements/setup
|
|
154
|
+
platform_editor_ai_ai_button_block_elements: {
|
|
155
|
+
productKeys: {
|
|
156
|
+
confluence: 'platform_editor_ai_ai_button_block_elements'
|
|
157
|
+
},
|
|
158
|
+
param: 'cohort',
|
|
159
|
+
typeGuard: oneOf(['control', 'test']),
|
|
160
|
+
defaultValue: 'control'
|
|
151
161
|
}
|
|
152
162
|
};
|
|
@@ -142,5 +142,15 @@ export const editorExperimentsConfig = {
|
|
|
142
142
|
param: 'isEnabled',
|
|
143
143
|
typeGuard: isBoolean,
|
|
144
144
|
defaultValue: false
|
|
145
|
+
},
|
|
146
|
+
// Add 2024-09-16
|
|
147
|
+
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_ai_button_block_elements/setup
|
|
148
|
+
platform_editor_ai_ai_button_block_elements: {
|
|
149
|
+
productKeys: {
|
|
150
|
+
confluence: 'platform_editor_ai_ai_button_block_elements'
|
|
151
|
+
},
|
|
152
|
+
param: 'cohort',
|
|
153
|
+
typeGuard: oneOf(['control', 'test']),
|
|
154
|
+
defaultValue: 'control'
|
|
145
155
|
}
|
|
146
156
|
};
|
|
@@ -142,5 +142,15 @@ export var editorExperimentsConfig = {
|
|
|
142
142
|
param: 'isEnabled',
|
|
143
143
|
typeGuard: isBoolean,
|
|
144
144
|
defaultValue: false
|
|
145
|
+
},
|
|
146
|
+
// Add 2024-09-16
|
|
147
|
+
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_ai_button_block_elements/setup
|
|
148
|
+
platform_editor_ai_ai_button_block_elements: {
|
|
149
|
+
productKeys: {
|
|
150
|
+
confluence: 'platform_editor_ai_ai_button_block_elements'
|
|
151
|
+
},
|
|
152
|
+
param: 'cohort',
|
|
153
|
+
typeGuard: oneOf(['control', 'test']),
|
|
154
|
+
defaultValue: 'control'
|
|
145
155
|
}
|
|
146
156
|
};
|
|
@@ -119,5 +119,13 @@ export declare const editorExperimentsConfig: {
|
|
|
119
119
|
typeGuard: typeof isBoolean;
|
|
120
120
|
defaultValue: boolean;
|
|
121
121
|
};
|
|
122
|
+
platform_editor_ai_ai_button_block_elements: {
|
|
123
|
+
productKeys: {
|
|
124
|
+
confluence: string;
|
|
125
|
+
};
|
|
126
|
+
param: string;
|
|
127
|
+
typeGuard: (value: unknown) => value is "control" | "test";
|
|
128
|
+
defaultValue: "control" | "test";
|
|
129
|
+
};
|
|
122
130
|
};
|
|
123
131
|
export {};
|
package/dist/types/setup.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export declare let _overrides: Partial<{
|
|
|
17
17
|
platform_editor_empty_line_prompt: boolean;
|
|
18
18
|
support_table_in_comment: boolean;
|
|
19
19
|
platform_editor_exp_lazy_node_views: boolean;
|
|
20
|
+
platform_editor_ai_ai_button_block_elements: "control" | "test";
|
|
20
21
|
}>;
|
|
21
22
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
|
22
23
|
/**
|
|
@@ -119,5 +119,13 @@ export declare const editorExperimentsConfig: {
|
|
|
119
119
|
typeGuard: typeof isBoolean;
|
|
120
120
|
defaultValue: boolean;
|
|
121
121
|
};
|
|
122
|
+
platform_editor_ai_ai_button_block_elements: {
|
|
123
|
+
productKeys: {
|
|
124
|
+
confluence: string;
|
|
125
|
+
};
|
|
126
|
+
param: string;
|
|
127
|
+
typeGuard: (value: unknown) => value is "control" | "test";
|
|
128
|
+
defaultValue: "control" | "test";
|
|
129
|
+
};
|
|
122
130
|
};
|
|
123
131
|
export {};
|
|
@@ -17,6 +17,7 @@ export declare let _overrides: Partial<{
|
|
|
17
17
|
platform_editor_empty_line_prompt: boolean;
|
|
18
18
|
support_table_in_comment: boolean;
|
|
19
19
|
platform_editor_exp_lazy_node_views: boolean;
|
|
20
|
+
platform_editor_ai_ai_button_block_elements: "control" | "test";
|
|
20
21
|
}>;
|
|
21
22
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
|
22
23
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/tmp-editor-statsig",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.10",
|
|
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",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"./editor-experiments-test-utils": "./src/editor-experiments-test-utils.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@atlaskit/feature-gate-js-client": "^4.
|
|
39
|
+
"@atlaskit/feature-gate-js-client": "^4.19.0",
|
|
40
40
|
"@babel/runtime": "^7.0.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|