• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

source-academy / cadet-frontend / 539
30%

Build:
DEFAULT BRANCH: master
Ran 03 Aug 2018 10:34AM UTC
Jobs 1
Files 95
Run time 5s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
539

push

travis-ci

ningyuansg
Add Grading API calls (#238)

* Scaffold GradingOverview function

* Change GradingOverview to fit backend call

* Modify mock data to fit new GradingOverview

* Modify link in table

* Edit table rendering

* Add scaffold function getGrading

* Add conversion for grading

And a helper file castBackend.ts to help cast thigs like the Library

* Modify gradingShape to fit backend

* Fix syntax and import errors for saga

* Fix grading usage in component

* Modify mock gradings

* Fix imports for castBackend

* Scaffold semantic changes to GradingEditor

* Fix a minor naming error for GradingEditor

* Modify props for GradingEditor

* Remove StateProps for GradingEditor

* Change props passed to GradingEditor

* Remove actions related to updating xp and comments

It does not need to be stored in the state anymore

* Remove gradingCommentsValue & gradingXP from state

* Rename action arguments and handler

* Add Prompt when there are unsaved changes

As comments and a single number field are small, I used comparison. This
will also allow the removal of the hasUnsavedChanges field in the state

* Add visual indication for unsaved work

* Use minimal button

A large non-minimal button is really weird

* Add id props to action and component

* Remove SAVE_GRADING_INPUT from index saga

* Add scaffold function for postGrading & takeEvery

* Pass submissionId to GradingEditor

* Finish up saga for saving

* Copy saga to mocks

* Update action name to SUBMIT_GRADING

* Rename action in sagas

* Rename action in container

* Format files

* Refactor FETCH_GRADING_OVERVIEWS saga

* Refactor FETCH_GRADING saga

* Refactor SUBMIT_GRADING saga

* Move postGrading

* Refactor postGrading

* Add getGradingOverviews again

* Add getGrading method again

* Fix imports

* Fix response param parsing for getGradingOverviews

* Fix response parsing for getGrading

* Fix constructo... (continued)

120 of 968 branches covered (12.4%)

Branch coverage included in aggregate %.

806 of 2766 relevant lines covered (29.14%)

1.27 hits per line

Jobs
ID Job ID Ran Files Coverage
1 539.1 03 Aug 2018 10:34AM UTC 0
24.8
Travis Job 539.1
Source Files on build 539
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #539
  • d27e7b97 on github
  • Prev Build on master (#515)
  • Next Build on master (#541)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc