Skip to content

Allow teachers/TAs to try conversations safely#114

Merged
siscia merged 1 commit into
mainfrom
feature/teacher-test-conversations
Jun 1, 2026
Merged

Allow teachers/TAs to try conversations safely#114
siscia merged 1 commit into
mainfrom
feature/teacher-test-conversations

Conversation

@siscia

@siscia siscia commented Jun 1, 2026

Copy link
Copy Markdown
Member

Changes

  • Fix broken conversation links in section_detail template (were href='#')
  • Add 'Try Conversation' button for teachers on homework detail page
  • Add 'Test Conversation' button for TAs on homework detail page
  • List old test conversations below the button for resuming
  • Guard all student_profile accesses against teacher/TA test conversations:
    • get_all_homework_matrix and get_course_homework_matrix
    • Submission.student property
    • get_submission_data
  • Add 4 tests covering teacher test conversations in matrix, submission service, and model edge cases

Testing

All 855 tests pass, ruff formatting/lint and mypy type checking are clean.

- Fix broken conversation links in section_detail template (was href='#')

- Add 'Try Conversation' button for teachers on homework detail page

- Add 'Test Conversation' button for TAs on homework detail page

- List old test conversations below the button for resuming

- Guard all student_profile accesses against teacher/TA test conversations

  (get_all_homework_matrix, get_course_homework_matrix, Submission.student, get_submission_data)

- Add 4 tests covering teacher test conversations in matrix, submission, and model edge cases
@siscia siscia merged commit c84b8f2 into main Jun 1, 2026
3 checks passed
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.

1 participant