Skip to content

Commit 76f9b5c

Browse files
Merge branch 'develop' into listing-develop-sync
2 parents e2e5d1c + 14f90de commit 76f9b5c

File tree

6 files changed

+31
-4
lines changed

6 files changed

+31
-4
lines changed

.circleci/config.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ workflows:
244244
filters:
245245
branches:
246246
only:
247-
- listing-develop-sync
247+
- develop
248248
# This is beta env for production soft releases
249249
- "build-prod-beta":
250250
context : org-global
@@ -260,7 +260,6 @@ workflows:
260260
branches:
261261
only:
262262
- develop
263-
- listing-develop-sync
264263
# Production builds are exectuted
265264
# when PR is merged to the master
266265
# Don't change anything in this configuration

__tests__/shared/components/GUIKit/TextInput/__snapshots__/index.jsx.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ exports[`Default render 1`] = `
77
<input
88
className=""
99
defaultValue=""
10+
onBlur={[Function]}
1011
onChange={[Function]}
1112
placeholder=""
1213
type="text"

src/server/services/recruitCRM.js

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,29 @@ export default class RecruitCRMService {
288288
errObj,
289289
});
290290
}
291+
// Set hired-stage
292+
const hireStageResponse = await fetch(`${this.private.baseUrl}/v1/candidates/${candidateData.slug}/hiring-stages/${id}`, {
293+
method: 'POST',
294+
headers: {
295+
'Content-Type': 'application/json',
296+
Authorization: this.private.authorization,
297+
},
298+
body: JSON.stringify({
299+
candidate_slug: candidateData.slug,
300+
job_slug: id,
301+
status_id: '10',
302+
}),
303+
});
304+
if (hireStageResponse.status >= 400) {
305+
return res.send({
306+
error: true,
307+
status: hireStageResponse.status,
308+
url: `$${this.private.baseUrl}/v1/candidates/${candidateData.slug}/hiring-stages/${id}`,
309+
form,
310+
errObj: await hireStageResponse.json(),
311+
});
312+
}
313+
// respond to API call
291314
const data = await applyResponse.json();
292315
return res.send(data);
293316
} catch (err) {

src/shared/components/GUIKit/TextInput/index.jsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ function TextInput({
3535
delayedOnChange(e.target.value, onChange);
3636
setVal(e.target.value);
3737
}}
38+
onBlur={(e) => {
39+
delayedOnChange(e.target.value, onChange);
40+
setVal(e.target.value);
41+
}}
3842
/>
3943
{label ? (
4044
<label htmlFor="textBoxInput">

src/shared/components/challenge-detail/Header/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ export default function ChallengeHeader(props) {
204204
}
205205
}
206206

207-
const checkpointCount = checkpoints && checkpoints.numberOfUniqueSubmitters;
207+
const checkpointCount = checkpoints && checkpoints.numberOfPassedScreeningSubmissions;
208208

209209
let nextDeadlineMsg;
210210
switch ((status || '').toLowerCase()) {

src/shared/components/challenge-detail/Specification/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export default function ChallengeDetailsView(props) {
6161
let stockArtValue = '';
6262
const allowStockArt = _.find(metadata, { name: 'allowStockArt' });
6363
if (allowStockArt) {
64-
stockArtValue = allowStockArt.value;
64+
stockArtValue = allowStockArt.value === 'true';
6565
}
6666

6767
let environment = '';

0 commit comments

Comments
 (0)