Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display Grace Day usage on submission history table, improve management of assessment penalty settings #1990

Merged
merged 17 commits into from
Nov 1, 2023

Conversation

damianhxy
Copy link
Member

@damianhxy damianhxy commented Oct 3, 2023

Summary

Summary generated by Reviewpad on 01 Nov 23 03:23 UTC

This pull request includes several changes across multiple files. Here's a summary of the changes:

  • In the file _edit_penalties.html.erb, changes were made to text fields, labels, and checkboxes related to assessment penalties. The changes aim to improve user experience and provide more flexibility in setting penalties for assessments.
  • In the file assessments_controller.rb, modifications were made to the edit and update actions to handle penalty-related parameters and provide warning messages for instructors. These changes enhance the functionality and flexibility of the assessment controller.
  • The file courses/_courseFields.html.erb includes modifications to the placeholder values of certain input fields.
  • Changes in the FormBuilderWithDateTimeInput class consolidate and improve the arguments and options passed to various methods.
  • The file diff related to the Penalties tab in the assessment editor introduces event listeners for checkboxes, logic to enable or disable input fields, and triggering change events on page load.
  • Changes in the ScoreAdjustment model's to_s method enhance consistency and formatting.
  • The app/views/assessments/_submission_history_table.html.erb file modifies a label in the submission history table.
  • CSS selectors in another file now exclude elements with a specific class and target additional elements, adding a bottom padding.
  • The edit.html.erb file in the app/views/assessments directory removes error message handling code.
  • A new file config/initializers/core_ext.rb is being added, defining class extensions for string-to-boolean conversions.
  • Changes in the app/views/assessments/_submission_history_row.html.erb file enhance the display of submission details.

These changes improve functionality, user experience, and consistency in different parts of the codebase.

