-
Notifications
You must be signed in to change notification settings - Fork 903
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: Move Response Summary Server-side #2160
feat: Move Response Summary Server-side #2160
Conversation
@gupta-piyush19 is attempting to deploy a commit to the formbricks Team on Vercel. A member of the Team first needs to authorize it. |
Thank you for following the naming conventions for pull request titles! 🙏 |
…piyush/for-1911-concept-move-response-summary-server-side
…piyush/for-1911-concept-move-response-summary-server-side
…piyush/for-1911-concept-move-response-summary-server-side
packages/lib/response/service.ts
Outdated
|
||
return { meta, dropoff, summary: questionWiseSummary }; | ||
}, | ||
[`getSurveyMeta-${surveyId}-${JSON.stringify(filterCriteria)}`], |
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.
please rename getSurveyMeta
-> getSurveySummary
(name of the function)
packages/lib/storage/utils.ts
Outdated
@@ -1,5 +1,7 @@ | |||
export const getOriginalFileNameFromUrl = (fileURL: string) => { | |||
try { | |||
if (!fileURL) return ""; |
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.
when does this happen? might it be better to throw an error here to signal that something went wrong?
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.
I had a few responses with empty filenames, seems like some polluted data. I am unable to reproduce the issue for which I added this check. removing it for now.
…piyush/for-1911-concept-move-response-summary-server-side
…de' of github.com:gupta-piyush19/formbricks into piyush/for-1911-concept-move-response-summary-server-side
What does this PR do?
Move Response Summary Server-side
fixes: https://linear.app/formbricks/issue/FOR-1911/[concept]-move-response-summary-server-side
How should this be tested?
Checklist
Required
pnpm build
console.logs
git pull origin main
Appreciated