Skip to content

SG Refactor #3 - Extract submission grader logic to view model #3311

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

Merged
merged 38 commits into from
Apr 17, 2025

Conversation

vargaat
Copy link
Collaborator

@vargaat vargaat commented Apr 14, 2025

refs: MBL-18708
affects: Teacher
release note: none

test plan:

  • Test if attempt switching works correctly.
  • You can change attempts with the attempt dropdown or by selecting an attempt in the comments field.
  • Files should display for the given attempt.
  • Comments should be filtered to the given attempt is assignment enhancements are enabled.

Checklist

  • Tested on phone
  • Tested on tablet

vargaat added 25 commits March 27, 2025 17:32
refs: MBL-18708
affects: Teacher
release note: none

test plan:
…-extraction

# Conflicts:
#	Teacher/Teacher.xcodeproj/project.pbxproj
#	Teacher/Teacher/SpeedGrader/Grading/Rubrics/View/RubricAssessor.swift
…ared.

refs: MBL-18708
affects: Student, Teacher, Parent
release note: none

test plan: none
refs: MBL-18708
affects: Teacher
release note: none

test plan:
@inst-danger
Copy link
Contributor

inst-danger commented Apr 14, 2025

Teacher Build QR Code:

@inst-danger
Copy link
Contributor

inst-danger commented Apr 14, 2025

Warnings
⚠️ This pull request will not generate a release note.

Affected Apps: Teacher

MBL-18708

Coverage New % Master % Delta
Canvas iOS 91.62% 91.62% 0%

Generated by 🚫 dangerJS against 7edd0e1

@vargaat vargaat force-pushed the chore/MBL-18708-SubmissionGrader-refactor branch from fc69c00 to c0c9fa0 Compare April 15, 2025 10:40
@vargaat vargaat changed the title Extract submission grader logic to view model SG Refactor #3 - Extract submission grader logic to view model Apr 15, 2025
vargaat added 3 commits April 15, 2025 16:42
…o chore/MBL-18708-SubmissionGrader-refactor

# Conflicts:
#	Teacher/Teacher/SpeedGrader/StudentPager/View/SpeedGraderViewController.swift
@vargaat vargaat requested a review from rh12 April 15, 2025 15:00
vargaat added 4 commits April 15, 2025 18:37
…refactor

# Conflicts:
#	Core/Core/Common/Extensions/Foundation/StringExtensions.swift
#	Core/Core/Features/Assignments/APIRubricCriterion.swift
#	Core/Core/Features/Assignments/Rubric.swift
#	Core/Core/Resources/Database.xcdatamodeld/Database.xcdatamodel/contents
#	Teacher/Teacher.xcodeproj/project.pbxproj
#	Teacher/Teacher/SpeedGrader/Grading/Rubrics/Model/RubricGradingInteractor.swift
#	Teacher/Teacher/SpeedGrader/Grading/Rubrics/ViewModel/Ratings/RubricCustomRatingViewModel.swift
#	Teacher/Teacher/SpeedGrader/Grading/Rubrics/ViewModel/Ratings/RubricRatingViewModel.swift
#	Teacher/Teacher/SpeedGrader/Grading/Rubrics/ViewModel/RubricCriterionViewModel.swift
rh12
rh12 previously approved these changes Apr 16, 2025
Copy link
Contributor

@rh12 rh12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QA + 1 (for this PR's changes)

The single attempt view IMHO shouldn't be a disabled button, just static text A11Y-wise (as in Student app), but since that will be changed anyway soon I think it's okay like this now.

ndrsszsz
ndrsszsz previously approved these changes Apr 16, 2025
Copy link
Contributor

@ndrsszsz ndrsszsz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QA +1

Base automatically changed from chore/MBL-18708-SpeedGraderViewController-refactor to master April 17, 2025 08:35
@vargaat vargaat dismissed stale reviews from ndrsszsz and rh12 April 17, 2025 08:35

The base branch was changed.

@vargaat vargaat merged commit 31e592e into master Apr 17, 2025
4 checks passed
@vargaat vargaat deleted the chore/MBL-18708-SubmissionGrader-refactor branch April 17, 2025 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants