refactor(roster)!: redo the assistant model system - #626
Merged
Merged
Conversation
Closes #601: the ad fields and their timestamps move from Assistant onto a new AssistantListing model, which also gains a syllabus URL, 1:1 and group availability, time zone, availability and "to connect further" fields. A listing shows when either kind of meeting is offered. Closes #612: Student.assistant is folded into the old unlisted_students m2m, now Assistant.students, so a student can have several instructors. The survey form asks which instructor comments are for when there is more than one, and the stulist "meets" column is gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01STwkGkSj38kPWyEhCcLpsr
Listings carry over ad_enabled as an explicit enabled flag instead of inferring it from the meeting types, which now start out False since the old data doesn't say. Links to the syllabus and a new example material field are shown as short link text rather than the raw URL. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01STwkGkSj38kPWyEhCcLpsr
A student with several instructors gets a textarea for each, sharing one signing choice, and each filled-in box becomes its own InstructorComment. The completed survey page lists every comment sent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01STwkGkSj38kPWyEhCcLpsr
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01STwkGkSj38kPWyEhCcLpsr
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01STwkGkSj38kPWyEhCcLpsr
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01STwkGkSj38kPWyEhCcLpsr
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01STwkGkSj38kPWyEhCcLpsr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #601: split model, new fields and so on.
Closes #612: fold foreignkey and many2many into a single
studentsfield on the Assistant model.