Skip to content

Commit

Permalink
re-fix2
Browse files Browse the repository at this point in the history
This is an automated commit generated by anahita mansoori
using Plasmic (https://plasmic.app/).

Project name: ravi (r&r)
Project URL: https://studio.plasmic.app/projects/qQzsBf58SqzNJX45iggq96
  • Loading branch information
plasmicops committed Apr 8, 2024
1 parent 2e36100 commit f553ad7
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 19 deletions.
50 changes: 39 additions & 11 deletions .plasmic/plasmic/ravi_r_r/PlasmicReviewCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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"}
Expand Down
34 changes: 30 additions & 4 deletions .plasmic/plasmic/ravi_r_r/PlasmicReviewList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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={
Expand Down
8 changes: 4 additions & 4 deletions plasmic.lock
Original file line number Diff line number Diff line change
Expand Up @@ -433,12 +433,12 @@
{
"type": "renderModule",
"assetId": "hjUuvN6lhrZV",
"checksum": "59cae709b715ad0e83a170925cff5e44"
"checksum": "5288f6cd80135701877fbef2144efc18"
},
{
"type": "cssRules",
"assetId": "hjUuvN6lhrZV",
"checksum": "59cae709b715ad0e83a170925cff5e44"
"checksum": "5288f6cd80135701877fbef2144efc18"
},
{
"type": "renderModule",
Expand All @@ -453,12 +453,12 @@
{
"type": "renderModule",
"assetId": "Bx6gxTOoja9k",
"checksum": "25312ea1a334e2990963918e77241a01"
"checksum": "8ec46259c9fe7b7143001845f082deb2"
},
{
"type": "cssRules",
"assetId": "Bx6gxTOoja9k",
"checksum": "25312ea1a334e2990963918e77241a01"
"checksum": "8ec46259c9fe7b7143001845f082deb2"
},
{
"type": "renderModule",
Expand Down

0 comments on commit f553ad7

Please sign in to comment.