Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add late days column for extensions#392

Open
noahnizamian wants to merge 47 commits into
berkeley-cdss:main from
cs169:late_days_column
Open

Add late days column for extensions #392
noahnizamian wants to merge 47 commits into
berkeley-cdss:main from
cs169:late_days_column

Conversation

@noahnizamian

@noahnizamian noahnizamian commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

General Info

original CDSS issue: #291

  • Breaking?

Changes

Adds an "approved days" column to the course enrollments page, where you can see the total number of late days each student has had approved from extension requests. it does not count rejected extensions, and if the student approved more than one request on the same assignment, it counts only the widest one. also the column is blank for staff roles

Testing

I added RSpec tests in spec/models/request_spec.rb for .total_approved_late_days_by_user which
Also added controller spec in spec/controllers/courses_controller_spec.rb to verify that @approved_late_days is assigned

Documentation

No documentation needed

Checklist

  • Name of branch corresponds to story

noahnizamian and others added 15 commits February 20, 2026 20:40
- 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 Bot commented Apr 21, 2026
edited
Loading

Copy link
Copy Markdown

@noahnizamianSuperconductor finishedView implementation | App Preview


Standing by for instructions.

alxstx and others added 14 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
Alex and others added 18 commits April 26, 2026 14:05
Add instructor email notifications for pending requests
The commit is passing all tests after rebasing. I also fixed the authorize_instructor method per the comment below. I'm merging this to main
Add student notes section to instructor view
Tested and confirmed this works in development. All tests are passing after rebase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /