Skip to content

Add grading details when adding adjustments #266

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

Merged
merged 14 commits into from
Aug 7, 2018
Merged

Conversation

remo5000
Copy link
Contributor

@remo5000 remo5000 commented Aug 3, 2018

Features

  • Initial, and final grades shown, as a fraction of the maximum grade

@coveralls
Copy link

coveralls commented Aug 3, 2018

Pull Request Test Coverage Report for Build 568

  • 3 of 4 (75.0%) changed or added relevant lines in 2 files are covered.
  • 213 unchanged lines in 14 files lost coverage.
  • Overall coverage increased (+0.5%) to 25.332%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/components/academy/grading/GradingEditor.tsx 1 2 50.0%
Files with Coverage Reduction New Missed Lines %
src/components/academy/game/game.js 1 0.0%
src/components/academy/grading/GradingEditor.tsx 1 13.41%
src/containers/AnnouncementsContainer.ts 1 87.5%
src/localStorage.ts 1 40.0%
src/reducers/states.ts 2 89.19%
src/actions/session.ts 3 81.82%
src/components/assessment/index.tsx 8 78.3%
src/reducers/session.ts 10 23.53%
src/components/academy/game/index.tsx 16 20.0%
src/components/assessment/AssessmentWorkspace.tsx 16 56.41%
Totals Coverage Status
Change from base Build 541: 0.5%
Covered Lines: 849
Relevant Lines: 2833

💛 - Coveralls

@ning-y
Copy link
Member

ning-y commented Aug 3, 2018

Not sure if you're done yet, but the editor isn't showing up for me when I run this with the mock data.

@remo5000
Copy link
Contributor Author

remo5000 commented Aug 4, 2018

Fixed, it was a css issue.

@ning-y
Copy link
Member

ning-y commented Aug 4, 2018

Lmk with request reviews when you're done

@remo5000 remo5000 requested a review from ning-y August 5, 2018 04:07
Copy link
Member

@ning-y ning-y left a comment

Choose a reason for hiding this comment

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

  1. Make the table block element fill the side content in width.
    • This causes the div.pt-numeric-input to be flushed to the right, and as a result its buttons may look better on its right
    • Also because of this change, the text align of labels on the left might look better with text-align: left instead of text-align: center
  2. Grader save button should be at the bottom of the markdown editor since it saves not just adjustment but also comments
    • As a result of this change this button may look better if it filled up all horizontal space (I think Button takes a prop that makes this possible)
  3. Can you make the grader save button change colour in the same way that the assessments save button does?

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