-
Notifications
You must be signed in to change notification settings - Fork 172
Implement XP #334
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
Implement XP #334
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 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
* 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
Pull Request Test Coverage Report for Build 777
💛 - Coveralls |
* 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 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
* 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 can help me review? I'm not too familiar with React and/or frontend |
rrtheonlyone
approved these changes
Sep 1, 2018
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.
Changes look good!
PR adds:
- Redo of grading table UI
- Exp Feature (including adjustments)
- Total Grade/Exp shown to students for each mission
Aulud
pushed a commit
to Aulud/cadet-frontend
that referenced
this pull request
May 25, 2020
Bumps [phoenix](https://github.com/phoenixframework/phoenix) from 1.4.0 to 1.4.1. - [Release notes](https://github.com/phoenixframework/phoenix/releases) - [Changelog](https://github.com/phoenixframework/phoenix/blob/v1.4.1/CHANGELOG.md) - [Commits](phoenixframework/phoenix@v1.4.0...v1.4.1) Signed-off-by: dependabot[bot] <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is the mono-PR for all XP-related features.
Features