-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Inline problem response report status #19986
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
Conversation
|
Thanks for the pull request, @xitij2000! I've created OSPR-3198 to keep track of it in JIRA. JIRA is a place for product owners to prioritize feature reviews by the engineering development teams. Feel free to add as much of the following information to the ticket:
All technical communication about the code itself will still be done via the GitHub pull request interface. As a reminder, our process documentation is here. |
|
@xitij2000 Thank you for your contribution. Please let me know once it is ready to be looked at. |
|
@marcotuts I've attached a gif capture of the intended interface in the ticket. If this seems OK, I will polish it up a bit more. (The sandbox is also available for testing) |
|
@natabene I'd love a rough look at this point to see if the proposed UI style is OK. If so I will go ahead and complete the implementation. |
|
@marcotuts Can you give this an early look? |
|
This looks great! I have a few minor visual / UI tweaks and suggestions but it might be easier to draw out / visualize. By chance will you be at the conference in a few weeks? If not I'll reply back with a visual or summary of the minor suggestions. This is ok to move to engineering review next @natabene. This page needs a lot of overall work to simplify, but this is an incremental cleanup toward that direction. |
|
@marcotuts Yes, I will be at the conference. I just wanted to show the general UX I was going for before finishing off details like padding etc. For one I'm not finding the progress text very useful, so I intended to remove that unless there is an error. Glad to know this is headed in the right direction! |
a092b66 to
c1932c0
Compare
1d20ca9 to
9ad66a0
Compare
|
jenkins run js |
|
@marcotuts That selection mechanism was added quite a while back (https://github.com/edx/edx-platform/pull/17824) in this PR I'm just adding the live status and link below this UI. That said, I'd be open to making improvements to this UI in a separate PR (or this one if it's a small enough change). I also wonder how useful the text field with the block key is, perhaps it can be de-emphasised. |
|
@xitij2000 Can you let me know once all tests are green and this is ready for our review? |
|
@natabene I'm mainly waiting for the visual UI tweaks and suggestions for the inline status bit of the UI before I finalise this work. |
|
@marcotuts Would love some feedback on this so I can polish and finalise this. |
597c45f to
0efbeab
Compare
|
jenkins run python-3.8/python |
webpack.common.config.js
Outdated
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.
This may also not be needed anymore?
bradenmacdonald
left a comment
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.
Was just going to approve but noticed some potential a11y issues when going through my checklist. Sorry for not spotting that earlier. Please consider them, squash in a fix, and get the tests green then I can approve + merge.
lms/djangoapps/instructor/static/instructor/ProblemBrowser/components/Main/Main.jsx
Outdated
Show resolved
Hide resolved
...ngoapps/instructor/static/instructor/ProblemBrowser/components/ReportStatus/ReportStatus.jsx
Outdated
Show resolved
Hide resolved
0efbeab to
b8167b7
Compare
Adds an in-line status display for problem report generation progress. Co-authored-by: Adam Kovari <adam@opencraft.com> Co-authored-by: Eugeny Kolpakov <eugeny.kolpakov@gmail.com> Co-authored-by: Kshitij Sobti <kshitij@sobti.in> Co-authored-by: Braden MacDonald <braden@opencraft.com>
b8167b7 to
559ff54
Compare
|
Your PR has finished running tests. There were no failures. |
|
@bradenmacdonald This is ready for review. I did not make any changes to the text input since it didn't make sense for a disabled input, but if you feel there are changes needed there, do tell. |
bradenmacdonald
left a comment
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.
👍
- I tested this: on the sandbox
- I read through the code
- I checked for accessibility issues
- Includes documentation: n/a
|
@xitij2000 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
|
EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production. |
|
Thanks! |
|
EdX Release Notice: This PR has been deployed to the production environment. |
|
@xitij2000 Hi. Since the merge of this PR, we have been experiencing the issues in problem response CSV generation. There have been about 200 instances of the following error ever since this went live on production: Can you please take a look and either fix/revert the PR? The feature is broken on the platform and is becoming a blocker. Let me know if you think otherwise. Thanks |
|
@DawoudSheraz I'm not sure how this PR could have affected this, and am a little confused by the error. It seems to be thrown here: https://github.com/edx/edx-platform/blob/75495fd00314a42b7f27c81768f55ac7b18e5977/lms/djangoapps/instructor_task/models.py#L150-L151 This PR is mostly a UI change, and while it does add the report path to the tasks metadata, I don't see in the task output above. Would you have any context on what might be going on? I will look into fixing it accordingly. |
@xitij2000 The task status on success now also includes key report_path, whose value is S3 temporary link. I had removed it from the traceback that I shared earlier. The link is very large and is resulting in server error when getting the resulting dict. |
|
@DawoudSheraz OK, that makes sense then. I will investigate an alternative approach to this to avoid needing that in the task output. |
|
@xitij2000 Thanks. |
|
@DawoudSheraz I have a PR that fixes this: https://github.com/edx/edx-platform/pull/24867 |
|
@xitij2000 Thanks for the quick turnaround. |

Adds an inline status line while generating reports that reports progress. A continuation of https://github.com/edx/edx-platform/pull/18244
JIRA tickets: OSPR-3198
Discussions: https://github.com/edx/edx-platform/pull/18244
Screenshots:

Previous version
Sandbox URL:
LMS: https://pr19986.sandbox.opencraft.hosting/
Studio: https://studio.pr19986.sandbox.opencraft.hosting/
Merge deadline: None
Testing instructions:
TBD
Reviewers
Settings