Feature/contact us#16
Merged
Merged
Conversation
nadunr
approved these changes
Aug 14, 2020
pnzrkmpfwgn
approved these changes
Aug 22, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Features committed
Contact Us Component
Contact Us component will display a form which will let the user to enter their email and feedback . And on submit the feedback is send as a mail to help.a.paw@outlook.com .
Also added form validations , which includes the check for invalid email , empty feedback which when entered then user will get an error either on focusing on the next element or on submit.
On Submit , an axios call is made to backendless server's email template API end point which uses a pre-defined email template and sends a mail to help.a.paw@outlook.com.
Added unit tests for the same components using React testing library.
Added Airbnb ESlint , which will ensure that the code which gets committed is easy to read and maintain for anyone who has to work on this project at any point
Resolves
#7