-
Notifications
You must be signed in to change notification settings - Fork 116
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
Open native speedgrader from web discussion #3131
base: master
Are you sure you want to change the base?
Open native speedgrader from web discussion #3131
Conversation
refs: MBL-17942 affects: Teacher release note: SpeedGrader now correctly opens from graded discussions. test plan: - Create a graded discussion. - Post a comment as a student and as a non-student user. - Open the discussion from the teacher app. - Open SpeedGrader from the main post of the discussion. - SpeedGrader should open. - Open SpeedGrader from a post of a student. - SpeedGrader should open focused on that student. - Open SpeedGrader from a post of a teacher. - SpeedGrader should open with an error.
…from-web-discussion
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
@@ -21,6 +21,7 @@ import UIKit | |||
import Core | |||
|
|||
class SpeedGraderViewController: ScreenViewTrackableViewController, PagesViewControllerDataSource { | |||
static let AllUsersUserID = "speedgrader" |
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.
Should it be private
?
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'm using it in tests so it can't be private but I added the internal
modifier to it to make this usage explicit.
QA +1 Tested on iPhone, iOS 18.2.0, Teacher app. |
Found this issue. When speedgrader is opened and then we put the app into background and then back to foreground and then we tap on done button, the app crashes. RPReplay_Final1739361305.MP4 |
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.
The previously mentioned crash is probably not related to this PR so I'm approving this.
QA +1
refs: MBL-17942
affects: Teacher
release note: SpeedGrader now correctly opens from graded discussions.
test plan:
Screenshots
Checklist