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: await async saveSetting func to remove unwanted err msg #610

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

navinkarkera
Copy link
Contributor

Without this change, an error msg is displayed till the request runs, i.e. it is not waiting for the request to complete.

image

This issue was discovered while testing/reviewing openedx/frontend-app-learning#1194

@openedx-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label Sep 25, 2023
@openedx-webhooks
Copy link

Thanks for the pull request, @navinkarkera! Please note that it may take us up to several weeks or months to complete a review and merge your PR.

Feel free to add as much of the following information to the ticket as you can:

  • supporting documentation
  • Open edX discussion forum threads
  • timeline information ("this must be merged by XX date", and why that is)
  • partner information ("this is a course on edx.org")
  • any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.

Please let us know once your PR is ready for our review and all tests are green.

@codecov
Copy link

codecov bot commented Sep 25, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (c47c800) 86.45% compared to head (bcef4e1) 86.45%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #610   +/-   ##
=======================================
  Coverage   86.45%   86.45%           
=======================================
  Files         372      372           
  Lines        5580     5580           
  Branches     1235     1235           
=======================================
  Hits         4824     4824           
  Misses        732      732           
  Partials       24       24           
Files Changed Coverage Δ
src/pages-and-resources/progress/Settings.jsx 0.00% <0.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@navinkarkera
Copy link
Contributor Author

@brian-smith-tcril Could you please help us in reviewing and merging this?

Copy link
Contributor

@brian-smith-tcril brian-smith-tcril left a comment

Choose a reason for hiding this comment

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

@brian-smith-tcril
Copy link
Contributor

I'm going to merge this despite the CodeCov patch coverage showing 0%. The overall change the the project is 0%, this fix is just touching code that didn't have coverage before. I believe it makes more sense to get this fix merged now than to wait until we add test coverage to a couple lines of code that were never covered before.

@brian-smith-tcril brian-smith-tcril merged commit 6585992 into openedx:master Oct 11, 2023
4 of 5 checks passed
@openedx-webhooks
Copy link

@navinkarkera 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future.

@bradenmacdonald bradenmacdonald deleted the navin/fix-unwanted-msg branch July 12, 2024 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
open-source-contribution PR author is not from Axim or 2U
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants