-
Notifications
You must be signed in to change notification settings - Fork 78
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: remove passThroughFeedback #1298
Conversation
Hey @jia1 , I think there should be a corresponding frontend change first to migrate off the backend API? |
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.
Don't think we can just mock all calls to feedback endpoint, since FormFeedback.postFeedback
is still needed for legitimate, non-preview feedbacks
src/public/modules/forms/base/components/feedback-form.client.component.js
Outdated
Show resolved
Hide resolved
Thank you Yuan Ruo and Kar Rui for your feedback. |
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.
lgtm, but this change is not backwards compatible meaning old clients who preview feedback submission will see a failure instead.
For statistics, we get ~10 of such passthrough requests everyday. I'd reckon we can do this in a backwards incompatible way and just merge this PR in, instead of keeping the old endpoint in for a couple weeks.
Thoughts @liangyuanruo?
Problem
Closes #786