@atlaskit/tmp-editor-statsig 108.2.0 → 108.3.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,36 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 108.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`ccf2e0f0ba838`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ccf2e0f0ba838) -
8
+ [CCI-17112] Route Heading Autocomplete via cc-smarts behind SPRT.
9
+
10
+ `callHeadingAutocompleteApi` now branches on the editor experiment
11
+ `cc_smarts_heading_autocomplete_migration` (param `useCcSmarts`):
12
+ - **Control arm (default):** `/gateway/api/assist/api/ai/v2/ai-feature/heading-autocomplete`
13
+ (conversational-ai-platform — current source of truth, unchanged behaviour).
14
+ - **Test arm:** `/gateway/api/ai/v2/ai-feature/heading-autocomplete` (cc-smarts — new home,
15
+ reached via the `cc-smarts-ai-feature` stargate wildcard route).
16
+
17
+ Wire shape is byte-for-byte identical between the two backends; only the URL path changes. Mirrors
18
+ the `cc_smarts_comment_summary_followups_migration` pattern (AFM PR-388153). With the experiment
19
+ at 0%, this is a no-op behaviour change in production.
20
+
21
+ Adds a `try`/`catch` around `expValEquals` so the API fails closed to the convo-ai control arm on
22
+ Statsig read errors (per the convo-ai → cc-smarts migration skill guardrail).
23
+
24
+ Registers the new boolean experiment in `@atlaskit/tmp-editor-statsig/experiments-config`.
25
+
26
+ Tests live in the sibling `@af/editor-plugin-ai-autocomplete-tests` package per AFM ratcheting
27
+ rule "No tests in Editor plugin packages"; `heading-autocomplete-api-mock.ts` globs both the
28
+ convo-ai (`/gateway/api/assist/...`) and cc-smarts URLs.
29
+
30
+ - [`19773530cd51c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/19773530cd51c) -
31
+ Add fallbackMediaNameFetcher support to MediaCard (FileCard) and MediaViewer (header display),
32
+ gated behind the platform_editor_media_name_fallback_viewer_card experiment
33
+
3
34
  ## 108.2.0
4
35
 
5
36
  ### Minor Changes
@@ -606,6 +606,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
606
606
  param: 'isEnabled',
607
607
  defaultValue: false
608
608
  }),
609
+ // Added 2026-06-12
610
+ platform_editor_media_name_fallback_viewer_card: (0, _experimentBuilders.createBooleanExperiment)({
611
+ productKeys: {
612
+ confluence: 'platform_editor_media_name_fallback_viewer_card'
613
+ },
614
+ param: 'isEnabled',
615
+ defaultValue: false
616
+ }),
609
617
  // Added 2025-06-05
610
618
  platform_editor_block_controls_perf_optimization: (0, _experimentBuilders.createBooleanExperiment)({
611
619
  productKeys: {
@@ -2254,5 +2262,12 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
2254
2262
  },
2255
2263
  param: 'isEnabled',
2256
2264
  defaultValue: false
2265
+ }),
2266
+ cc_smarts_heading_autocomplete_migration: (0, _experimentBuilders.createBooleanExperiment)({
2267
+ productKeys: {
2268
+ confluence: 'cc_smarts_heading_autocomplete_migration'
2269
+ },
2270
+ param: 'useCcSmarts',
2271
+ defaultValue: false
2257
2272
  })
2258
2273
  };
@@ -600,6 +600,14 @@ export const editorExperimentsConfig = {
600
600
  param: 'isEnabled',
601
601
  defaultValue: false
602
602
  }),
603
+ // Added 2026-06-12
604
+ platform_editor_media_name_fallback_viewer_card: createBooleanExperiment({
605
+ productKeys: {
606
+ confluence: 'platform_editor_media_name_fallback_viewer_card'
607
+ },
608
+ param: 'isEnabled',
609
+ defaultValue: false
610
+ }),
603
611
  // Added 2025-06-05
604
612
  platform_editor_block_controls_perf_optimization: createBooleanExperiment({
605
613
  productKeys: {
@@ -2248,5 +2256,12 @@ export const editorExperimentsConfig = {
2248
2256
  },
2249
2257
  param: 'isEnabled',
2250
2258
  defaultValue: false
2259
+ }),
2260
+ cc_smarts_heading_autocomplete_migration: createBooleanExperiment({
2261
+ productKeys: {
2262
+ confluence: 'cc_smarts_heading_autocomplete_migration'
2263
+ },
2264
+ param: 'useCcSmarts',
2265
+ defaultValue: false
2251
2266
  })
2252
2267
  };
@@ -600,6 +600,14 @@ export var editorExperimentsConfig = {
600
600
  param: 'isEnabled',
601
601
  defaultValue: false
602
602
  }),
603
+ // Added 2026-06-12
604
+ platform_editor_media_name_fallback_viewer_card: createBooleanExperiment({
605
+ productKeys: {
606
+ confluence: 'platform_editor_media_name_fallback_viewer_card'
607
+ },
608
+ param: 'isEnabled',
609
+ defaultValue: false
610
+ }),
603
611
  // Added 2025-06-05
604
612
  platform_editor_block_controls_perf_optimization: createBooleanExperiment({
605
613
  productKeys: {
@@ -2248,5 +2256,12 @@ export var editorExperimentsConfig = {
2248
2256
  },
2249
2257
  param: 'isEnabled',
2250
2258
  defaultValue: false
2259
+ }),
2260
+ cc_smarts_heading_autocomplete_migration: createBooleanExperiment({
2261
+ productKeys: {
2262
+ confluence: 'cc_smarts_heading_autocomplete_migration'
2263
+ },
2264
+ param: 'useCcSmarts',
2265
+ defaultValue: false
2251
2266
  })
2252
2267
  };
@@ -332,6 +332,12 @@ export declare const editorExperimentsConfig: {
332
332
  productKeys?: ProductKeys;
333
333
  typeGuard: IsBooleanType;
334
334
  };
335
+ platform_editor_media_name_fallback_viewer_card: {
336
+ defaultValue: boolean;
337
+ param: string;
338
+ productKeys?: ProductKeys;
339
+ typeGuard: IsBooleanType;
340
+ };
335
341
  platform_editor_block_controls_perf_optimization: {
336
342
  defaultValue: boolean;
337
343
  param: string;
@@ -1647,5 +1653,11 @@ export declare const editorExperimentsConfig: {
1647
1653
  productKeys?: ProductKeys;
1648
1654
  typeGuard: IsBooleanType;
1649
1655
  };
1656
+ cc_smarts_heading_autocomplete_migration: {
1657
+ defaultValue: boolean;
1658
+ param: string;
1659
+ productKeys?: ProductKeys;
1660
+ typeGuard: IsBooleanType;
1661
+ };
1650
1662
  };
1651
1663
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "108.2.0",
3
+ "version": "108.3.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",