GC Digital Talent is the new recruitment platform for digital and tech jobs in the Government of Canada. // Talents numériques du GC est la nouvelle plateforme de recrutement pour les emplois numériques et technologiques au gouvernement du Canada.
This will require adding a method of getting "my requests" from the API. Maybe a "talentRequests" or "talentRequestHistory" field on the User object.
// Schema.graphql
type User {
.
.
.
talentRequest: PoolCandidateSearchRequest!
}
// PoolCandidateSearchResult.php
public function getCandidateCountAttribute()
{
$applicantFilter = $this->applicantFilter();
$candidateCount = CountPoolCandidatesByPool::candidateCount($applicantFilter);
return $candidateCount;
}
For the sorting, that can be done on the front-end similar to ExperienceSortAndFilter.tsx
Status badge table
Enum
EN
FR
NEW
Submitted
IN_PROGRESS
Under review
WAITING
Awaiting response
DONE
Complete
DONE_NO_CANDIDATES
Complete
NOT_COMPLIANT
Complete
🌎 Localization
✅ Acceptance Criteria
[ ] Schema is updated to allow a manager to requests their search requests with status, potential match count, and opening date
[ ] API offers a way for a candidate to load their history of talent request. Since this request can be expensive on the server, let's separate it into two. First request for the talent requests without the candidate count. Second, another request for the candidate count.
[ ] permissions ensure a user (even an admin) cannot view another user's request history
[ ] On page load, a list of the user's search requests is queried from the API and displayed
[ ] clicking the preview button opens the preview dialog
[ ] TODO: clicking the "view request" button in the preview does what?
ANSWER: Will either navigate user to single request page (no design atm), or be omitted with the footer action changing to "Close".
🛑 Blockers
### Blocked By
- [ ] https://github.com/GCTC-NTGC/gc-digital-talent/issues/10785
✨ Feature
The manager dashboard needs to be able to load a list of the manager's search requests and open a preview dialog.
🕵️ Details
🎨 Design
@JoshBeveridge
Manager dashboard page
Dialog view with mobile + dark/light mode views
📸 Screenshot
🙋♀️ Proposed Implementation
This will require adding a method of getting "my requests" from the API. Maybe a "talentRequests" or "talentRequestHistory" field on the User object.
For the sorting, that can be done on the front-end similar to ExperienceSortAndFilter.tsx
Status badge table
🌎 Localization
✅ Acceptance Criteria
🛑 Blockers