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

Add validation for log update sliders #3389

Merged
merged 3 commits into from
Aug 25, 2022

Conversation

Ashesh3
Copy link
Member

@Ashesh3 Ashesh3 commented Aug 12, 2022

Fixes #2121

Adds validation to all the sliders of all sections.

image
image

@Ashesh3 Ashesh3 requested a review from a team August 12, 2022 20:04
@Ashesh3 Ashesh3 requested a review from a team as a code owner August 12, 2022 20:04
@netlify
Copy link

netlify bot commented Aug 12, 2022

Deploy Preview for care-egov-staging ready!

Name Link
🔨 Latest commit d05f5c1
🔍 Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/62ff2c992033b500091b8982
😎 Deploy Preview https://deploy-preview-3389--care-egov-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@nihal467
Copy link
Member

test approved

Copy link
Member

@khavinshankar khavinshankar left a comment

Choose a reason for hiding this comment

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

@Ashesh3 It seems we are repeating the same 2 functions in multiple files, so why don't you put them in a common file like utils.res or helpers.res and import the functions and use them?

and also instead of the names isInvalidInputInt and isInvalidInputFloat why not name it like isInputInRangeInt and isInputInRangeFloat, its upto you

@khavinshankar khavinshankar added the question Further information is requested label Aug 19, 2022
@Ashesh3
Copy link
Member Author

Ashesh3 commented Aug 19, 2022

@khavinshankar Thank you for the suggestions, I have implemented them.

@Ashesh3 Ashesh3 removed the question Further information is requested label Aug 19, 2022
@sonarcloud
Copy link

sonarcloud bot commented Aug 19, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.5% 0.5% Duplication

@khavinshankar khavinshankar merged commit 40ac16b into coronasafe:develop Aug 25, 2022
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.

No validation for invalid user input
5 participants