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: reworked grading deadline #584

Conversation

ruzniaievdm
Copy link
Contributor

Description:

Аdditional bug fixes on the Grading Page

  • fixed letters on the grading scale
  • fixed deadline section
  • transferred react-ranger lib

@openedx-webhooks
Copy link

Thanks for the pull request, @ruzniaievdm! 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.

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

codecov bot commented Sep 4, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.07% 🎉

Comparison is base (fdc5916) 84.63% compared to head (597c636) 84.71%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #584      +/-   ##
==========================================
+ Coverage   84.63%   84.71%   +0.07%     
==========================================
  Files         308      309       +1     
  Lines        5017     5043      +26     
  Branches     1103     1109       +6     
==========================================
+ Hits         4246     4272      +26     
  Misses        747      747              
  Partials       24       24              
Files Changed Coverage Δ
...rc/grading-settings/assignment-section/messages.js 100.00% <ø> (ø)
.../grading-settings/assignment-section/utils/enum.js 100.00% <ø> (ø)
src/grading-settings/deadline-section/messages.js 100.00% <ø> (ø)
src/grading-settings/grading-scale/messages.js 100.00% <ø> (ø)
src/constants.js 100.00% <100.00%> (ø)
src/grading-settings/data/api.js 83.33% <100.00%> (ø)
src/grading-settings/deadline-section/index.jsx 100.00% <100.00%> (ø)
src/grading-settings/deadline-section/utils.js 100.00% <100.00%> (ø)
...rc/grading-settings/grading-scale/GradingScale.jsx 75.53% <100.00%> (+0.26%) ⬆️
src/grading-settings/grading-scale/utils.js 100.00% <100.00%> (ø)
... and 1 more

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

@ruzniaievdm ruzniaievdm force-pushed the ruzniaievdm/fix/reworked-grading-deadline branch from 943a2aa to 7874c72 Compare September 4, 2023 14:35
@mphilbrick211
Copy link

Hi @ruzniaievdm! Is this ready for review?

Comment on lines 19 to 27
export function timerValidation(inputStr, setShowSavePrompt, setIsError) {
const timePattern = /^\d{2,3}:\d{2}$/;

const isValid = timePattern.test(inputStr);
setShowSavePrompt(isValid);
setIsError(!isValid);

return isValid;
}
Copy link
Member

Choose a reason for hiding this comment

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

I am able to enter times that are not valid such as 12:65 and 32:45. Please add in checks for valid times based on 24-hour time (00:00 - 23:59).

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks, Kristin
Added required validation

@PKulkoRaccoonGang PKulkoRaccoonGang force-pushed the ruzniaievdm/fix/reworked-grading-deadline branch from 6bd743f to c4d018c Compare September 7, 2023 10:21
@KristinAoki KristinAoki merged commit b03ecf1 into openedx:master Sep 7, 2023
@openedx-webhooks
Copy link

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

snglth pushed a commit to Abstract-Tech/community-theme-course-authoring that referenced this pull request Jan 9, 2024
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.

5 participants