Skip to content

Commit 068a279

Browse files
Merge branch 'develop' into ast-fix-search
2 parents a245f8b + a1d4d92 commit 068a279

File tree

12 files changed

+48
-23
lines changed

12 files changed

+48
-23
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,7 @@ workflows:
341341
branches:
342342
only:
343343
- develop
344+
- topgear-app
344345
# This is alternate dev env for parallel testing
345346
- "build-test":
346347
context : org-global
@@ -361,15 +362,14 @@ workflows:
361362
filters:
362363
branches:
363364
only:
364-
- free
365+
- thrive-bug-fixes
365366
# This is stage env for production QA releases
366367
- "build-prod-staging":
367368
context : org-global
368369
filters: &filters-staging
369370
branches:
370371
only:
371372
- develop
372-
- ast-fix-search
373373
# Production builds are exectuted
374374
# when PR is merged to the master
375375
# Don't change anything in this configuration

src/assets/images/icon-gesture.svg

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

src/server/tc-communities/wipro/metadata.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,13 @@
2929
"menuItems": [
3030
{
3131
"title": "Home",
32-
"url": "/"
33-
}, {
34-
"title": "TopGear Operations",
35-
"openNewTab": true,
3632
"url": "https://topgear-app.wipro.com"
3733
}, {
3834
"title": "Challenges",
3935
"url": "/challenges"
4036
}, {
4137
"title": "Leaderboard",
4238
"url": "/leaderboard"
43-
}, {
44-
"title": "FAQ",
45-
"url": "https://topgear-app.wipro.com/faq-categories"
4639
}
4740
],
4841
"newsFeed": "http://www.topcoder.com/feed",

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)