-
Notifications
You must be signed in to change notification settings - Fork 111
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 issue with assignments without grading period not being shown on Assignment List #2969
base: master
Are you sure you want to change the base?
Conversation
Release Note:Fixed an issue where assignments that don't belong to any of the available grading periods were not shown at Assignments. Affected Apps: Student, Teacher❌ XCTest failed: CoreTests/CourseSyncGradesInteractorLiveTests/testSuccessfulSync
|
affects: Student, Teacher release note: Fixed an issue where assignments that don't belong to any of the available grading periods were not shown at Assignments. test plan: See ticket.
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.
Code +1
Core/Core/Assignments/AssignmentList/ViewModel/AssignmentListViewModel.swift
Outdated
Show resolved
Hide resolved
For the intended change, it seems working good. But current period selection is always set to a specific value (here it is Spring) on screen appearance. So, if you change the viewed period to different one, and went into seeing an assignment details, when backing to the assignments list screen you'd always reset to that default period. Which doesn't seem intuitive. See record below: current_period_selection_reset_issue.mp4 |
@suhaibabsi-inst I have addressed your suggestions. Please check again. |
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.
Code review + 1 (minus the tests that need updating)
Core/Core/Assignments/AssignmentList/ViewModel/AssignmentListViewModel.swift
Outdated
Show resolved
Hide resolved
Core/Core/Assignments/AssignmentList/ViewModel/AssignmentListViewModel.swift
Outdated
Show resolved
Hide resolved
Core/Core/Assignments/AssignmentList/ViewModel/AssignmentListViewModel.swift
Outdated
Show resolved
Hide resolved
Core/Core/Assignments/AssignmentList/ViewModel/AssignmentListViewModel.swift
Outdated
Show resolved
Hide resolved
Thanks @ndrsszsz ! QA +1 |
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.
QA +1
refs: MBL-18023
affects: Student, Teacher
release note: Fixed an issue where assignments that don't belong to any of the available grading periods were not shown at Assignments.
test plan: Log in with an account that has multiple grading periods and assignments that don't belong to any of those grading periods, and check Assignment List if they are showing all of the assignments properly.
Details
Test
Attila's account is a good one for this.
File Upload 4 Copy
is one of the assignments that weren't shown previously. You can see it in the screenshots.See ticket for account info.
Screenshots
Assignment List
Checklist