cms icon indicating copy to clipboard operation
cms copied to clipboard

feat: Implemented form for reporting issues encountered while accessing the course

Open ToseebNadaf opened this issue 1 year ago • 2 comments

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 sendMail function 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

ToseebNadaf avatar Jan 14 '25 22:01 ToseebNadaf

@devsargam and @hkirat please look into this and suggest me any changes if needed

ToseebNadaf avatar Jan 15 '25 04:01 ToseebNadaf

I will check with the team if this feature is needed or not and will update

devsargam avatar Jan 15 '25 10:01 devsargam