Description

  • Display grace days used next to number of late days
  • Add warnings when late days are allowed but settings do not make sense (e.g. grace days can't be used and/or penalty late days are "free")
  • Add checkboxes on penalty tab to easily use course defaults / allow unlimited submissions / allow unlimited grace days

Motivation and Context

Closes #1989

How Has This Been Tested?

Make a late submission on an assessment that allows the use of grace days. Observe the correct number of grace days used displayed.

Screenshot 2023-10-03 at 16 23 02

Allow late submissions on assessment (end at > due at). Set late penalty to 0 and/or max grace days to 0, see warning(s). Also check that they display correctly when course defaults are used for these values.

Screenshot 2023-10-06 at 01 15 52

  • Set values for max submissions, max grace days, late penalty, version threshold, version penalty -> ensure it saves successfully
  • Check all the checkboxes and save
    • max submissions -> -1
    • max grace days -> (blank)
    • late penalty -> (blank)
    • version threshold -> -1
    • version penalty -> (blank)
  • Verify that the above settings take effect
    • make a student account submit once, a few days late
    • they should see unlimited submissions left
    • they should see all their grace days being used (e.g. 3)
    • can test late penalty by toggling between 0 (assessment-specific), and 1 (course default)
    • can test version threshold / penalty in a similar manner

Screenshot 2023-10-31 at 18 07 04

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have run rubocop for style check. If you haven't, run overcommit --install && overcommit --sign to use pre-commit hook for linting
  • My change requires a change to the documentation, which is located at Autolab Docs
  • I have updated the documentation accordingly, included in this PR

@reviewpad reviewpad bot added the small Pull request is small label Oct 3, 2023
@damianhxy damianhxy changed the title Display Grace Day usage on submission history table Display Grace Day usage on submission history table, improve UI for penalties Oct 3, 2023
@damianhxy damianhxy marked this pull request as ready for review October 6, 2023 05:36
@reviewpad reviewpad bot requested a review from 20wildmanj October 6, 2023 05:36
@damianhxy damianhxy changed the title Display Grace Day usage on submission history table, improve UI for penalties Display Grace Day usage on submission history table, add warning for illogical assessment settings Oct 6, 2023
@damianhxy damianhxy marked this pull request as draft October 7, 2023 17:58
@reviewpad reviewpad bot added medium Pull request is medium and removed small Pull request is small labels Oct 8, 2023
@damianhxy damianhxy changed the title Display Grace Day usage on submission history table, add warning for illogical assessment settings Display Grace Day usage on submission history table, improve management of assessment penalty settings Oct 9, 2023
@damianhxy damianhxy marked this pull request as ready for review October 13, 2023 02:38
@20wildmanj
Copy link
Contributor

Screenshot 2023-10-24 at 11 53 06 AM

If I add a value into one of the fields that can be defaulted, and then click the checkbox, the value in the field doesn't get cleared. Could the value here be cleared / replaced with the default when re-clicked?

@20wildmanj
Copy link
Contributor

20wildmanj commented Oct 24, 2023

Screenshot 2023-10-24 at 11 54 40 AM

There doesn't seem to be enough vertical space between the title and the text box, and also too much space between the checkmark and the textbox, makes it seem like the checkbox is for the field below the actual one

Copy link
Contributor

@20wildmanj 20wildmanj left a comment

Choose a reason for hiding this comment

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

Functionally looks good, if you could try to fix up the frontend stuff that would be great (I know it might be hard so if you can't then that's ok)

Copy link
Contributor

coderabbitai bot commented Oct 31, 2023

Walkthrough

The changes primarily focus on enhancing the user interface and functionality of the assessment system. They introduce new event handlers for checkboxes, modify CSS styling, display warning messages, and update form fields. The changes also improve the handling of late submissions and grace days, and adjust the display of submission details.

Changes

File(s) Summary
app/assets/javascripts/edit_assessment.js Introduced event handlers for checkboxes, modifying corresponding input fields based on the checked state. Added trigger events for checkboxes on page load.
app/assets/stylesheets/style.css.scss Updated CSS styling for input fields and form divs.
app/controllers/assessments_controller.rb Added warning messages, set variables based on assessment settings, set up assessment penalties, and added parameters to the edit_assessment_params method.
app/form_builders/form_builder_with_date_time_input.rb Updated the FormBuilderWithDateTimeInput class to include new options and attributes in various methods.
app/models/score_adjustment.rb Modified the to_s method in the kind class to change the formatting of the output string.
app/views/assessments/_edit_penalties.html.erb Updated form fields with help text and checkboxes for unlimited submissions and grace days.
app/views/assessments/_submission_history_row.html.erb Updated the display of submission details related to late submissions and grace days.
app/views/assessments/_submission_history_table.html.erb Changed the header label in a table from "Late Days Used" to "Days Late (Grace Days Used)".
app/views/assessments/edit.html.erb Removed error message rendering for @course and @assessment objects in a form.
app/views/courses/_courseFields.html.erb Updated placeholders and help text for various fields.
config/initializers/core_ext.rb Introduced two new methods: to_boolean for the String and NilClass classes.
Validation with GitHub issue(Beta)

Assessment of the PR changes against GitHub Issue

Aspect Aligns with the Linked Issue Explanation
Submissions history table changes The changes in app/views/assessments/_submission_history_row.html.erb and app/views/assessments/_submission_history_table.html.erb align with the issue's requirement to differentiate between Penalty Late Days and Grace Days.
Indication of late submissions with zero penalties or grace days The changes in app/controllers/assessments_controller.rb introduce a warning message for instructors when late submissions are allowed but have zero late penalty or zero maximum grace days, which aligns with the issue's requirements.
Changes to form fields and checkboxes The changes in app/assets/javascripts/edit_assessment.js, app/views/assessments/_edit_penalties.html.erb, and app/views/courses/_courseFields.html.erb introduce new checkboxes and modify form fields. These changes seem related to the issue's requirements but it's not explicitly clear from the issue summary.
Changes to CSS styling and form builder The changes in app/assets/stylesheets/style.css.scss and app/form_builders/form_builder_with_date_time_input.rb seem unrelated to the issue's requirements.
Changes to to_boolean methods and ScoreAdjustment model The changes in config/initializers/core_ext.rb and app/models/score_adjustment.rb seem unrelated to the issue's requirements.
 </details>
 <!-- This is an auto-generated comment: raw summary by coderabbit.ai -->

Tips

Chat with CodeRabbit Bot (@coderabbitai)

  • If you reply to a review comment from CodeRabbit, the bot will automatically respond.
  • To engage with CodeRabbit bot directly around the specific lines of code in the PR, mention @coderabbitai in your review comment
  • Note: Review comments are made on code diffs or files, not on the PR overview.
  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai help to get help.
  • @coderabbitai resolve to resolve all the CodeRabbit review comments.

Note: For conversation with the bot, please use the review comments on code diffs or files.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.json

@damianhxy
Copy link
Member Author

PR has been updated so that helper values are displayed when checkboxes are selected

Screenshot 2023-10-31 at 18 07 04

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Review Status

Actionable comments generated: 2

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between e0473f9 and 65f7d2e.
Files selected for processing (10)
  • app/assets/javascripts/edit_assessment.js (1 hunks)
  • app/assets/stylesheets/style.css.scss (1 hunks)
  • app/controllers/assessments_controller.rb (2 hunks)
  • app/form_builders/form_builder_with_date_time_input.rb (2 hunks)
  • app/models/score_adjustment.rb (1 hunks)
  • app/views/assessments/_edit_penalties.html.erb (1 hunks)
  • app/views/assessments/_submission_history_row.html.erb (1 hunks)
  • app/views/assessments/_submission_history_table.html.erb (1 hunks)
  • app/views/assessments/edit.html.erb (1 hunks)
  • app/views/courses/_courseFields.html.erb (1 hunks)
Files skipped from review due to trivial changes (7)
  • app/assets/stylesheets/style.css.scss
  • app/models/score_adjustment.rb
  • app/views/assessments/_edit_penalties.html.erb
  • app/views/assessments/_submission_history_row.html.erb
  • app/views/assessments/_submission_history_table.html.erb
  • app/views/assessments/edit.html.erb
  • app/views/courses/_courseFields.html.erb
Additional comments: 6
app/form_builders/form_builder_with_date_time_input.rb (3)
  • 20-24: The wrap_field method is now called with options instead of help_text and display_name. Ensure that all calls to this method throughout the codebase have been updated to match the new signature.

  • 27-39: The score_adjustment_input method now includes an optional placeholder and disabled option for the text field and select field. This is a good practice as it allows for more flexibility when using this method.

  • 132-142: The date_helper method now includes a data-date-greater-than attribute in the generated field. This could be useful for validating the date input. The wrap_field method now accepts an options parameter instead of separate help_text and display_name parameters. It also includes an optional wrap_class option for the wrapping <div> element. These changes improve the flexibility and reusability of these methods.

app/assets/javascripts/edit_assessment.js (1)
  • 43-115: The event handlers for the checkboxes are well implemented. They correctly update the state and value of the corresponding input fields based on the checked state of the checkboxes. The use of the initial_load variable to prevent clearing of fields on the first page load is a good approach. However, consider adding comments to explain the purpose of the initial_load variable and the logic behind the event handlers for better maintainability.
    // Penalties tab
+   // The initial_load variable is used to determine if the page is loading for the first time.
+   // If it is the first load, the fields should not be cleared when the checkboxes are checked.
    let initial_load = true; 

    // Event handler for the 'unlimited_submissions' checkbox.
    // When checked, it disables the 'max_submissions' input field and sets its value to 'Unlimited submissions'.
    // When unchecked, it enables the 'max_submissions' input field and clears its value (if it's not the first page load).
    $('#unlimited_submissions').on('change', function() {
...
app/controllers/assessments_controller.rb (2)
  • 796-801: The variables are correctly set based on the assessment settings.

  • 803-807: The penalties are correctly set up if they are not already present.

app/controllers/assessments_controller.rb Outdated Show resolved Hide resolved
app/controllers/assessments_controller.rb Outdated Show resolved Hide resolved
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Review Status

Actionable comments generated: 2

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 65f7d2e and b76df5b.
Files selected for processing (2)
  • app/controllers/assessments_controller.rb (2 hunks)
  • config/initializers/core_ext.rb (1 hunks)
Files skipped from review due to trivial changes (1)
  • config/initializers/core_ext.rb
Additional comments: 1
app/controllers/assessments_controller.rb (1)
  • 798-802: The variables are well defined and will be useful for the penalties tab. However, consider using a more descriptive name for these variables to improve code readability.

app/controllers/assessments_controller.rb Show resolved Hide resolved
app/controllers/assessments_controller.rb Show resolved Hide resolved
@damianhxy damianhxy added this pull request to the merge queue Nov 1, 2023
Merged via the queue into master with commit 3b0033a Nov 1, 2023
6 checks passed
@damianhxy damianhxy deleted the gd-usage branch November 1, 2023 03:37
NicholasMy pushed a commit to UB-CSE-IT/Autolab that referenced this pull request Jan 5, 2024
…nt of assessment penalty settings (autolab#1990)

* Display of grace days used

* Fix calculation of effective_late_penalty and effective_version_penalty

* Show course default values when applicable

* Show warning messages when late submissions allowed but config does not make sense

* Fix tests

* Update wording

* Improve formatting

* Revert changes to effective penalties

* Simplify check

* Add toggles

* Update wording on courseFields

* Fix version threshold logic

* Correctly set version threshold to blank when using course default

* Clear / default values when checkbox clicked

* Remove bottom padding

* Improve UI when checkboxes selected

* Address AI nits

(cherry picked from commit 3b0033a)
michellexliu added a commit that referenced this pull request Feb 4, 2024
* Lint views/submissions (#1969)

* Begin linting views/submissions

* finish linting views/submissions

* address issues in code_viewer

* Prevent spoofing the author of an annotation (#1985)

* Prevent spoofing the author of an annotation

(cherry picked from commit d2ab510)

* Remove submitted_by from createAnnotation

* Update link to docs in PR template (#1991)

Fix link to docs

* Hide irrelevant cud fields for students (#1988)

* Show edit CUD button for students

* Hide irrelevant CUD fields from students

* Lint views/autograders, fix help-block gap from input (#1963)

* lint views/autograders, fix help block gap from input

* update form path

* Lint views/announcements and Touch-up UI (#1957)

* lint views/announcements and touch-up UI

* address nits

* Add erblint to overcommit and github actions (#1994)

* update erb-lint config, overcommit config to enable erb-lint as a pre-commit hook, run erblint --lint-all

* update github actions to run erb-lint during linting phase

* update pull request template to include erblint check

* Display Grace Day usage on submission history table, improve management of assessment penalty settings (#1990)

* Display of grace days used

* Fix calculation of effective_late_penalty and effective_version_penalty

* Show course default values when applicable

* Show warning messages when late submissions allowed but config does not make sense

* Fix tests

* Update wording

* Improve formatting

* Revert changes to effective penalties

* Simplify check

* Add toggles

* Update wording on courseFields

* Fix version threshold logic

* Correctly set version threshold to blank when using course default

* Clear / default values when checkbox clicked

* Remove bottom padding

* Improve UI when checkboxes selected

* Address AI nits

* Handle malformed scoreboard results from autograder, fix error handling for scoreboards (#1982)

* begin fixing broken redirects

* add code to check that entries are arrays, return flash error if not valid entry

* fix spacing

* address nit

* Add logging

* Click into submissions from gradebook score (#1998)

* Clickable gradebook scores

* Only scores have links

---------

Co-authored-by: kestertan <[email protected]>

* Switch mossnet clean to use rails root instead of tilde expansion (#1997)

use Rails root join function instead of ~/ to make sure moss clean script works across systems

* Merge pull request from GHSA-h8wq-ghfq-5hfx

* fixes

* Add validation for handout, writeup, and handin_directory

* Avoid use of and

* Check that handout/writeup exists before checking path (#2001)

Move present? check to front

* Adds warning when assessment.rb file upload isn't a .rb file (#1999)

* preliminary working version

* only validates .rb files

---------

Co-authored-by: Damian Ho <[email protected]>

* Refactor Assessment name rules, remove config file requirement (#1987)

* begin refactoring naming rules for assessments

* continue working on file acceptance

* add testing

* fix autograde

* work on backwards compatibility / revertibility

* keep working on implementing revertability

* Fix some code creating assessmentConfigFile before assessment id created

* Add documentation to naming rules

* add line about assessment name uniqueness

* update error messages

* fix tests

* add error handling code to redirect user in case assessment config file can't be loaded, run robocop

* address AI code review

* remove redundant flash

* Fix text

* Fix reload assessment config button text

* Add more error handling, revamp regex string to better reflect valid ruby module names, add better sanitization for display name -> name conversion, fix docs to reflect actually valid assessment names.

* fix test

* Address nits

* Fix issue where assessment could affect another assessment's config file if they both had names that mapped to pre-PR config file name

* Delete config/oauth_config.yml

* Delete diff.patch

* Delete assessment.patch

* remove unnecessary files

* more removals

* Suppress confirmation dialog on edit assessment page when no changes made (#2004)

* Extract logic, call functions directly

* Remove extraneous space

* Remove another extraneous space

* Display submission version in gradebook (#2005)

* First Commit: version info is on gradebook as new columns

* Second commit: only add a ver column after each assignment

* Delete database.docker.yml

* Delete schema.rb

* Deleted debug code

* change gitignore to original version

* Address nits

* Fix tooltips

* Simplify version logic

* Stop overwriting headerCssClass

* Fix tooltip for not_yet_submitted

* Handle nil aud

* Add version to gradebook CSV export

* Render tooltips onMouseEnter too

* Simplify version header

* Simplify logic

* Increase gradebook width

---------

Co-authored-by: SimonMen65 <[email protected]>
Co-authored-by: Simon Men <[email protected]>

* Don't clear assessment penalty fields on initial load (#2006)

* Don't clear on initial load

* Remove extraneous spaces

* No line breaks when generating base64 strings (#2008)

* fix bug for long strings

* Update base64.js using new TextEncoder

* Show all courses for MOSS (#2015)

* Show all courses, restore filter

* Address AI nits

* Fix use of autocomplete attribute

* Add newline

* Simplify toggleOptions implementation

* Fix style of isArchive checkboxes

* Correct use of javascript_include_tag

* Fix failing test

* Update styling of warning

* Extract dropdown logic, use OR for filtering

* Add newline

* Add spacing between dropdowns

* Use find instead of children, check for selector existence

* Removed name from assessment yml (#1993)

* Removed name from assessment yml

* Modified test after removing name from assessment yml

* Removed unnecessary test for wrong assessment name

* Removed yml name check in assessments_controller

---------

Co-authored-by: Nicholas Clark <[email protected]>

* Account for hooks in viewFeedback instead of feedback output (#2003)

* preliminary working version

* resolve merge conflicts

* use submission.scores instead of feedback array

* don't show non autograded scores in autograded scores tab

* rabbit ai suggestions

* more rabbit.ai nits

* make finishedAutograding not an instance variable

* Remove element overlapping scrollbar hitbox (#2009)

* Remove element overlapping scrollbar hitbox

* Move style to annotation.scss

---------

Co-authored-by: Damian Ho <[email protected]>

* Attachment categories (#1983)

* Add category_name field and update course attachment UI

* Improve styling of list items

* Remove anchor link for unreleased badge, simplify delete button logic

* Hide assessment attachments from course landing page

* Add release_at field, remove released field

* Fix tests

* Add fixtures

* Simplify variable names

* Remove bullet points

* Group buttons together

* Make font-family consistent

* Hide category for assessment attachments

* Add cancel button, remove delete button, improve styling

* Improve migration to be backwards compatible / reversible

* Use update instead of update_attribute

* Display when attachment will be released

* Update tests

* Simplify code

* Use Time instead of DateTime

* Add download icon for students

* Vertically align icons

* Hide assessment attachments from course attachment index

* Add vertical space above release date

* Passwordless temporary login (#1984)

* Passwordless temporary login created

* Login using devise

* User is not signed in before changing password

* Removing unneeded files

* Removing changes to user.rb

* Removing unneeded files

* Resetting password does not log you out

* Added mailer

* Added/removed newlines

* Changed naming

* Added checks for nil user or params

* Error handling for passwords

* Removed email after password reset

* Added documentation

* Updated documentation

* Moved documentation to features

* Renamed to admin-features

* Added link in mkdocs.yml

* Visual cue for assessments (#2016)

* Add dates to assessment card

* Add CSS formatting for date

* Fix margin and card sizes to be more pretty

* Show all students on gradesheet (#2019)

* add course members with blank info if no submissions found

* add email for no submission users

* update bg color

* Move submission version logic to be handled by AUD (#2024)

* Move submission version logic to be handled by AUD

* update migration variable naming

* fix unit tests, version number for new auds

* fix coderabbit issues

* add version number to schema

* change schema timestamp

* Use ActiveStorage for attachments, add attachment size limit (#2023)

* 1810 Use ActiveStorage for attachments

* 1864 Add backwards compatibility to ActiveStorage Attachments

* 1872 Add size limit to attachments

* Set mime_type

* Remove require

* redirect to index on error

* Rails 6.1.7.6 Migration (#2037)

* Initial update to 6.1.7.6

* Lock fomantic-ui-sass to 2.8.8.1

* Update schema.rb

* Avoid locking setup-ruby version

* Include net-http in Gemfile to avoid errors

* Run rubocop

* Lock uri to 0.10.0

* Fix lint issue

* Fix course_number values for roster export

* Use flash for drop warning

* Properly display submission errors

* Only show invalid assessment warning to instructors

* Ensure gradebook search bar renders correctly for CAs

* Filter by lecture too when CA views section

* Only show missing submissions from section if CA filters by section

* Update tests

* Better handling for submission errors

* More specific error handling for save_entries

* Better error display for statistics page

* Return 404 for popover on non-existent submission

* load Archive in files that use its methods

* Update Ruby to 3.2.2, Misc fixes (#2040)

* Update Ruby to 3.2.2
- update Capybara config so that it works with new ruby version and so that js can be enabled again on selenium test
- update releaseSectionGrades redirect to go to viewGradesheet for CA's section
- add some more status text / more informative flash when instructor drops student
- redact tango key in getjob

* Address nits, update bundler / github integration

* add arm64-darwin-23 to platforms

* fix users nit

* Bump uri from 0.10.0 to 0.10.3 (#2039)

Bumps [uri](https://github.com/ruby/uri) from 0.10.0 to 0.10.3.
- [Release notes](https://github.com/ruby/uri/releases)
- [Commits](ruby/uri@v0.10.0...v0.10.3)

---
updated-dependencies:
- dependency-name: uri
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update old migrations for Ruby 3 (#2044)

Use splat on old migrations

* Remove grading deadline (#2014)

* Initial removal of grading_deadline

* Add brackets around arguments to grading_complete?

* Consistency fixes

* Migration to remove grading deadline

* Add guards to migration

* Rename grading_complete? to grades_released?

* Address issues from v2.8.0 testing, misc fixes/changes (#2038)

* Fix command for promoting a user to admin

* Extract aria/collapsible code, switch to path helpers

* Automatically open first accordion

* Fix docs for Tango info endpoint

* Create user directory on autograde_done

* Coalesce accordions, simplify js, remove admin options

* Update doorkeeper translations

* Remove extraneous quotes

* Remove redundant / useless assessment nil check

* Fix error display when calling downloadAll on invalid assessment

* Simplify failure redirect logic for downloadAll

* Deduplicate logic for autograde feedback path and handin file path

* Remove unused ass_dir variable

* Remove redundant gitignores

* Uncoalesce accordions

* Fix redirects for invalid assessment

Previously, calling downloadAll with an invalid assessment led to infinite redirects

* Update the API to allow retrieving group members (#1956)

* Add a param to the index groups api to retriee group members

* Add api show endpoint for groups

* Update docs

* Update api docs for groups#show

* Compact group members api response

* Move fetching group json to a private method

* Remove empty line

---------

Co-authored-by: Damian Ho <[email protected]>

* Update index and show docs for Groups API (#2045)

Update index and show docs

* Main Table UI Changes (#1886)

* Start Manage Submissions

* Center checkbox in manage submission table (#1868)

fix checkbox issue

* Main Table UI

* Updates with selecting students and buttons

* Add Score Popup Icon

* Icon spacing and codebase style

---------

Co-authored-by: Michelle Liu <[email protected]>

* Add sorting icons to new manage submissions (#1890)

* change icon to swap_vert, hide for file and actions headers

* change icon on diff sort

* Adds Score Details (#1893)

* Adds score details without styling

* address general styling for score details

* refactor code

* address pr issues

* bring back css

* bring back div

* add back class names

* add back icons

* addressed nits

* address nits

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Joey Wildman <[email protected]>
Co-authored-by: Nicholas Myers <[email protected]>
Co-authored-by: Damian Ho <[email protected]>
Co-authored-by: Kester <[email protected]>
Co-authored-by: kestertan <[email protected]>
Co-authored-by: SimonMen65 <[email protected]>
Co-authored-by: Simon Men <[email protected]>
Co-authored-by: Ugo <[email protected]>
Co-authored-by: Nicholas AJ Clark <[email protected]>
Co-authored-by: Nicholas Clark <[email protected]>
Co-authored-by: lykimchee <[email protected]>
Co-authored-by: Joanna Ge <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Umar Alkafaween <[email protected]>
Co-authored-by: Victor Huang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
medium Pull request is medium
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve distinction between PLD and GD usage
2 participants