Skip to content

Commit 8ea6f97

Browse files
Merge pull request #5560 from topcoder-platform/develop
Release v1.9.5
2 parents f869d9e + 19e55fc commit 8ea6f97

File tree

9 files changed

+59
-31
lines changed

9 files changed

+59
-31
lines changed

.circleci/config.yml

Lines changed: 28 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ build_docker_image: &build_docker_image
4747
./build.sh
4848
jobs:
4949
# Build & Deploy against development backend
50-
deployDev:
50+
"build-dev":
5151
<<: *defaults
5252
steps:
5353
# Initialization.
@@ -73,8 +73,9 @@ jobs:
7373
source awsenvconf
7474
source buildenvvar
7575
./master_deploy.sh -d ECS -e DEV -t latest -s dev_communityapp_taskvar -i communityapp
76+
7677
# Build & Deploy against testing backend
77-
deployTest:
78+
"build-test":
7879
<<: *defaults
7980
steps:
8081
# Initialization.
@@ -100,8 +101,9 @@ jobs:
100101
source awsenvconf
101102
source buildenvvar
102103
./master_deploy.sh -d ECS -e DEV -t latest -s test_communityapp_taskvar -i communityapp
104+
103105
# Build & Deploy against testing backend
104-
deployQA:
106+
"build-qa":
105107
<<: *defaults
106108
steps:
107109
# Initialization.
@@ -127,8 +129,9 @@ jobs:
127129
source awsenvconf
128130
source buildenvvar
129131
./master_deploy.sh -d ECS -e DEV -t latest -s qa_communityapp_taskvar -i communityapp
132+
130133
# Build & Deploy against prod api backend
131-
deployBeta:
134+
"build-prod-beta":
132135
<<: *defaults
133136
steps:
134137
# Initialization.
@@ -156,7 +159,7 @@ jobs:
156159
./master_deploy.sh -d ECS -e PROD -t latest -s beta_communityapp_taskvar, -i communityapp
157160
158161
# Build & Deploy against prod api backend
159-
deployStag:
162+
"build-prod-staging":
160163
<<: *defaults
161164
steps:
162165
# Initialization.
@@ -189,7 +192,7 @@ jobs:
189192
--data '{"branch":"'"$CIRCLE_BRANCH"'","parameters":{"run_smoketesting":true , "run_performancetesting":false, "run_basedeployment": false}}'
190193
191194
# Build & Deploy against production backend
192-
deployProd:
195+
"build-prod":
193196
<<: *defaults
194197
steps:
195198
# Initialization.
@@ -220,6 +223,8 @@ jobs:
220223
--header "Circle-Token: ${CIRCLE_TOKEN}" \
221224
--header 'content-type: application/json' \
222225
--data '{"branch":"'"$CIRCLE_BRANCH"'","parameters":{"run_smoketesting":true , "run_performancetesting":false, "run_basedeployment": false}}'
226+
227+
# Automated Smoke Testing against Staging
223228
Smoke-Testing-On-Staging:
224229
<<: *defaults
225230
steps:
@@ -244,6 +249,8 @@ jobs:
244249
./automated-smoke-test/smoketest.sh automation-config-staging.json prod
245250
- store_artifacts:
246251
path: /automated-smoke-test/test-results
252+
253+
# Automated Smoke Testing against Production
247254
Smoke-Testing-On-Production:
248255
<<: *defaults
249256
steps:
@@ -266,6 +273,7 @@ jobs:
266273
source awsenvconf
267274
source buildenvvar
268275
./automated-smoke-test/smoketest.sh automation-config-prod.json prod
276+
269277
# Test job for the cases when we do not need deployment. It just rapidly
270278
# installs (updates) app dependencies, and runs tests (ESLint, Stylelint,
271279
# Jest unit-tests).
@@ -327,37 +335,37 @@ workflows:
327335
when: << pipeline.parameters.run_basedeployment >>
328336
jobs:
329337
# Development builds are executed on "new-develop" branch only.
330-
- deployDev:
338+
- "build-dev":
331339
context : org-global
332340
filters:
333341
branches:
334342
only:
335343
- develop
336344
# This is alternate dev env for parallel testing
337-
- deployTest:
345+
- "build-test":
338346
context : org-global
339347
filters:
340348
branches:
341349
only:
342350
- free
343351
# This is alternate dev env for parallel testing
344-
- deployQA:
352+
- "build-qa":
345353
context : org-global
346354
filters:
347355
branches:
348356
only:
349357
- free
350358
# This is beta env for production soft releases
351-
- deployBeta:
359+
- "build-prod-beta":
352360
context : org-global
353361
filters:
354362
branches:
355363
only:
356-
- free
364+
- thrive-bug-fixes
357365
# This is stage env for production QA releases
358-
- deployStag:
366+
- "build-prod-staging":
359367
context : org-global
360-
filters:
368+
filters: &filters-staging
361369
branches:
362370
only:
363371
- develop
@@ -367,9 +375,9 @@ workflows:
367375
# That might trigger wrong branch to be
368376
# deployed on the production
369377
# master branch.
370-
- deployProd:
378+
- "build-prod":
371379
context : org-global
372-
filters:
380+
filters: &filters-prod
373381
branches:
374382
only:
375383
- master
@@ -382,7 +390,9 @@ workflows:
382390
- develop
383391

