Skip to content
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

#3697 - View Assessment Updates #3813

Merged
merged 9 commits into from
Oct 25, 2024

Conversation

lewischen-aot
Copy link
Collaborator

@lewischen-aot lewischen-aot commented Oct 21, 2024

  • Revised "Summary" to "Funding summary"
  • Revised "To view your entire assessment....." to "To view your Notice of Assessment, click on view assessment".
  • Format all values: $##,###.00
  • Updated the following grant names, reorder based on the list below, apply changes to both estimated and final award.
    • CSGP
      • Revised "CSGP" to "CSG-PD"
      • Updated tooltip: "Canada Student Grant for Students with Disabilities"
    • CSPT
      • Revised "CSPT" to "CSG-PT"
      • Updated tooltip: "Canada Student Grant for Part-time Students"
    • CSGD
      • Revised "CSGD" to "CSG-PTDEP"
      • Updated tooltip: "Canada Student Grant for Students with Dependants"
    • BCAG
      • Revised "BCAG" to "BCAG-PT"
      • Updated tooltip: "B.C. Access Grant for Part-time Studies"
    • CSLP
      • Revise: "CSLP" to "CSL-PT"
      • Updated tooltip: "Canada Student Loan for Part-Time Students"
    • SBSD
      • Updated SBSD tooltip: "B.C. Supplemental Bursary for Students with Disabilities"

Screenshot for the first disbursement for part-time applications
image

Screenshot for the first disbursement for full-time applications
image

@lewischen-aot lewischen-aot added Enhancement New feature or request User Story Student Student Features Content Tasks related to UIUX content labels Oct 21, 2024
@lewischen-aot lewischen-aot self-assigned this Oct 21, 2024
@lewischen-aot lewischen-aot marked this pull request as ready for review October 22, 2024 20:28
offeringIntensity: OfferingIntensity.partTime,
},
];

export const PartTimeAwardTypesObject = {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -1,7 +1,7 @@
<template>
<body-header
title="Summary"
subTitle="Below is the summary from your assessment. To view your entire assessment, click on View assessment."
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this period in the end to be removed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's fine to keep the period. The AC is to replace the sentence, and it makes sense to keep the period at the end for a sentence.

Copy link
Collaborator

@dheepak-aot dheepak-aot Oct 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The image in AC says that period is retained.

image

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought there was a period at the end, but there wasn't. It's updated.

@@ -55,22 +55,22 @@ export const AWARDS: AwardDetail[] = [
},
{
awardType: PartTimeAwardTypes.CSLP,
description: "Canada Student Loan for Part-time Studies",
description: "Canada Student Loan for Part-Time Students",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Part-time with lower case "t".

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know the AC has upper-case but all the system uses lower case. Please check.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch. It's this one place where "time" is capitalized. It's now updated.

Copy link
Collaborator

@andrepestana-aot andrepestana-aot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Just minor comments about the wording.

@dheepak-aot dheepak-aot self-requested a review October 22, 2024 22:24
@dheepak-aot
Copy link
Collaborator

Nice work @lewischen-aot. Please take a look at the comments.

if (awardValue === undefined) {
return "(Not eligible)";
}
return getFormattedAwardValue(awardValue);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we know that the dynamic award value with key as award name is definitely a number, I would say we can force cast it. like this.

const awardValue = props.awardDetails[
        `${props.identifier}${awardType.toLowerCase()}`
      ] as number;

It will allow us to set the type of award value as number.

@dheepak-aot
Copy link
Collaborator

Thanks for making the changes. Just few minor comments.

Comment on lines 63 to 66
if (awardValue === undefined) {
return "(Not eligible)";
}
return getFormattedMoneyValue(awardValue);
Copy link
Collaborator

@andrepestana-aot andrepestana-aot Oct 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return awardValue === undefined ? getFormattedMoneyValue(awardValue) : "(Not eligible)";

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is the opposite @andrepestana-aot when undefined "(Not eligible)" needs to return. Are you saying this as a suggestion?

Copy link
Collaborator

@dheepak-aot dheepak-aot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing the changes. Looks good 👍

Copy link

Copy link

Backend Unit Tests Coverage Report

Totals Coverage
Statements: 22.56% ( 3662 / 16233 )
Methods: 10.16% ( 205 / 2018 )
Lines: 25.96% ( 3181 / 12255 )
Branches: 14.08% ( 276 / 1960 )

Copy link

E2E Workflow Workers Coverage Report

Totals Coverage
Statements: 58.64% ( 509 / 868 )
Methods: 52.88% ( 55 / 104 )
Lines: 62.27% ( 411 / 660 )
Branches: 41.35% ( 43 / 104 )

Copy link

E2E Queue Consumers Coverage Report

Totals Coverage
Statements: 83.81% ( 1170 / 1396 )
Methods: 83.94% ( 115 / 137 )
Lines: 84.74% ( 994 / 1173 )
Branches: 70.93% ( 61 / 86 )

Copy link

E2E SIMS API Coverage Report

Totals Coverage
Statements: 66.01% ( 5571 / 8439 )
Methods: 63.3% ( 683 / 1079 )
Lines: 70.12% ( 4401 / 6276 )
Branches: 44.93% ( 487 / 1084 )

@lewischen-aot lewischen-aot added this pull request to the merge queue Oct 25, 2024
Merged via the queue into main with commit 551e3b8 Oct 25, 2024
20 checks passed
@lewischen-aot lewischen-aot deleted the feature/#3697-view-assessment-updates branch October 25, 2024 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content Tasks related to UIUX content Enhancement New feature or request Student Student Features User Story Web portal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants