-
Notifications
You must be signed in to change notification settings - Fork 196
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: no rubric validation added #2092
fix: no rubric validation added #2092
Conversation
Thanks for the pull request, @Inferato! 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:
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 ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2092 +/- ##
=======================================
Coverage 95.02% 95.02%
=======================================
Files 191 191
Lines 20520 20529 +9
Branches 1856 1857 +1
=======================================
+ Hits 19499 19508 +9
Misses 766 766
Partials 255 255
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@Inferato Thank you for your contribution! Please let us know when it is ready for review. |
5b36251
to
6e8d66d
Compare
6e8d66d
to
3aceed3
Compare
@itsjeyd Now it's ready for review. |
@Inferato OK great! @mattcarter This is ready for engineering review by Aurora. |
@mattcarter Friendly ping about scheduling a review for this PR. CC @openedx/2u-aurora |
@pomegranited Perhaps you could have a look at this PR, too? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Inferato , thank you for submitting this change! It works as described.
I've tested it and it works great, but have left a note about the translation changes. Once you address these issues, I'll approve and get this merged.
- I tested this on my devstack:
- Had to enable the
course_live.enable_course_live
waffle flag
(Unrelated to this change, editing ORA components in Studio threw missing template errors without this flag?) - Added a new ORA2 component to my test course
- Removed all "prompts" from the component and saved.
Noted new error: "You must provide at least one prompt."
(ora2 master raises an IndexError in the backend, but shows the user no details.)
- Had to enable the
- I read through the code
- I checked for accessibility issues by using my keyboard only during testing
-
Includes documentationN/A - User-facing strings are extracted for translation
@@ -8,7 +8,7 @@ msgid "" | |||
msgstr "" | |||
"Project-Id-Version: edx-ora2\n" | |||
"Report-Msgid-Bugs-To: \n" | |||
"POT-Creation-Date: 2023-10-25 14:38+0000\n" | |||
"POT-Creation-Date: 2023-11-16 19:47+0200\n" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Inferato I notice that most of the changes made to these translation files are just changes to the line length? I'm not sure why that happened.. maybe you have an older version of gettext
?
I'm running:
$ gettext --version
gettext (GNU gettext-runtime) 0.19.8.1
Copyright (C) 1995-1997, 2000-2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Ulrich Drepper.
Could you please check/update your gettext
and regenerate the translations? And if you could resolve the conflicts at the same time, that would be great :)
Sorry for the delays, Taras is no longer a member of RG. I will leave the status update comments on each PR's comments ASAP |
Hi @dyudyunov no worries, thank you for letting us know. |
@pomegranited could you close this PR in favor of #2173? |
@Inferato Even though your pull request wasn’t merged, please take a moment to answer a two question survey so we can improve your experience in the future. |
TL;DR -
Save ORA w/o prompt cause an error
What changed?
validate_rubric
placed on top of validationsDeveloper Checklist
Reviewer Checklist
Collectively, these should be completed by reviewers of this PR:
FYI: @openedx/content-aurora