-
Notifications
You must be signed in to change notification settings - Fork 222
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
make submission summary fill up space #1624
Conversation
…ut still overflow properly - only show link to full submission history table if submissions exceed summary view limit
nit: can we get the icons and button text to be vertically center-aligned? looks slightly off rn |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Works as expected.
One other small consideration, do we want view source on top of download submissions? I would imagine people would want to view source more often than downloading a submission.
* Add line number * Move active class * Add lineNumber when updating * Change score field to type number * Consistently display annotation scores to 1 d.p. * Fix plus_fix * Sort annotations after updates * Add sorting logic * Match get_correct_filename behavior * Round grades to 1dp * Fix indentation * Disable accordion (to allow multiple sections open at once) * annotation.js cleanup * Remove max-height on collapsible * Run attachChangeFileEvents once at the end * Group annotations by filename * Implement group_by for js * Add collapsible arrows * Add collapsible arrows (after update) * Increase arrow size * Disable user-select on header * Add spacing between annotations of different files * Remove debug statement * Use jquery load for annotations * Remove dead code * Revert filelist from instance to local variable * Fixed annotation switching problems not updating score (#1621) * Force flatpicker interface for date/datetime picker on mobile (#1620) * Validate against empty annotation scores * Fix annotation score validation on backend * Simplify badge color update logic * Prevent blank annotation scores on update * Simplify badge color update logic (fix) * Show revised due date for manage extensions (#1623) show revised due date * Bump nokogiri from 1.13.6 to 1.13.9 (#1625) * make submission summary fill up space (#1624) * - fix submission summary/history table to fill up horizontal space, but still overflow properly - only show link to full submission history table if submissions exceed summary view limit * - make "Download Submission" and "View Source" into buttons * Vertically center-align icon and text * add spaces, move view source to be above download submission * round 2 decimal places * plusFix round to 2 decimal places * Change grades panel to use 2dp Co-authored-by: Nicholas AJ Clark <nicholas@californiaclarks.com> Co-authored-by: Michelle Liu <mliuu3259@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joey Wildman <josephwildman88@gmail.com>
Description
Previously, assignments with few problems would have a submission summary where the table only took up part of the horizontal space provided:
The "show all submissions" button also displayed for any amount of submissions, which was weird in the case where only a couple submissions were made, since the information in history is now exactly the same as submission summary:
Change Summary
display: table;
to the actual table, andoverflow-x: scroll
to the wrapper div so that the table will become scrollable if there are too many problems, but take up the space otherwise.Lots of problems:
How Has This Been Tested?
Types of changes
Checklist:
overcommit --install && overcommit --sign
to use pre-commit hook for linting