Skip to content

Release 2020-10-07 #5065

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Oct 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ workflows:
filters:
branches:
only:
- gig-application
- develop
# This is beta env for production soft releases
- "build-prod-beta":
context : org-global
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ exports[`Default render 1`] = `
<input
className=""
defaultValue=""
onBlur={[Function]}
onChange={[Function]}
placeholder=""
type="text"
Expand Down
23 changes: 23 additions & 0 deletions src/server/services/recruitCRM.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,29 @@ export default class RecruitCRMService {
errObj,
});
}
// Set hired-stage
const hireStageResponse = await fetch(`${this.private.baseUrl}/v1/candidates/${candidateData.slug}/hiring-stages/${id}`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Authorization: this.private.authorization,
},
body: JSON.stringify({
candidate_slug: candidateData.slug,
job_slug: id,
status_id: '10',
}),
});
if (hireStageResponse.status >= 400) {
return res.send({
error: true,
status: hireStageResponse.status,
url: `$${this.private.baseUrl}/v1/candidates/${candidateData.slug}/hiring-stages/${id}`,
form,
errObj: await hireStageResponse.json(),
});
}
// respond to API call
const data = await applyResponse.json();
return res.send(data);
} catch (err) {
Expand Down
4 changes: 4 additions & 0 deletions src/shared/components/GUIKit/TextInput/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ function TextInput({
delayedOnChange(e.target.value, onChange);
setVal(e.target.value);
}}
onBlur={(e) => {
delayedOnChange(e.target.value, onChange);
setVal(e.target.value);
}}
/>
{label ? (
<label htmlFor="textBoxInput">
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/challenge-detail/Header/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export default function ChallengeHeader(props) {
}
}

const checkpointCount = checkpoints && checkpoints.numberOfUniqueSubmitters;
const checkpointCount = checkpoints && checkpoints.numberOfPassedScreeningSubmissions;

let nextDeadlineMsg;
switch ((status || '').toLowerCase()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default function ChallengeDetailsView(props) {
let stockArtValue = '';
const allowStockArt = _.find(metadata, { name: 'allowStockArt' });
if (allowStockArt) {
stockArtValue = allowStockArt.value;
stockArtValue = allowStockArt.value === 'true';
}

let environment = '';
Expand Down