forked from opsgility/openhack-devops-proctor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Manage challenge - Add Challenge Support (Azure-Samples#211)
* Add Challenge Definition API to leaderboard * Initial Implementation of Add a challenge * Linting fixes
- Loading branch information
1 parent
884d871
commit c724e2a
Showing
23 changed files
with
1,226 additions
and
87 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# TODO | ||
|
||
## Add | ||
|
||
### Fields | ||
• Team: required | ||
• Challenge: required | ||
• StartDateTime: set using custom control | ||
• EndDateTime: disabled | ||
• Score: read only | ||
• MaxScore: read only | ||
|
||
### Init | ||
• Create dummy challenge | ||
|
||
### Validations | ||
• Team: required | ||
• Challenge: required | ||
• Team/ChallengeCombo: Not already completed, prompt user if not completed. | ||
• StartDateTime: greater than enddate < end time of last completed challenge | ||
• EndDateTime: greater than start time | ||
|
||
### Guards | ||
• Can Deactivate: ask if want to lose changes | ||
|
||
## Edit | ||
|
||
### Fields | ||
• Team: required | ||
• Challenge: required | ||
• StartDateTime: set using custom control | ||
• EndDateTime: disabled | ||
• Score: read only | ||
• MaxScore: read only | ||
|
||
### Init | ||
• Look up challenge to edit | ||
• Enable startDateTime, enddatetime | ||
• Disable team, challenge, score | ||
|
||
### Validations | ||
• Team: required | ||
• Challenge: required | ||
• Team/ChallengeCombo: Not already completed, prompt user if not completed. Should not fire though | ||
• StartDateTime: greater than enddate < end time of last completed challenge | ||
• EndDateTime: greater than start time and < end Event Time | ||
|
||
### Guards | ||
• Can Deactivate: ask if want to lose changes | ||
|
||
|
||
## Add unsubscribe to list views |
Oops, something went wrong.