#4561 - Ministry Dashboard Pending Program Queue#5688
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds a new Ministry dashboard view to display all programs in pending status, providing similar functionality to the existing pending offerings view. The implementation includes comprehensive backend support, frontend UI, and thorough e2e test coverage.
Changes:
- New backend endpoint (
GET /aest/education-program/pending) with pagination, sorting, and search capabilities for pending programs - New Vue component (
ViewPendingPrograms.vue) displaying pending programs in a data table with institution details - Updated sidebar navigation to include link to the new programs queue view
- Removed status column from pending offerings view for consistency
Reviewed changes
Copilot reviewed 17 out of 17 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
ViewPendingPrograms.vue |
New AEST view component for displaying pending programs with search and pagination |
ViewPendingOfferings.vue |
Removed status column and StatusChipOffering component from pending offerings view |
DataTableContract.ts |
Added PendingProgramsHeaders definition and updated PendingOfferingsHeaders |
AppRoutes.ts |
Added PendingPrograms route constant |
EducationProgram.dto.ts (frontend) |
Added EducationProgramPendingAPIOutDTO interface |
EducationProgramApi.ts |
Added getPendingPrograms API client method |
EducationProgramService.ts (frontend) |
Added getPendingPrograms service method |
AESTRoutes.ts |
Added route configuration for ViewPendingPrograms component |
RouteConstants.ts |
Added PENDING_PROGRAMS route constant |
AESTHomeSideBar.vue |
Added "Programs" menu item under Institution requests |
education-program.ts (factory) |
Enhanced factory to support name and programStatus in initialValues |
education-program.service.ts |
Added getPendingPrograms method and addProgramsSort helper |
education-program.service.models.ts |
Added PendingEducationProgram model class |
pagination.dto.ts |
Added PendingProgramsPaginationOptionsAPIInDTO with sortField validation |
education-program.dto.ts (backend) |
Added EducationProgramPendingAPIOutDTO class |
education-program.aest.controller.ts |
Added getPendingPrograms endpoint handler |
education-program.aest.controller.getPendingPrograms.e2e-spec.ts |
Comprehensive e2e tests covering pagination, sorting, filtering, and inactive programs |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
andrewsignori-aot
left a comment
There was a problem hiding this comment.
Nice work, please take a look at the remaining comments.
| <template #[`item.offeringDelivered`]="{ item }"> | ||
| {{ capitalizeFirstWord(item.offeringDelivered) }} | ||
| </template> | ||
| <template #[`item.offeringStatus`]="{ item }"> |
There was a problem hiding this comment.
question: I know we talked about this change but I don't recall deciding to go forward with it. If we do, then we should confirm with the business.
There was a problem hiding this comment.
confirmed, AC is being added to the ticket
andrewsignori-aot
left a comment
There was a problem hiding this comment.
Nice work, thanks for making the changes, looks good 👍
|



Summary
Adds a new view to the Ministry portal to list all programs in pending status.
Frontend Changes
Backend Changes
E2E Tests