Skip to content

Conversation

@remo5000
Copy link
Contributor

@remo5000 remo5000 commented Aug 23, 2018

Features

  • maxGrade used instead of maximumGrade for IAssessmentOverview
  • xp, max xp, grade and max grade displayed for open assessments
  • For upcoming assessments, only max xp and max grade are displayed
  • Open date is shown instead of close date for upcoming assessments

Issues fixed

@remo5000 remo5000 requested a review from rrtheonlyone August 23, 2018 11:43
@remo5000
Copy link
Contributor Author

Expected view:
image

@coveralls
Copy link

Pull Request Test Coverage Report for Build 691

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.1%) to 26.191%

Files with Coverage Reduction New Missed Lines %
src/sagas/backend.ts 2 4.83%
Totals Coverage Status
Change from base Build 689: 0.1%
Covered Lines: 885
Relevant Lines: 2888

💛 - Coveralls

Copy link
Contributor

@rrtheonlyone rrtheonlyone left a comment

Choose a reason for hiding this comment

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

Yup good to Merge!!

Adds:

  • Max Grade/XP in mission display
  • Open/Close dates respectively

@remo5000 remo5000 changed the base branch from master to xp August 25, 2018 09:28
@remo5000 remo5000 merged commit 68f0479 into xp Aug 25, 2018
remo5000 added a commit that referenced this pull request Sep 1, 2018
* Add XP to profile (duplicate) (#323)

* Add maxGrade and xp to state

* Pass props to Profile from State

* Remove IS_XP_IMPLEMENTED

* Unhide betcha

* Use xp and maxgrade for Profile

* Update tests and format

* Xp assessment (#320)

* Update IAssessmentOverview

Sticking to how the backend specifies the props, since it's already
camel case

* Remove maxGrade transform (IAssessmentOverview)

* Use maxGrade in assesment cards

* Update mock assessment data

* Add grade and xp into assessment overview

* Hide grade and xp for unopened assessments

* Show open date for unopened assessments

* Format and update tests

* Add XP for grading overview (#321)

* Update backend parsing

Fix lint error

* Modify grading shape

* Use new properties for grading overview table

* Update mock grading api

* Update table field

* Update text for editing grading

* Sort data by assessmentId, then submissionId

* Format file

* Improve UI/Functionality of Grading Table (#332)

* Improved Table UI and made functionality more intuitive

* Improved UI for grading table and made functionality more intutive

* Added comments and ran yarn format

* Ran Yarn format to fix all linting issues

* Formating Change and Fixing Conflicts

* Upgraded yarn version on TRAVIS

* Attempt to remove cache yarn

* Clean up formatting (again)

* Fix rebase error

* Used blueprintJS for Color instead of hex code

* Modified constant to original value

* Reenabled sorting for columns && refactored history to show popup over the grade/exp itself

* Update formatting - prettify

* Fix bug in filter

* Fix CSV export - show all required details

* update formatting

* Centralise and vertically align content in grading table

* Fixed formatting for scss file

* Fix bug in grade display

* Centralised filter input

* Add XP adjustment input to Grading Workspace (#335)

* Add parsing for new grading schema

* Add xp props to GradingQuestion

* Fix props in GradingWorkspace

* Update mock data

* Update mock data props

* Add props to saga

* Fix rebase errors

* Reorder props in type

* Add xp adjustment to action

* Rename dispatch function arguments

* Modify adjustment-related props

* Add xp OwnProps

Renamed a few usage of the props as well

* Add xp to validation and submit dispatch call

* Rename more props usage

* Duplicate some columns for XP

Most importantly, the numeric input

* Remove comment

* Pass in xp props to GradingEditor

* Add Final XP column

* Add xp and grade adjustment to mock backend

* Remove old TODO comment

* Use correct arguments for backend grading submit

* Use correct arguments for postGrading

* Format files

* Fix runtime errors

- input error when min === max
- error message
- hasUnsavedChanges returning true because of xp checking against grade

* Format file

* Revert travis to master's version

* Show programming solution (#336)

* Add additional types for solution prop

* Udpate mock data

* Use markdown to show solution

* Pass solution to GradingEditor

* Use code tag for solution instead

* Add parsing of solution in saga

* Add failsafes for solution value

and the maxGrade value as well. This is something that only happens in
staging, but could very well happen in prod as well.

* Use pre for solution

And fix a bug with xpAdjustment

* Add word wrapping to solution

* Fix wrapping for pre tag

It was not speicific to the pre tag

* Format files
@rrtheonlyone rrtheonlyone deleted the xp-assessment branch September 12, 2018 01:47
Aulud pushed a commit to Aulud/cadet-frontend that referenced this pull request May 25, 2020
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.

4 participants