-
Notifications
You must be signed in to change notification settings - Fork 121
SpeedGrader comments #3348
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
SpeedGrader comments #3348
Conversation
refs: MBL-18809 affects: Teacher release note: none
# Conflicts: # Teacher/Teacher.xcodeproj/project.pbxproj # Teacher/Teacher/SpeedGrader/StudentPager/View/SpeedGraderViewController.swift
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
Few minor comments to consider.
Teacher/Teacher/SpeedGrader/Comments/Model/SubmissionCommentsInteractor.swift
Show resolved
Hide resolved
Refactored |
Waiting for UX approval, moving to draft for now |
# Conflicts: # Teacher/Teacher.xcodeproj/project.pbxproj # Teacher/Teacher/SpeedGrader/Comments/ViewModel/SubmissionCommentListViewModel.swift # Teacher/Teacher/SpeedGrader/MainLayout/View/SubmissionGraderView.swift # Teacher/Teacher/SpeedGrader/MainLayout/ViewModel/SubmissionGraderViewModel.swift # Teacher/Teacher/SpeedGrader/StudentPager/ViewModel/SpeedGraderViewModel.swift # Teacher/TeacherTests/SpeedGrader/Comments/ViewModel/SubmissionCommentListViewModelTests.swift
Opening the PR for review again. The textfield height calculation is not perfect and the size is limited based on the containers height, resulting in a somewhat shorter height than expected. (It was like this before as well) |
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.
Tested on iPhone XS, iOS 18.3.1
I found that there is a quite noticeable hitch when showing and dismiss keyboard, See below recording.
ScreenRecording_05-27-2025.16-16-03_1.MP4
Moreover, design of textfield on Figma file is different from that developed, where buttons of attachment and quick responses is laid below the text input itself.
Also, there a white space between the very bottom of the screen and the bottom of screen safeArea, which should be filled with the same color of the input back. The same way as in Tab and Tool Bars.
… the comment field.
The video doesn't load, could you please upload it again?
Yes, it had been stated that we use the old design for now, because the intended design waits for a11y approval.
Yes, it's been there before, as well. But since the old design will go away I didn't fix this one. |
# Conflicts: # Teacher/Teacher/Localizable.xcstrings
# Conflicts: # Teacher/Teacher/SpeedGrader/StudentPager/ViewModel/SpeedGraderViewModel.swift
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, Let's to some optimization at the end when we delivered all changes.
Thanks @vargaat for the rotation fix! It works for me on iPhone @ 18 and iPad @ 17 |
refs: MBL-18809
affects: Teacher
release note: none
What's changed
Chores
scaledSize()
,scaledIcon()
,scaledFrame()
,scaledOffset()
view modifierssinkFailureOrValue()
MockError
s to a central placeWhat's not changed
SubmissionCommentsInteractor
I didn't rework the create comment methods, just used them as is for now.Test Plan
Screenshots
Checklist