feat(matches): add the candidate match screen with expandable explanations
This commit is contained in:
1 parent
0b11021b16
commit
28337d84cb
50 files changed
+4834
-37
No files matched your search
@@ -38,7 +38,28 @@ export const paths = {
|
||||
need: (needId: string, organizationId: string) =>
|
||||
`/employer/needs/${encodeURIComponent(needId)}?organization_id=${encodeURIComponent(organizationId)}`,
|
||||
candidates: "/employer/candidates",
|
||||
/** The candidate search with one need of the organization preselected. */
|
||||
candidatesForNeed: (needId: string, organizationId: string) =>
|
||||
`/employer/candidates?organization_id=${encodeURIComponent(organizationId)}&need_id=${encodeURIComponent(needId)}`,
|
||||
invitations: "/employer/invitations",
|
||||
/**
|
||||
* Opens the invitations section for one search result. The handle is the
|
||||
* organization-scoped alias from the search, never a candidate identifier.
|
||||
*/
|
||||
inviteCandidate: (input: {
|
||||
organizationId: string;
|
||||
candidateHandle: string;
|
||||
specialization: string;
|
||||
needId?: string | undefined;
|
||||
}) => {
|
||||
const query = new URLSearchParams({
|
||||
organization_id: input.organizationId,
|
||||
candidate_handle: input.candidateHandle,
|
||||
specialization: input.specialization,
|
||||
});
|
||||
if (input.needId) query.set("need_id", input.needId);
|
||||
return `/employer/invitations?${query.toString()}`;
|
||||
},
|
||||
notifications: "/employer/notifications",
|
||||
supportCases: "/employer/support/cases",
|
||||
supportNew: "/employer/support/cases/new",
|
||||
|
||||
Reference in new issue
Block a user