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

fix: Updated feedback.js to accept only non-zero ratings #1

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

NidhiTornekar
Copy link
Owner

Added additional functionality to accept only non-zero ratings in the "Rate our Service" page.

Title and Issue number

Title : Accepts zero star ratings

Issue No. : 745

Code Stack : Javascript

Close apu52#745

Description

Added additional functionality to accept only non-zero ratings in the "Rate our Service" page.
Also, made sure that after successful submission, the ratings and feedback are set back to default settings(that is zero stars and empty feedback)

Video/Screenshots (mandatory)

ss7

Type of PR

  • Bug fix
  • Feature enhancement
  • Documentation update
  • Other (specify): _______________

Checklist:

  • I have performed a self-review of my code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have tested the changes thoroughly before submitting this pull request.
  • I have provided relevant issue numbers, screenshots, and videos after making the changes.
  • I have gone through the contributing.md file before contributing

Additional context:

##Are you contributing under any Open-source programme?

Contributing under GSSOC 2024.
Please assign corresponding level tag also.

Added additional functionality to accept only non-zero ratings in the "Rate our Service" page.
@NidhiTornekar NidhiTornekar merged commit fe9101d into main Jun 7, 2024
@NidhiTornekar NidhiTornekar changed the title Updated feedback.js to accept only non-zero ratings fix: Updated feedback.js to accept only non-zero ratings Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Accepts zero star ratings
1 participant