diff --git a/.plasmic/plasmic/ravi_r_r/PlasmicReviewCard.tsx b/.plasmic/plasmic/ravi_r_r/PlasmicReviewCard.tsx index ca5ac718..ad87fba9 100644 --- a/.plasmic/plasmic/ravi_r_r/PlasmicReviewCard.tsx +++ b/.plasmic/plasmic/ravi_r_r/PlasmicReviewCard.tsx @@ -400,8 +400,8 @@ function PlasmicReviewCard__RenderFunc(props: { return $$.splunkEvent({ group: "feedback", data: { - doctor_id, - comment_id + doctor_id: $props.doctorId, + comment_id: $props.feedbackId }, type: "share_comment", token: "f4fd4b50-fe90-48f3-a1ab-5a5070140318" @@ -692,8 +692,8 @@ function PlasmicReviewCard__RenderFunc(props: { return $$.splunkEvent({ group: "feedback", data: { - doctor_id, - comment_id, + doctor_id: $props.doctorId, + comment_id: $props.feedbackId, edit_text: $state.edditTextBox.value }, type: "edit_comment", @@ -1000,8 +1000,8 @@ function PlasmicReviewCard__RenderFunc(props: { return $$.splunkEvent({ group: "feedback", data: { - doctor_id, - comment_id + doctor_id: $props.doctorId, + comment_id: $props.feedbackId }, type: "delete_comment", token: @@ -1828,9 +1828,8 @@ function PlasmicReviewCard__RenderFunc(props: { return $$.splunkEvent({ group: "feedback", data: { - doctor_id, - comment_id, - doc_center + comment_id: $props.feedbackId, + doc_center: $props.docCenter }, type: "like_comment", token: "f4fd4b50-fe90-48f3-a1ab-5a5070140318" @@ -2206,8 +2205,8 @@ function PlasmicReviewCard__RenderFunc(props: { return $$.splunkEvent({ group: "feedback", data: { - doctor_id, - comment_id, + doctor_id: $props.doctorId, + comment_id: $props.feedbackId, report_text: $state.reportText.value }, type: "report_comment", @@ -2421,6 +2420,35 @@ function PlasmicReviewCard__RenderFunc(props: { ) { $steps["invokeGlobalAction"] = await $steps["invokeGlobalAction"]; } + + $steps["splunk"] = true + ? (() => { + const actionArgs = { + customFunction: async () => { + return $$.splunkEvent({ + group: "feedback", + data: { + doctor_id: $props.doctorId, + comment_id: $props.feedbackId, + reply_text: $state.replyText.value + }, + type: "reply_comment", + token: "f4fd4b50-fe90-48f3-a1ab-5a5070140318" + }); + } + }; + return (({ customFunction }) => { + return customFunction(); + })?.apply(null, [actionArgs]); + })() + : undefined; + if ( + $steps["splunk"] != null && + typeof $steps["splunk"] === "object" && + typeof $steps["splunk"].then === "function" + ) { + $steps["splunk"] = await $steps["splunk"]; + } }} > {"\u0627\u0631\u0633\u0627\u0644"} diff --git a/.plasmic/plasmic/ravi_r_r/PlasmicReviewList.tsx b/.plasmic/plasmic/ravi_r_r/PlasmicReviewList.tsx index 64134089..46bc7eb1 100644 --- a/.plasmic/plasmic/ravi_r_r/PlasmicReviewList.tsx +++ b/.plasmic/plasmic/ravi_r_r/PlasmicReviewList.tsx @@ -430,8 +430,7 @@ function PlasmicReviewList__RenderFunc(props: { return $$.splunkEvent({ group: "feedback", data: { - doctor_id, - comment_id, + doctor_id: $props.information, sort: $state.sortInput.value }, type: "sort_comment", @@ -526,8 +525,7 @@ function PlasmicReviewList__RenderFunc(props: { return $$.splunkEvent({ group: "feedback", data: { - doctor_id, - comment_id, + doctor_id: $props.information, search_text: $state.searchInput.value }, type: "search_in_comment", @@ -950,6 +948,34 @@ function PlasmicReviewList__RenderFunc(props: { "runNextPageTrigger" ]; } + + $steps["splunk"] = true + ? (() => { + const actionArgs = { + customFunction: async () => { + return $$.splunkEvent({ + group: "feedback", + data: { + doctor_id: $props.information, + page: $state.page + }, + type: "show_more_button", + token: "f4fd4b50-fe90-48f3-a1ab-5a5070140318" + }); + } + }; + return (({ customFunction }) => { + return customFunction(); + })?.apply(null, [actionArgs]); + })() + : undefined; + if ( + $steps["splunk"] != null && + typeof $steps["splunk"] === "object" && + typeof $steps["splunk"].then === "function" + ) { + $steps["splunk"] = await $steps["splunk"]; + } }} outline={true} startIcon={ diff --git a/plasmic.lock b/plasmic.lock index e1db9bd9..8e9d7055 100644 --- a/plasmic.lock +++ b/plasmic.lock @@ -433,12 +433,12 @@ { "type": "renderModule", "assetId": "hjUuvN6lhrZV", - "checksum": "59cae709b715ad0e83a170925cff5e44" + "checksum": "5288f6cd80135701877fbef2144efc18" }, { "type": "cssRules", "assetId": "hjUuvN6lhrZV", - "checksum": "59cae709b715ad0e83a170925cff5e44" + "checksum": "5288f6cd80135701877fbef2144efc18" }, { "type": "renderModule", @@ -453,12 +453,12 @@ { "type": "renderModule", "assetId": "Bx6gxTOoja9k", - "checksum": "25312ea1a334e2990963918e77241a01" + "checksum": "8ec46259c9fe7b7143001845f082deb2" }, { "type": "cssRules", "assetId": "Bx6gxTOoja9k", - "checksum": "25312ea1a334e2990963918e77241a01" + "checksum": "8ec46259c9fe7b7143001845f082deb2" }, { "type": "renderModule",