-
Notifications
You must be signed in to change notification settings - Fork 253
ISSUE-7677: Display late penalty selection #7689
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
ISSUE-7677: Display late penalty selection #7689
Conversation
90844d7 to
d9e4833
Compare
d9e4833 to
763181b
Compare
david-yz-liu
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.
Hi @Naragod, nice work making this PR! Adding an extra column table is not a bad idea (and you've done so correctly), but I think this will make UI a bit more cluttered on smaller screens, which I'd like to avoid.
Instead I suggest conditionally adding the text "(late submissions accepted)" directly in the "Extension" column, after the extension period. Note: user-facing string literals shouldn't be added to the components directly, but instead added to the locale files under config/locales and then referred to by calling I18n.t().
I'd also be good with adding a custom filter to this column to show (1) all groups, (2) groups without extension, (3) groups with extension but no late submissions, and (4) groups with extensions and that allow late submissions.
763181b to
641c54d
Compare
Pull Request Test Coverage Report for Build 18383183058Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
|
Hi @david-yz-liu, I have taken into account your comment and a few things remains unclear:
|
|
Extension due date allows submissions to be submitted without being considered late. By selecting "Apply late submission policy when collecting this group's submissions" checkbox, the late submission policy will take into effect once the extension due date has been reached. For the class in general, the late submission policy will be applied to the original due date. |
|
Hi @Naragod, it's great to clarify the language and semantics here, as this is quite subtle. In MarkUs each assignment has a due date, and then on top of that individual groups can get an extension, which adds onto the assignment due due. But separate from this, assignments can also have a late submission policy (implemented in the By default, when an extension is granted then the extended deadline replaces any late submission policy. But if the instructor checks the "Apply late submission policy" checkbox, the group can both get the extension, and additional time on top of the extension based on the configured late submission policy. For example, a group might get a 1 week extension, but then also be able to submit an extra day late (i.e., 8 days after the original due date) with a 10% penalty. Having said all of the above, I agree that the wording "late submissions accepted" may be confusing. I'd be okay with rewording this, though I don't have any brilliant ideas that are short. Something like "extended further by late submission policy", but shorter? You could discuss with Donny to suggest alternate wording. |
b777f9e to
1243332
Compare
|
Thank you @donny-wong and @david-yz-liu for the clarifications. I have a much better understanding of the task and have applied the feedback given. Please take another look. |
|
@Naragod I took a quick look, and I think the changes look great. Please go ahead and add test cases; it may be that this component does not have any existing tests, so you might need to spend time adding some. |
a9d619c to
84ff50a
Compare
32c3d64 to
4982b1d
Compare
david-yz-liu
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.
@Naragod nice work! I just left a few quick comments. Please also make sure to add your name to the contributors list.
|
@david-yz-liu, please take another look. I made a few small changes:
|
|
@Naragod you addressed all of my inline comments (which is great) and your additional changes also look good to me. But I think you missed the text in my "overall comment" for the review:
I realized that you did not preserve the PR template that we use for MarkUs. In the future please do so; you can add subsections to the "proposed changes" section, but it's important that you keep the other sections. |
|
I have added my name to the list of contributors and updated the PR description. I appreciate your patience, I was confused by what your previously comment. Usually, when a commit is merged, github automatically adds your name to the list of contributors. Once my PR was merged, I would have been added to this list and so, was confused by what you meant. Let me know if there are any other changes you would like me to make. |
7bdba5f to
7873cdd
Compare
david-yz-liu
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.
Thanks, @Naragod!
Proposed Changes
This is a 🎨 User interface change.
We wish to notify users if a late penalty has been applied to an extension at first glance. Currently, users have to click the due date extension link before being able to view the application of late penalties to their assignments. More information can be found in the issue description.
Implementation
We already keep track of an extension's late submission policy. Let's display it to the user when viewing the group table assignments.
Let's also add a filter that enables us to filter this column to show
Screenshots of your changes (if applicable)
Associated documentation repository pull request (if applicable)
Type of Change
(Write an
Xor a brief description next to the type or types that best describe your changes.)Checklist
(Complete each of the following items for your pull request. Indicate that you have completed an item by changing the
[ ]into a[x]in the raw text, or by clicking on the checkbox in the rendered description on GitHub.)Before opening your pull request:
After opening your pull request:
Questions and Comments
(Include any questions or comments you have regarding your changes.)