384392
Smoke Testing:
385-
when: << pipeline.parameters.run_smoketesting >>
393+
when:
394+
and:
395+
- << pipeline.parameters.run_smoketesting >>
386396
jobs:
387397
- Hold [Smoke-Testing]:
388398
type: approval
@@ -391,17 +401,13 @@ workflows:
391401
requires:
392402
- Hold [Smoke-Testing]
393403
filters:
394-
branches:
395-
only:
396-
- develop
404+
<<: *filters-staging
397405
- Smoke-Testing-On-Production:
398406
context : org-global
399407
requires:
400408
- Hold [Smoke-Testing]
401409
filters:
402-
branches:
403-
only:
404-
- master
410+
<<: *filters-prod
405411

406412
Performance Testing:
407413
when: << pipeline.parameters.run_performancetesting >>

src/assets/images/icon-gesture.svg

Lines changed: 1 addition & 3 deletions
Loading
Lines changed: 17 additions & 0 deletions
Loading

src/shared/components/Contentful/SearchPageFilter/SearchPageFilter.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export class SearchPageFilterInner extends Component {
110110
<div className={theme.section}>
111111
<button
112112
type="button"
113-
className={`${theme['section-header']} ${isShowSubCategory ? theme.expanded : ''}`}
113+
className={`${theme['section-header']} ${!isShowSubCategory ? theme.expanded : ''}`}
114114
onClick={() => { this.setState({ isShowSubCategory: !isShowSubCategory }); }}
115115
>
116116
<span className={theme['section-title']}>sub category</span>

src/shared/components/Contentful/SearchPageFilter/themes/default.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ $green-color: #137d60;
102102
}
103103

104104
.expanded {
105+
margin-bottom: 0 !important;
106+
105107
svg {
106108
-moz-transform: scale(-1, -1);
107109
-o-transform: scale(-1, -1);

src/shared/components/Contentful/TracksTree/ChildListRow/themes/default.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ $text-gray: #7f7f7f;
7777
flex-direction: column;
7878
margin-left: 22px;
7979
color: $text-black;
80-
cursor: pointer;
80+
align-items: flex-start;
8181

8282
> div {
8383
position: relative;

src/shared/components/Header/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import _ from 'lodash';
22
import React, { useState, useEffect } from 'react';
33
import PT from 'prop-types';
44
import { config } from 'topcoder-react-utils';
5-
import Logo from 'assets/images/tc-logo.svg';
5+
import Logo from 'assets/images/tc-logo-pride.svg';
66
import { tracking } from '../../actions';
77

88
import './style.scss';

src/shared/containers/EDU/styles/home.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
align-items: center;
147147
background-image: url(assets/images/data-back.svg);
148148
width: 78px;
149-
height: 69px;
149+
height: 71px;
150150
}
151151

152152
.trackIconDesign {
@@ -207,6 +207,7 @@
207207

208208
@include xs-to-sm {
209209
margin: 32px 0 0 0;
210+
text-align: center;
210211
}
211212

212213
.trackTitle {
@@ -219,7 +220,7 @@
219220
text-align: left;
220221
text-transform: uppercase;
221222
margin-bottom: 13px;
222-
display: block;
223+
display: inline-block;
223224

224225
@include xs-to-sm {
225226
text-align: center;

src/shared/containers/challenge-detail/index.jsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,8 +363,12 @@ class ChallengeDetailPageContainer extends React.Component {
363363
metadata,
364364
} = challenge;
365365

366-
const { track } = legacy || {};
366+
let { track } = legacy || {};
367367

368+
if (!track) {
369+
/* eslint-disable prefer-destructuring */
370+
track = challenge.track || '';
371+
}
368372
const submissionsViewable = _.find(metadata, { type: 'submissionsViewable' });
369373

370374
const isLoggedIn = !_.isEmpty(auth.tokenV3);

0 commit comments

Comments
 (0)