@atlaskit/rovo-agent-analytics 0.14.0 → 0.15.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 +7 -0
- package/dist/cjs/create/index.js +6 -0
- package/dist/es2019/create/index.js +6 -0
- package/dist/esm/create/index.js +6 -0
- package/dist/types/actions/index.d.ts +4 -1
- package/dist/types/create/index.d.ts +4 -1
- package/dist/types-ts4.5/actions/index.d.ts +4 -1
- package/dist/types-ts4.5/create/index.d.ts +4 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/rovo-agent-analytics
|
|
2
2
|
|
|
3
|
+
## 0.15.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`d4d7d91e006ac`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d4d7d91e006ac) -
|
|
8
|
+
Update no skills modal analytics to use rovo agents analytics lib
|
|
9
|
+
|
|
3
10
|
## 0.14.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
package/dist/cjs/create/index.js
CHANGED
|
@@ -31,6 +31,12 @@ var AgentCreateActions = exports.AgentCreateActions = /*#__PURE__*/function (Age
|
|
|
31
31
|
AgentCreateActions["LAND"] = "createLandInStudio";
|
|
32
32
|
/* Discard agent - https://data-portal.internal.atlassian.com/analytics/registry/97137 */
|
|
33
33
|
AgentCreateActions["DISCARD"] = "createDiscard";
|
|
34
|
+
/* Show no skills modal - https://data-portal.internal.atlassian.com/analytics/registry/97435 */
|
|
35
|
+
AgentCreateActions["SHOW_NO_SKILLS_MODAL"] = "showNoSkillsModal";
|
|
36
|
+
/* Browse click no skills modal - https://data-portal.internal.atlassian.com/analytics/registry/97436 */
|
|
37
|
+
AgentCreateActions["BROWSE_CLICK_NO_SKILLS_MODAL"] = "browseClickNoSkillsModal";
|
|
38
|
+
/* Discard no skills modal - https://data-portal.internal.atlassian.com/analytics/registry/97437 */
|
|
39
|
+
AgentCreateActions["DISCARD_NO_SKILLS_MODAL"] = "discardNoSkillsModal";
|
|
34
40
|
return AgentCreateActions;
|
|
35
41
|
}({});
|
|
36
42
|
var globalEventConfig = (0, _utils.getDefaultTrackEventConfig)();
|
|
@@ -20,6 +20,12 @@ export let AgentCreateActions = /*#__PURE__*/function (AgentCreateActions) {
|
|
|
20
20
|
AgentCreateActions["LAND"] = "createLandInStudio";
|
|
21
21
|
/* Discard agent - https://data-portal.internal.atlassian.com/analytics/registry/97137 */
|
|
22
22
|
AgentCreateActions["DISCARD"] = "createDiscard";
|
|
23
|
+
/* Show no skills modal - https://data-portal.internal.atlassian.com/analytics/registry/97435 */
|
|
24
|
+
AgentCreateActions["SHOW_NO_SKILLS_MODAL"] = "showNoSkillsModal";
|
|
25
|
+
/* Browse click no skills modal - https://data-portal.internal.atlassian.com/analytics/registry/97436 */
|
|
26
|
+
AgentCreateActions["BROWSE_CLICK_NO_SKILLS_MODAL"] = "browseClickNoSkillsModal";
|
|
27
|
+
/* Discard no skills modal - https://data-portal.internal.atlassian.com/analytics/registry/97437 */
|
|
28
|
+
AgentCreateActions["DISCARD_NO_SKILLS_MODAL"] = "discardNoSkillsModal";
|
|
23
29
|
return AgentCreateActions;
|
|
24
30
|
}({});
|
|
25
31
|
const globalEventConfig = getDefaultTrackEventConfig();
|
package/dist/esm/create/index.js
CHANGED
|
@@ -24,6 +24,12 @@ export var AgentCreateActions = /*#__PURE__*/function (AgentCreateActions) {
|
|
|
24
24
|
AgentCreateActions["LAND"] = "createLandInStudio";
|
|
25
25
|
/* Discard agent - https://data-portal.internal.atlassian.com/analytics/registry/97137 */
|
|
26
26
|
AgentCreateActions["DISCARD"] = "createDiscard";
|
|
27
|
+
/* Show no skills modal - https://data-portal.internal.atlassian.com/analytics/registry/97435 */
|
|
28
|
+
AgentCreateActions["SHOW_NO_SKILLS_MODAL"] = "showNoSkillsModal";
|
|
29
|
+
/* Browse click no skills modal - https://data-portal.internal.atlassian.com/analytics/registry/97436 */
|
|
30
|
+
AgentCreateActions["BROWSE_CLICK_NO_SKILLS_MODAL"] = "browseClickNoSkillsModal";
|
|
31
|
+
/* Discard no skills modal - https://data-portal.internal.atlassian.com/analytics/registry/97437 */
|
|
32
|
+
AgentCreateActions["DISCARD_NO_SKILLS_MODAL"] = "discardNoSkillsModal";
|
|
27
33
|
return AgentCreateActions;
|
|
28
34
|
}({});
|
|
29
35
|
var globalEventConfig = getDefaultTrackEventConfig();
|
|
@@ -38,7 +38,10 @@ type ActionAttributes = {
|
|
|
38
38
|
[AgentCommonActions.UNVERIFY]: CommonAnalyticsAttributes;
|
|
39
39
|
[AgentDebugActions.COPY_ALL]: EmptyAttributes;
|
|
40
40
|
[AgentDebugActions.COPY]: EmptyAttributes;
|
|
41
|
-
[AgentDebugActions.TOGGLE_SKILL_INFO]:
|
|
41
|
+
[AgentDebugActions.TOGGLE_SKILL_INFO]: {
|
|
42
|
+
toolId: string;
|
|
43
|
+
isExpanded: boolean;
|
|
44
|
+
};
|
|
42
45
|
[AgentDebugActions.VIEW]: EmptyAttributes;
|
|
43
46
|
};
|
|
44
47
|
export declare const useRovoAgentActionAnalytics: <T extends {}>(commonAttributes: T) => {
|
|
@@ -9,7 +9,10 @@ export declare enum AgentCreateActions {
|
|
|
9
9
|
RESTART = "createFlowRestart",
|
|
10
10
|
ERROR = "createFlowError",
|
|
11
11
|
LAND = "createLandInStudio",
|
|
12
|
-
DISCARD = "createDiscard"
|
|
12
|
+
DISCARD = "createDiscard",
|
|
13
|
+
SHOW_NO_SKILLS_MODAL = "showNoSkillsModal",
|
|
14
|
+
BROWSE_CLICK_NO_SKILLS_MODAL = "browseClickNoSkillsModal",
|
|
15
|
+
DISCARD_NO_SKILLS_MODAL = "discardNoSkillsModal"
|
|
13
16
|
}
|
|
14
17
|
export declare const useRovoAgentCreateAnalytics: (commonAttributes: CommonAnalyticsAttributes) => readonly [string | null, {
|
|
15
18
|
readonly trackCreateSession: (action: Omit<AgentCreateActions, AgentCreateActions.START>, attributes?: CommonAnalyticsAttributes) => void;
|
|
@@ -38,7 +38,10 @@ type ActionAttributes = {
|
|
|
38
38
|
[AgentCommonActions.UNVERIFY]: CommonAnalyticsAttributes;
|
|
39
39
|
[AgentDebugActions.COPY_ALL]: EmptyAttributes;
|
|
40
40
|
[AgentDebugActions.COPY]: EmptyAttributes;
|
|
41
|
-
[AgentDebugActions.TOGGLE_SKILL_INFO]:
|
|
41
|
+
[AgentDebugActions.TOGGLE_SKILL_INFO]: {
|
|
42
|
+
toolId: string;
|
|
43
|
+
isExpanded: boolean;
|
|
44
|
+
};
|
|
42
45
|
[AgentDebugActions.VIEW]: EmptyAttributes;
|
|
43
46
|
};
|
|
44
47
|
export declare const useRovoAgentActionAnalytics: <T extends {}>(commonAttributes: T) => {
|
|
@@ -9,7 +9,10 @@ export declare enum AgentCreateActions {
|
|
|
9
9
|
RESTART = "createFlowRestart",
|
|
10
10
|
ERROR = "createFlowError",
|
|
11
11
|
LAND = "createLandInStudio",
|
|
12
|
-
DISCARD = "createDiscard"
|
|
12
|
+
DISCARD = "createDiscard",
|
|
13
|
+
SHOW_NO_SKILLS_MODAL = "showNoSkillsModal",
|
|
14
|
+
BROWSE_CLICK_NO_SKILLS_MODAL = "browseClickNoSkillsModal",
|
|
15
|
+
DISCARD_NO_SKILLS_MODAL = "discardNoSkillsModal"
|
|
13
16
|
}
|
|
14
17
|
export declare const useRovoAgentCreateAnalytics: (commonAttributes: CommonAnalyticsAttributes) => readonly [
|
|
15
18
|
string | null,
|