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

[hotfix] In Assessment Submission Summary, only show one download option #1614

Merged
merged 4 commits into from
Oct 2, 2022

Conversation

20wildmanj
Copy link
Contributor

Description

#1609 brought changes to the submission summary in the Assessments page, especially to removing the file name and displaying a "Download Submission" button. However, in the case that the submitted file is a text file, two download icons appear but the icon for downloading as text doesn't appear:
Screen Shot 2022-09-28 at 12 27 20

Now, if a file is plaintext, only one Download Submission button will appear:
Screen Shot 2022-09-28 at 12 28 30

How Has This Been Tested?

  • upload a submission of a plaintext file to an assessment
  • go to submission summary and see only one option to download, hover over and see tooltip

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

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

Copy link
Contributor

@victorhuangwq victorhuangwq left a comment

Choose a reason for hiding this comment

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

LGTM

@20wildmanj
Copy link
Contributor Author

I added some vertical space between download submission and view source after what you mentioned during the meeting yesterday @victorhuangwq, lmk what you think:
Screen Shot 2022-09-30 at 13 59 58

Copy link
Contributor

@victorhuangwq victorhuangwq left a comment

Choose a reason for hiding this comment

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

LGTM

@20wildmanj 20wildmanj merged commit 5ee1a84 into master Oct 2, 2022
@20wildmanj 20wildmanj deleted the hotfix--download-submission branch October 2, 2022 20:00
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.

2 participants