Skip to content

Enable assignments#353

Merged
gobears01 merged 5 commits intomainfrom
enable-assignments
Apr 30, 2026
Merged

Enable assignments#353
gobears01 merged 5 commits intomainfrom
enable-assignments

Conversation

@Shklalom
Copy link
Copy Markdown

General Info

Changes

On the coursers table, it would be nice if you could click enable or disable all assignments at once.

Testing

UI updates

Documentation

Does this PR require documentation. If so, explain where it can be found.

Checklist

enable-assignments branch to our fork

@Shklalom Shklalom self-assigned this Apr 25, 2026
Copy link
Copy Markdown

@gobears01 gobears01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added Datatables dt.rows().nodes().each((node) to iterate through different pages of the assignment table to apply bulk changes if table size > 1 page. If <1, keep your existing queryforAll DOM action. Changes shown in gemfiles are related to Anthony's gem-dashboards branch where this branch was rebased onto. I can add the cucumber tests for the two actions after my PR is merged in. Otherwise, LGTM

Comment thread app/views/courses/instructor_show.html.erb
Comment thread .tool-versions
Comment thread Gemfile
gem 'lograge'

# Environment variable management
gem 'dotenv-rails', require: 'dotenv/load'
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dotenv-rails is already declared at line 36 with groups: [:development, :test]. This second declaration has no group, which overrides the scoping and puts the gem into the production bundle. Also rebase contamination from gem-dashboards — please drop both dotenv-rails blocks (and the good_job line) from this PR; let Anthony's PR own them.

Comment thread app/controllers/courses_controller.rb Outdated
@gobears01 gobears01 force-pushed the enable-assignments branch from a08b565 to c5d961a Compare April 30, 2026 07:10
@gobears01 gobears01 merged commit b12824a into main Apr 30, 2026
10 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.

3 participants