-
Notifications
You must be signed in to change notification settings - Fork 8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add reassign reason + rename insights #17720
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -238,6 +238,7 @@ class RoutingEventsInsights { | |
uid: true, | ||
status: true, | ||
createdAt: true, | ||
reassignReason: true, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add reassign reason to table |
||
attendees: { | ||
select: { | ||
timeZone: true, | ||
|
@@ -571,6 +572,12 @@ class RoutingEventsInsights { | |
createdAt: true, | ||
startTime: true, | ||
endTime: true, | ||
reassignBy: { | ||
select: { | ||
name: true, | ||
}, | ||
}, | ||
reassignReason: true, | ||
attendees: { | ||
select: { | ||
email: true, | ||
|
@@ -614,6 +621,8 @@ class RoutingEventsInsights { | |
"Attendee Timezone": response.routedToBooking?.attendees[0]?.timeZone || "", | ||
"Routed To Name": response.routedToBooking?.user?.name || "", | ||
"Routed To Email": response.routedToBooking?.user?.email || "", | ||
"Reassigned By": response.routedToBooking?.reassignBy?.name || "", | ||
"Reassigned Reason": response.routedToBooking?.reassignReason || "", | ||
Comment on lines
+624
to
+625
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Provide Reassign reason and who reassigned in routing form export |
||
}; | ||
|
||
// Add form fields as columns with their labels | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,14 +89,14 @@ const navigation: NavigationItemType[] = [ | |
isCurrent: ({ pathname: path, item }) => path?.startsWith(item.href) ?? false, | ||
child: [ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Rename tabs - see PR description for reasoning. |
||
{ | ||
name: "bookings", | ||
name: "summary", | ||
href: "/insights", | ||
isCurrent: ({ pathname: path }) => path == "/insights" ?? false, | ||
}, | ||
{ | ||
name: "routing", | ||
href: "/insights/routing", | ||
isCurrent: ({ pathname: path }) => path?.startsWith("/insights/routing") ?? false, | ||
name: "bookings", | ||
href: "/insights/bookings", | ||
isCurrent: ({ pathname: path }) => path?.startsWith("/insights/bookings") ?? false, | ||
}, | ||
], | ||
}, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved to /bookings > /routing