Skip to content

Late days column#349

Open
noahnizamian wants to merge 2 commits intomainfrom
late_days_column
Open

Late days column#349
noahnizamian wants to merge 2 commits intomainfrom
late_days_column

Conversation

@noahnizamian
Copy link
Copy Markdown

General Info

original CDSS issue: berkeley-cdss#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 noahnizamian self-assigned this Apr 21, 2026
@noahnizamian noahnizamian added this to the Iteration 5 milestone Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant