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

Refactored code in public/src/admin/settings.js #557

Open
wants to merge 3 commits into
base: f24
Choose a base branch
from

Conversation

kmehta5
Copy link

@kmehta5 kmehta5 commented Sep 5, 2024

Refactored handleUploads function in public/src/admin/settings.js by unnesting functions and writing them as separate functions. resolves #541. The functions that resulted from this were : handleClick, getUploaderOption, updateTargetValue.

My coverall is failing by .005% because of a decrease in coverage in the src/meta/errors.js file. This is not a file I addressed at all in my refactoring and it is not related to my refactored code. TAs on Thursday let me know that this was ok as long as I acknowledged and explained it.

Copy link

sonarcloud bot commented Sep 5, 2024

@coveralls
Copy link

Pull Request Test Coverage Report for Build 10727405075

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.005%) to 82.666%

Files with Coverage Reduction New Missed Lines %
src/meta/errors.js 1 76.74%
Totals Coverage Status
Change from base Build 10607818019: -0.005%
Covered Lines: 22322
Relevant Lines: 25582

💛 - Coveralls

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.

Refactoring code in public/src/admin/settings.js
2 participants