diff --git a/.circleci/config.yml b/.circleci/config.yml index fbb91d0..008f750 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -78,6 +78,7 @@ workflows: only: - dev - feature/shapeup4-cqrs-update + - hotfix/hide-interview-functionality # Production builds are exectuted only on tagged commits to the # master branch. diff --git a/src/routes/PositionDetails/components/CandidatesStatusFilter/index.jsx b/src/routes/PositionDetails/components/CandidatesStatusFilter/index.jsx index 35f36d8..bb5c514 100644 --- a/src/routes/PositionDetails/components/CandidatesStatusFilter/index.jsx +++ b/src/routes/PositionDetails/components/CandidatesStatusFilter/index.jsx @@ -17,6 +17,10 @@ const CandidatesStatusFilter = ({ statusFilterKey, onChange, candidates }) => { return (
{CANDIDATE_STATUS_FILTERS.map((statusFilter) => { + // issue #586 hide 'interview' tab temporarily + if (statusFilter.key === CANDIDATE_STATUS_FILTER_KEY.INTERESTED) { + return null; + } const count = _.filter(candidates, (candidate) => statusFilter.statuses.includes(candidate.status) ).length; diff --git a/src/routes/PositionDetails/components/PositionCandidates/index.jsx b/src/routes/PositionDetails/components/PositionCandidates/index.jsx index 59f4ac7..c30dca6 100644 --- a/src/routes/PositionDetails/components/PositionCandidates/index.jsx +++ b/src/routes/PositionDetails/components/PositionCandidates/index.jsx @@ -268,15 +268,16 @@ const PositionCandidates = ({ position, statusFilterKey, updateCandidate }) => {
{ - openInterviewDetailsPopup(candidate); - }, - }, - { - separator: true, - }, + // issue #586 hide option temporarily + // { + // label: "Schedule Interview", + // action: () => { + // openInterviewDetailsPopup(candidate); + // }, + // }, + // { + // separator: true, + // }, { label: "Select Candidate", action: () => { @@ -299,24 +300,25 @@ const PositionCandidates = ({ position, statusFilterKey, updateCandidate }) => {
{ - openInterviewDetailsPopup(candidate); - }, - }, - { - label: "View Previous Interviews", - action: () => { - openPrevInterviewsPopup(candidate); - }, - disabled: - !!candidate.interviews !== true || - candidate.interviews.length === 0, - }, - { - separator: true, - }, + // issue #586 hide option temporarily + // { + // label: "Schedule Another Interview", + // action: () => { + // openInterviewDetailsPopup(candidate); + // }, + // }, + // { + // label: "View Previous Interviews", + // action: () => { + // openPrevInterviewsPopup(candidate); + // }, + // disabled: + // !!candidate.interviews !== true || + // candidate.interviews.length === 0, + // }, + // { + // separator: true, + // }, { label: "Select Candidate", action: () => { diff --git a/src/routes/PositionDetails/index.jsx b/src/routes/PositionDetails/index.jsx index fd9c8f8..a3f64c0 100644 --- a/src/routes/PositionDetails/index.jsx +++ b/src/routes/PositionDetails/index.jsx @@ -62,7 +62,9 @@ const PositionDetails = ({ teamId, positionId, candidateStatus }) => { ) { onCandidateStatusChange({ urlParam: "to-review" }); } else { - onCandidateStatusChange({ urlParam: "interviews" }); + // issue #586 hide 'interview' tab temporarily + onCandidateStatusChange({ urlParam: "to-review" }); + // onCandidateStatusChange({ urlParam: "interviews" }); } } }, [position, candidateStatus, onCandidateStatusChange]);