Skip to content
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

Implement Minimum Character Limit for Feedback Input #91

Merged
merged 4 commits into from
Oct 5, 2024

Conversation

AdityaP700
Copy link
Contributor

@AdityaP700 AdityaP700 commented Oct 5, 2024

Description

This pull request introduces a minimum character length requirement for the feedback input in the support form. The goal of this change is to mitigate spam submissions and ensure that users provide meaningful responses when submitting feedback.

Changes Made:

  • Updated the feedback input field to include a minimum character limit of 5 characters.
  • Modified the handling logic to prevent form submission if the character limit is not met, providing immediate feedback to the user.
  • Context: Prior to this change, users were able to submit feedback with little to no content, which increased the likelihood of spam submissions.
  • By implementing a minimum character limit, we aim to enhance the quality of feedback collected, making it more useful for further analysis and support.

Testing

  • Verified that the form does not allow submission if the message is shorter than 5 characters.

  • Confirmed that valid messages (5 characters or more) can be successfully submitted.

Related Issue

Link to the issue this PR addresses (if applicable):

Type of Change

  • Bug fix
  • New feature

Checklist

  • I have read the contributing guidelines.
  • I have followed the code style of this project.
  • My code implements the changes requested in the issue.
  • This PR is ready for review.

Additional Notes

Screenshot 2024-10-05 134749

Screenshot 2024-10-05 134828
Screenshot 2024-10-05 134845

Copy link

vercel bot commented Oct 5, 2024

@AdityaP700 is attempting to deploy a commit to the Akshay Patel's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Thank you for your contribution! Your pull request has been submitted successfully. A maintainer will review it as soon as possible. We appreciate your support in making this project better

@VesperAkshay
Copy link
Owner

@AdityaP700 There is some conflict with the code

@AdityaP700
Copy link
Contributor Author

Hello @VesperAkshay ,I have resolved the conflicts ,kindly review it . Thanks in anticipation

Copy link

vercel bot commented Oct 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
qr-code-generator ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 5, 2024 9:13am

@VesperAkshay VesperAkshay merged commit e41fb89 into VesperAkshay:main Oct 5, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Min Character Requirement for Feedback Submission
2 participants