-
Notifications
You must be signed in to change notification settings - Fork 1
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
PHNX-2108: Get data for row-content for quizzes #243
Conversation
index.js
Outdated
@@ -216,7 +216,8 @@ export const Rels = { | |||
quiz: 'https://quizzes.api.brightspace.com/rels/quiz', | |||
section: 'https://quizzes.api.brightspace.com/rels/quiz-section', | |||
studyRecommendations: 'https://quizzes.api.brightspace.com/rels/studyRecommendations', | |||
timing: 'https://quizzes.api.brightspace.com/rels/timing' | |||
timing: 'https://quizzes.api.brightspace.com/rels/timing', | |||
viewSubmissionResults: 'https://quizzes.api.brightspace.com/rels/view-quiz-submission-results' |
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.
submission is an interesting language choice here, is there a reason we are using that instead of say viewAttemptResults.
I also don't think we need to use the word quiz
in-between view and submission, we are already in the Quiz subdomain.
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.
I named it that way to be consistent with the other consts, which generally seem to match the end of the url route, e.g. questionPool
for https://quizzes.api.brightspace.com/rels/quiz-question-pool
etc. 🤔
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.
After offline discussion, we decided to name the rel const to viewQuizSubmissionResults
for consistency
…` for consistency
JIRA Link: PHNX-2108
This PR adds a Quizzes.viewSubmissionResults Rel (
https://quizzes.api.brightspace.com/rels/view-quiz-submission-results
). This is added for explicitly differentiating thesubmissionLink
in theactor-quiz-attempt-activity-provider
(vs. just looking for therelative-uri
sub-entity), see related PRs below.Related PRs