Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Update candidates status #25

@maxceem

Description

@maxceem
  1. Implement functionality for "Yes"/"No" buttons for candidates.

    • Clicking any of the buttons should disable them, and send a request to the server to update the candidate status: PATHC {{TOPCODER_API_V5}}/jobCandidates/{{jobCandidateId}} with body { "status": "..." }.
    • "Yes" should update status to "shortlist", "No" - to "rejected"
    • If the request is successful, the candidate should be moved to appropriate tab withot page reloading, and without reloading of the whole list of the candidates.
      • Also, show a toastr success popup "Candidate shorlisted" / "Candidate rejected".
    • In case of error, buttons should become enabled again, candidate stays where it was before and show red toastr popup "Failed to shortlist candidate" / "Failed to reject candidate"

    image

  2. Remove the "Schedule interview" button for now

    image

General requirements

For this feature, we have to create a Redux store with actions. So we would keep the job with job candidates in Redux store, call actions to change status, and update data in store after successful requests without data realoding.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions