cms
cms copied to clipboard
feat: Implemented form for reporting issues encountered while accessing the course
PR Fixes:
- This PR updates the contact form in the application to allow users to report issues.
- The email sent now includes the user's name, email, and their issue description.
- Updated the backend endpoint to handle issue reporting.
- Enhanced the
sendMailfunction to include full user details. - Added error handling for missing fields in the form.
Note: --- Just create app password from manage google and add it to the env file
Resolves #1711
Checklist before requesting a review
- [✅] I have performed a self-review of my code
- [✅] I assure there is no similar/duplicate pull request regarding same issue
Before:
https://github.com/user-attachments/assets/ade26763-29e7-4074-bd74-c5b8896b3a8e
After:
https://github.com/user-attachments/assets/ab33169b-2134-44ca-8f55-fd76f42a4cbe
@devsargam and @hkirat please look into this and suggest me any changes if needed
I will check with the team if this feature is needed or not and will update