Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: include resolution time and waiting time in team & agent report #9296

Merged
merged 4 commits into from May 3, 2024

Conversation

scmmishra
Copy link
Member

No description provided.

Copy link

linear bot commented Apr 25, 2024

@scmmishra scmmishra changed the title feat: include resolution time and waiting time in agent report feat: include resolution time and waiting time in team & agent report Apr 25, 2024
@scmmishra
Copy link
Member Author

@sojan-official need your review on this. A thing to note is that this might reverse the perf benefits we got in #8733

Comment on lines 53 to 55
avg_resolution_time: avg_resolution_time_summary,
resolutions_count: resolutions.count,
reply_time: reply_time_summary
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@scmmishra Can we run the query only on the download? These would add additional query and would fail already overloaded API.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The report for download is made using the generate_report function in report_helpers which uses the short_summary method internally. All these params are required to generate the new downloads.

One thing I can do is use the summary method for agent and teams report and rest of the reports can use the short summary. You can see the changes in this commit 134e886

Is this what you were looking for?

Copy link
Member

@pranavrajs pranavrajs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please find the comment above.

@scmmishra scmmishra temporarily deployed to chatwoot-pr-9296 April 26, 2024 16:06 Inactive
@pranavrajs pranavrajs merged commit b24626a into develop May 3, 2024
15 of 16 checks passed
@pranavrajs pranavrajs deleted the feat/update-reports-CW-3204 branch May 3, 2024 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants