Skip to content

Add student notes section to instructor view#394

Open
noahnizamian wants to merge 38 commits intoberkeley-cdss:mainfrom
cs169:student_notes
Open

Add student notes section to instructor view#394
noahnizamian wants to merge 38 commits intoberkeley-cdss:mainfrom
cs169:student_notes

Conversation

@noahnizamian
Copy link
Copy Markdown
Contributor

General Info

Original issue: cs169#340

  • Breaking?

Changes

Added staff notes for students on extension requests where instructors can add/edit notes per student per course and its visible on the request detail page. Notes are stored on the user_to_courses table and saved inline using AJAX, also students cannot see these notes

Testing

  • RSpec: 48/48 passing
  • Cucumber has 3 new scenarios for teacher sees notes section, teacher can save notes, student cannot see staff notes

Documentation

None

Checklist

  • Name of branch corresponds to story

noahnizamian and others added 10 commits March 4, 2026 16:51
- Implemented user_to_courses_controller.rb with role-based authorization
- PATCH endpoint to toggle allow_extended_requests on enrollments
- Authorization: only teachers can toggle
- Uses lms_id FK pattern from LMS credentials refactoring
- Added teacher? method to UserToCourse model for role checking
- Complete spec with 7 test scenarios (instructor, student, missing resources)
- All tests passing: 365 examples, 0 failures, 80.88% coverage
Mass approve/ reject functionality and UI changes for request table
PR reviewed and merged into Golden Repo. Thank you!
Adjust DataTables data-priority values so only Actions, Assignment,
and Name columns remain visible on small screens. Bulk action buttons
are also hidden on mobile via Bootstrap responsive utility classes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@superconductor-for-github
Copy link
Copy Markdown

superconductor-for-github Bot commented Apr 23, 2026

@noahnizamianSuperconductor finishedView implementation | App Preview


Standing by for instructions.

alxstx and others added 19 commits April 23, 2026 16:08
Added developer login + fake data for local testing
Incorrect due dates on Canvas assignments
…lean

Mobile view: hide checkbox and status columns on requests page
Add instructor email notifications for pending requests
gobears01 and others added 5 commits April 29, 2026 21:30
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.

5 participants