-
Notifications
You must be signed in to change notification settings - Fork 14
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
#1791 - Enable Assessments tab view and NOA view for Public Institution Users - Part 1 #1926
Conversation
.../packages/backend/apps/api/src/route-controllers/assessment/assessment.controller.service.ts
Show resolved
Hide resolved
...ages/backend/apps/api/src/route-controllers/assessment/assessment.institutions.controller.ts
Outdated
Show resolved
Hide resolved
...ages/backend/apps/api/src/route-controllers/assessment/assessment.institutions.controller.ts
Outdated
Show resolved
Hide resolved
...ages/backend/apps/api/src/route-controllers/assessment/assessment.institutions.controller.ts
Outdated
Show resolved
Hide resolved
...s/backend/apps/api/src/route-controllers/student-appeal/student-appeal.controller.service.ts
Outdated
Show resolved
Hide resolved
...s/backend/apps/api/src/route-controllers/student-appeal/student-appeal.controller.service.ts
Show resolved
Hide resolved
...s/backend/apps/api/src/route-controllers/student-appeal/student-appeal.controller.service.ts
Show resolved
Hide resolved
): Promise<DetailedStudentAppealAPIOutDTO> { | ||
return this.studentAppealControllerService.getStudentAppealWithRequest( | ||
appealId, | ||
undefined, |
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.
If we move the studentId into options, we can avoid this.
|
||
/** | ||
* Get the student appeal details. | ||
* @param appealId appeal id to be retrieved. |
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.
The order of comments are reversed.
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.
are we following the order of params in the comments everywhere else 😄 .
updated
@@ -0,0 +1,49 @@ | |||
import { Controller, Param, Get, ParseIntPipe } from "@nestjs/common"; | |||
import { AuthorizedParties } from "../../auth/authorized-parties.enum"; | |||
import { |
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.
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.
Yes, same for me @dheepak-aot. When I save the file it is fixed.
@ann-aot is VS Code formatting on save?
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.
ya @andrewsignori-aot. When i was working on this file, VS code was slow and i forced shutdown, probably at that time I have missed it. I have fixed it now
} | ||
|
||
/** | ||
* Get a student application exception detected after the student application was | ||
* submitted, for instance, when there are documents to be reviewed. | ||
* @param applicationId application associated with the exception. | ||
* @param status statuses to be filtered. | ||
* @param studentId student id. |
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.
The order of comments studentId and status are reversed.
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 had no idea, that we were following the order in the comments. I have seen comments without following the order. did we decide it lately?
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.
We never enforced it on PR reviews but I would say that naturally they are usually ordered.
Is it good to have them ordered? IMO, yes.
When we create a new method, VS Code will do it for us and I believe that we should try to keep it, but not as a blocker.
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 agree with that, its good to have, when i suddenly i saw these comment, I thought we had an agreement on it and i might have missed the discussion. I have updated it
><template #body="slotProps">{{ | ||
dateOnlyLongString(slotProps.data.submittedDate) | ||
}}</template></Column | ||
> | ||
<Column field="requestType" header="Type" sortable="true"></Column> | ||
<Column header="Request form" sortable="false" | ||
<Column field="requestType" header="Type" :sortable="true"></Column> |
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.
👍
@@ -77,6 +77,9 @@ export const InstitutionRoutesConst = { | |||
STUDENT_FILE_UPLOADS: Symbol(), | |||
STUDENT_OVERAWARDS: Symbol(), | |||
STUDENT_NOTES: Symbol(), | |||
ASSESSMENTS_SUMMARY: Symbol(), | |||
APPLICATION_EXCEPTION: Symbol(), | |||
STUDENT_APPEAL_REQUEST: Symbol(), |
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.
Same route is present in student routes const as STUDENT_APPEAL_REQUESTS. One or the other way we can follow the same in both the places.
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.
Great work @ann-aot. Added few minor comments. |
@@ -0,0 +1,75 @@ | |||
<template> | |||
<student-appeal-requests-approval |
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.
full page container?
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.
<header-navigator | ||
title="Student applications" | ||
:routeLocation="{ | ||
name: InstitutionRoutesConst.STUDENT_APPLICATIONS, |
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.
The whole route can be returned to template as variable like in StudentAppealRequestsApproval.vue
@@ -20,13 +20,13 @@ | |||
<Column | |||
field="submittedDate" | |||
header="Submitted date" | |||
sortable="true" | |||
:sortable="true" |
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.
👍
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.
Great job! There are some minor/improvements already commented by other devs.
Kudos, SonarCloud Quality Gate passed!
|
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.
Great and extensive work, looks good 👍
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.
LGTM, nice work @ann-aot
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.
Thanks for making the changes @ann-aot 👍
controller.service
filecaniuse-lite
applicationDetails/
-
UPDATE
- got an update from @JasonCTang to hide the note, I will be hiding it in my next PR.Screenshots,
![image](https://private-user-images.githubusercontent.com/77353155/237523013-7427e60f-efae-4a7a-b3bd-f3151bc5e9c3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MzM3MjQsIm5iZiI6MTczODkzMzQyNCwicGF0aCI6Ii83NzM1MzE1NS8yMzc1MjMwMTMtNzQyN2U2MGYtZWZhZS00YTdhLWIzYmQtZjMxNTFiYzVlOWMzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDEzMDM0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFjOGIwYjYwNTZlOWE5NmFhYWM1MTdjNTg3ODE2MTI3YTQzNzQxY2Q3MmY2NzE1MGI2NjFlNTMwYWY1Y2QzMzImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.aHoz6QFjM2pgJQnXo2s6ky8epM0wIRhpK2CTXvcg_PI)
![image](https://private-user-images.githubusercontent.com/77353155/237523037-6f6cdc39-6b2e-421e-8ba5-38a9bd4e02da.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MzM3MjQsIm5iZiI6MTczODkzMzQyNCwicGF0aCI6Ii83NzM1MzE1NS8yMzc1MjMwMzctNmY2Y2RjMzktNmIyZS00MjFlLThiYTUtMzhhOWJkNGUwMmRhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUF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dkSBw0C-ywRCygwXuHG26FA8)
![image](https://private-user-images.githubusercontent.com/77353155/237523085-88e0340d-e854-49a6-97f6-1cb790268296.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MzM3MjQsIm5iZiI6MTczODkzMzQyNCwicGF0aCI6Ii83NzM1MzE1NS8yMzc1MjMwODUtODhlMDM0MGQtZTg1NC00OWE2LTk3ZjYtMWNiNzkwMjY4Mjk2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDEzMDM0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUzMTkzODRkOGZjNDMzYzkwNWEwMmI1ODkyMDgyYjk1MTI0NjM1YzRmYTEzYmUyZDFiOGZhY2ViYzBhZjAxYjkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.V5cJlh0LWOSr0KHWnxLJbUzB74nryNqqtMD9dwOiAyk)
![image](https://private-user-images.githubusercontent.com/77353155/237523118-a612048e-637e-416a-bd10-61042be1cc9d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MzM3MjQsIm5iZiI6MTczODkzMzQyNCwicGF0aCI6Ii83NzM1MzE1NS8yMzc1MjMxMTgtYTYxMjA0OGUtNjM3ZS00MTZhLWJkMTAtNjEwNDJiZTFjYzlkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDEzMDM0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM3YTg1NDYxNDljODZjMmNiN2ZmMDBlYTE4MWU0YWIxNzIxZWZiZmIyY2I3YzY5Y2Y5OTNhMzg0NDk4NjkzMzImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.TSwzamrelI9p5SzeqIrRSy0zWh0OMqrvjh2HvGAOh4w)
Next PRs
PR 2. Remaining request form views and NOA views
PR 3. e2e tests