@artsy/cohesion 4.321.0 → 4.323.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 +24 -0
- package/dist/Schema/CMS/Events/BulkEditFlow.d.ts +1 -1
- package/dist/Schema/CMS/Events/CompletenessScoreFlow.d.ts +55 -0
- package/dist/Schema/CMS/Events/CompletenessScoreFlow.js +1 -0
- package/dist/Schema/CMS/Events/index.d.ts +6 -1
- package/dist/Schema/CMS/Events/index.js +1 -0
- package/dist/Schema/CMS/Values/CmsContextModule.d.ts +1 -0
- package/dist/Schema/CMS/Values/CmsContextModule.js +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# v4.323.0 (Thu Nov 13 2025)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- fix: Adjust Completeness score click label [#658](https://github.com/artsy/cohesion/pull/658) ([@olerichter00](https://github.com/olerichter00))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Ole ([@olerichter00](https://github.com/olerichter00))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v4.322.0 (Thu Nov 13 2025)
|
|
14
|
+
|
|
15
|
+
#### 🚀 Enhancement
|
|
16
|
+
|
|
17
|
+
- chore: Add Completeness Score events [#657](https://github.com/artsy/cohesion/pull/657) ([@olerichter00](https://github.com/olerichter00))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- Ole ([@olerichter00](https://github.com/olerichter00))
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
1
25
|
# v4.321.0 (Mon Nov 10 2025)
|
|
2
26
|
|
|
3
27
|
#### 🚀 Enhancement
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Schemas describing CMS BulkEditFlow events
|
|
3
3
|
* @packageDocumentation
|
|
4
4
|
*/
|
|
5
|
-
import { CmsActionType } from ".";
|
|
6
5
|
import { CmsContextModule } from "../Values/CmsContextModule";
|
|
6
|
+
import { CmsActionType } from ".";
|
|
7
7
|
/**
|
|
8
8
|
* Generic click event in the bulk edit flow.
|
|
9
9
|
*
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Schemas describing CMS CompletenessScore events
|
|
3
|
+
* @packageDocumentation
|
|
4
|
+
*/
|
|
5
|
+
import { CmsContextModule } from "../Values/CmsContextModule";
|
|
6
|
+
import { CmsActionType } from ".";
|
|
7
|
+
/**
|
|
8
|
+
* Generic click event in the completeness score flow.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* {
|
|
12
|
+
* action: "click",
|
|
13
|
+
* context_module: "Artworks - completeness score",
|
|
14
|
+
* label: "completeness checklist link",
|
|
15
|
+
* artwork_ids: ["artwork1", "artwork2", "artwork3"]
|
|
16
|
+
* }
|
|
17
|
+
*/
|
|
18
|
+
export type CmsCompletenessScoreClickLabel = "completeness checklist link" | "edit artwork";
|
|
19
|
+
export interface CmsCompletenessScoreClickedEvent {
|
|
20
|
+
action: "click";
|
|
21
|
+
context_module: CmsContextModule.completenessScore;
|
|
22
|
+
label: CmsCompletenessScoreClickLabel;
|
|
23
|
+
value?: string | number;
|
|
24
|
+
artwork_ids?: string[];
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Completeness score modal has been shown to a partner.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```
|
|
31
|
+
* {
|
|
32
|
+
* action: "shownCompletenessScoreModal",
|
|
33
|
+
* context_module: "Artworks - completeness score",
|
|
34
|
+
* artwork_id: "artwork123",
|
|
35
|
+
* completeness_score: 75,
|
|
36
|
+
* completeness_tier: "good",
|
|
37
|
+
* checklist: [
|
|
38
|
+
* { completed: true, key: "title" },
|
|
39
|
+
* { completed: false, key: "description" }
|
|
40
|
+
* ]
|
|
41
|
+
* }
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
export interface CmsCompletenessScoreModalShown {
|
|
45
|
+
action: CmsActionType.shownCompletenessScoreModal;
|
|
46
|
+
context_module: CmsContextModule.completenessScore;
|
|
47
|
+
artwork_id: string;
|
|
48
|
+
completeness_score: number;
|
|
49
|
+
completeness_tier: string;
|
|
50
|
+
checklist: Array<{
|
|
51
|
+
completed: boolean;
|
|
52
|
+
key: string;
|
|
53
|
+
}>;
|
|
54
|
+
}
|
|
55
|
+
export type CmsCompletenessScoreFlow = CmsCompletenessScoreClickedEvent | CmsCompletenessScoreModalShown;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -2,6 +2,7 @@ import { CmsAnalyticsPage } from "./AnalyticsPage";
|
|
|
2
2
|
import { CmsArtworkFilter } from "./ArtworkFilter";
|
|
3
3
|
import { CmsBatchImportFlow } from "./BatchImportFlow";
|
|
4
4
|
import { CmsBulkEditFlow } from "./BulkEditFlow";
|
|
5
|
+
import { CmsCompletenessScoreFlow } from "./CompletenessScoreFlow";
|
|
5
6
|
import { CmsQuickReplyFlow } from "./QuickReplyFlow";
|
|
6
7
|
import { CmsSettingsFlow } from "./SettingsFlow";
|
|
7
8
|
import { CmsShowFlow } from "./ShowFlow";
|
|
@@ -11,7 +12,7 @@ import { CmsUploadArtworkFlow } from "./UploadArtworkFlow";
|
|
|
11
12
|
*
|
|
12
13
|
* Each event describes one ActionType
|
|
13
14
|
*/
|
|
14
|
-
export type CmsEvent = CmsAnalyticsPage | CmsArtworkFilter | CmsBulkEditFlow | CmsBatchImportFlow | CmsUploadArtworkFlow | CmsQuickReplyFlow | CmsSettingsFlow | CmsShowFlow;
|
|
15
|
+
export type CmsEvent = CmsAnalyticsPage | CmsArtworkFilter | CmsBulkEditFlow | CmsBatchImportFlow | CmsCompletenessScoreFlow | CmsUploadArtworkFlow | CmsQuickReplyFlow | CmsSettingsFlow | CmsShowFlow;
|
|
15
16
|
/**
|
|
16
17
|
* List of all CMS actions
|
|
17
18
|
*
|
|
@@ -102,6 +103,10 @@ export declare enum CmsActionType {
|
|
|
102
103
|
* Corresponds to {@link BatchImportFlow}
|
|
103
104
|
*/
|
|
104
105
|
shownMissingInformation = "shownMissingInformation",
|
|
106
|
+
/**
|
|
107
|
+
* Corresponds to {@link CmsCompletenessScoreFlow}
|
|
108
|
+
*/
|
|
109
|
+
shownCompletenessScoreModal = "shownCompletenessScoreModal",
|
|
105
110
|
/**
|
|
106
111
|
* Corresponds to {@link CmsAnalytics}
|
|
107
112
|
*/
|
|
@@ -41,6 +41,7 @@ exports.CmsActionType = CmsActionType;
|
|
|
41
41
|
CmsActionType["shownMaxEditLimitReached"] = "shownMaxEditLimitReached";
|
|
42
42
|
CmsActionType["shownResolvedAllConflicts"] = "shownResolvedAllConflicts";
|
|
43
43
|
CmsActionType["shownMissingInformation"] = "shownMissingInformation";
|
|
44
|
+
CmsActionType["shownCompletenessScoreModal"] = "shownCompletenessScoreModal";
|
|
44
45
|
CmsActionType["viewedGraph"] = "viewedGraph";
|
|
45
46
|
CmsActionType["viewedGraphDatapoint"] = "viewedGraphDatapoint";
|
|
46
47
|
CmsActionType["viewedTooltip"] = "viewedTooltip";
|
|
@@ -17,6 +17,7 @@ export declare enum CmsContextModule {
|
|
|
17
17
|
artworkFilterQuickEdit = "Artworks - quick edit",
|
|
18
18
|
batchImportFlow = "batchImportFlow",
|
|
19
19
|
bulkEditFlow = "Artworks - bulk edit",
|
|
20
|
+
completenessScore = "Artworks - completeness score",
|
|
20
21
|
conversations = "conversations",
|
|
21
22
|
uploads = "Uploads",
|
|
22
23
|
settings = "Settings",
|
|
@@ -27,6 +27,7 @@ exports.CmsContextModule = CmsContextModule;
|
|
|
27
27
|
CmsContextModule["artworkFilterQuickEdit"] = "Artworks - quick edit";
|
|
28
28
|
CmsContextModule["batchImportFlow"] = "batchImportFlow";
|
|
29
29
|
CmsContextModule["bulkEditFlow"] = "Artworks - bulk edit";
|
|
30
|
+
CmsContextModule["completenessScore"] = "Artworks - completeness score";
|
|
30
31
|
CmsContextModule["conversations"] = "conversations";
|
|
31
32
|
CmsContextModule["uploads"] = "Uploads";
|
|
32
33
|
CmsContextModule["settings"] = "Settings";
|