@artsy/cohesion 4.406.0 → 4.407.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,3 +1,15 @@
|
|
|
1
|
+
# v4.407.0 (Tue Sep 22 2026)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- feat: Add tracking for My Brand writing language and sample [#755](https://github.com/artsy/cohesion/pull/755) ([@olerichter00](https://github.com/olerichter00))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Ole ([@olerichter00](https://github.com/olerichter00))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v4.406.0 (Tue Sep 22 2026)
|
|
2
14
|
|
|
3
15
|
#### 🚀 Enhancement
|
|
@@ -1466,5 +1466,9 @@ export declare enum ActionType {
|
|
|
1466
1466
|
/**
|
|
1467
1467
|
* Corresponds to {@link ClickedSaveBrandKit}
|
|
1468
1468
|
*/
|
|
1469
|
-
clickedSaveBrandKit = "clickedSaveBrandKit"
|
|
1469
|
+
clickedSaveBrandKit = "clickedSaveBrandKit",
|
|
1470
|
+
/**
|
|
1471
|
+
* Corresponds to {@link ClickedBrandKitWriting}
|
|
1472
|
+
*/
|
|
1473
|
+
clickedBrandKitWriting = "clickedBrandKitWriting"
|
|
1470
1474
|
}
|
|
@@ -375,4 +375,5 @@ exports.ActionType = ActionType;
|
|
|
375
375
|
ActionType["clickedBrandKitFont"] = "clickedBrandKitFont";
|
|
376
376
|
ActionType["clickedAddBrandKitFile"] = "clickedAddBrandKitFile";
|
|
377
377
|
ActionType["clickedSaveBrandKit"] = "clickedSaveBrandKit";
|
|
378
|
+
ActionType["clickedBrandKitWriting"] = "clickedBrandKitWriting";
|
|
378
379
|
})(ActionType || (exports.ActionType = ActionType = {}));
|
|
@@ -95,3 +95,38 @@ export interface ClickedSaveBrandKit {
|
|
|
95
95
|
context_module: OsContextModule.brandKit;
|
|
96
96
|
context_page_owner_type: OsOwnerType.studio;
|
|
97
97
|
}
|
|
98
|
+
/**
|
|
99
|
+
* User edits a My Brand writing preference (writing language or writing sample).
|
|
100
|
+
* Fires on blur, once the field commits.
|
|
101
|
+
*
|
|
102
|
+
* This schema describes events sent to Segment from [[clickedBrandKitWriting]]
|
|
103
|
+
*
|
|
104
|
+
* @example
|
|
105
|
+
* ```
|
|
106
|
+
* {
|
|
107
|
+
* action: "clickedBrandKitWriting",
|
|
108
|
+
* context_module: "brandKit",
|
|
109
|
+
* context_page_owner_type: "brandSettings",
|
|
110
|
+
* field: "writing_language",
|
|
111
|
+
* value: "English"
|
|
112
|
+
* }
|
|
113
|
+
* ```
|
|
114
|
+
*
|
|
115
|
+
* @example Writing sample
|
|
116
|
+
* ```
|
|
117
|
+
* {
|
|
118
|
+
* action: "clickedBrandKitWriting",
|
|
119
|
+
* context_module: "brandKit",
|
|
120
|
+
* context_page_owner_type: "brandSettings",
|
|
121
|
+
* field: "writing_sample",
|
|
122
|
+
* value: "A spare, observational tone."
|
|
123
|
+
* }
|
|
124
|
+
* ```
|
|
125
|
+
*/
|
|
126
|
+
export interface ClickedBrandKitWriting {
|
|
127
|
+
action: ActionType.clickedBrandKitWriting;
|
|
128
|
+
context_module: OsContextModule.brandKit;
|
|
129
|
+
context_page_owner_type: OsOwnerType.studio;
|
|
130
|
+
field: "writing_language" | "writing_sample";
|
|
131
|
+
value: string;
|
|
132
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClickedAddBrandKitFile, ClickedBrandKitColor, ClickedBrandKitFont, ClickedSaveBrandKit } from "./BrandKit";
|
|
1
|
+
import { ClickedAddBrandKitFile, ClickedBrandKitColor, ClickedBrandKitFont, ClickedBrandKitWriting, ClickedSaveBrandKit } from "./BrandKit";
|
|
2
2
|
import { OsClickEvent } from "./Click";
|
|
3
3
|
import { OsConnectedAppsFlow } from "./ConnectedAppsFlow";
|
|
4
4
|
import { OsFilterSortSearch } from "./FilterSortSearch";
|
|
@@ -16,7 +16,7 @@ import { OsToggleEvent } from "./Toggle";
|
|
|
16
16
|
*
|
|
17
17
|
* Each event describes one ActionType
|
|
18
18
|
*/
|
|
19
|
-
export type OsEvent = ClickedAddBrandKitFile | ClickedBrandKitColor | ClickedBrandKitFont | ClickedSaveBrandKit | OsClickEvent | OsConnectedAppsFlow | OsFilterSortSearch | OsInstagramEditor | OsInventoryTable | OsMailchimpEditor | OsMaterialsEditor | OsMultiAddFlow | OsOnboardingFlow | OsPrivateViewingRoom | OsSubmitEvent | OsToggleEvent;
|
|
19
|
+
export type OsEvent = ClickedAddBrandKitFile | ClickedBrandKitColor | ClickedBrandKitFont | ClickedBrandKitWriting | ClickedSaveBrandKit | OsClickEvent | OsConnectedAppsFlow | OsFilterSortSearch | OsInstagramEditor | OsInventoryTable | OsMailchimpEditor | OsMaterialsEditor | OsMultiAddFlow | OsOnboardingFlow | OsPrivateViewingRoom | OsSubmitEvent | OsToggleEvent;
|
|
20
20
|
/**
|
|
21
21
|
* List of all Art OS actions
|
|
22
22
|
*
|