docs: add component review for portfolio-grade-select-step #595
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.
OnTrack Component Review
Team Member Name
Pasindu Fernando
Student ID :
s224263102
Component Name
portfolio-grade-select-step
Files in this Component
portfolio-grade-select-step.coffee
portfolio-grade-select-step.tp.html
portfolio-grade-select-step.scss
Component Purpose
This component is designed to allow users to select a grade that reflects their performance in the portfolio for a specific course unit. After confirming the statement "I have read the Assessment Criteria for this unit," users can choose a grade from the available options (P, C, D, HD). After completing the grade selection, users can navigate to either the previous or the next page.
Before checking the check box.

After checking the the checkbox.

Component Outcomes and Interactions
Expected Outcome:
When user checks the check box that confirms the reviewing assessment criteria for the grade, grade selection dev will be displayed. Otherwise it will not appear.
At the bottom of the page current target grade is shown
The user can select the relevant grade from the toggle buttons, based on what has been demonstrated in the portfolio
User can click back button despite of completing the selection of the grade. But it requires the checking the checkox of the "read assement criteria" statement to proceed into next page (Next button
)
Interactions:
Inputs:
Confirm the reviewing assessment criteria: Check the checkbox
Portfolio grade select: Select the relavant grade through toggle selection button.
Navigate previous or next page: click the previous or next button.
Outputs:
Outputs:
Checked check box:
Extends the webpage container to display the grade selection buttons
Updated grade : Once the grade is updated, the selected button highlights itself.
Refreshed Burndown chart: Burndown chart is refereshed according to the submitted grade.
Component Migration Plan
Migration Steps:
Create new files:
portfolio-grade-select-step.component.ts
portfolio-grade-select-step.component.html
portfolio-grade-select-step.component.scss
Import and declare the component in doubtfire-angular.module.ts.
In doubtfire-angularjs.module.ts, downgrade the Angular component so it can be used by AngularJS.
• Check that the new setup works just like the old one by running the same tests.
• Fix any problems that come up during testing.
Component Review Checklist