Skip to content

Commit 4d6ae31

Browse files
authored
Merge pull request #3359 from topcoder-platform/develop
Merge Develop to Master
2 parents a04c6b0 + 23ff0a3 commit 4d6ae31

File tree

7 files changed

+14
-17
lines changed

7 files changed

+14
-17
lines changed

.circleci/config.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -175,25 +175,21 @@ workflows:
175175
branches:
176176
only:
177177
- develop
178-
- hot-fixes-4
179-
- feature-contentful
178+
- hot-fix
180179
# This is alternate dev env for parallel testing
181180
- "build-test":
182181
context : org-global
183182
filters:
184183
branches:
185184
only:
186-
- legacy-tco
187185
- hot-fix
188-
- mm-leaderboard-misc-fixes
189186
# This is beta env for production soft releases
190187
- "build-prod-beta":
191188
context : org-global
192189
filters:
193190
branches:
194191
only:
195192
- develop
196-
- hot-fix
197193
# Production builds are exectuted only on tagged commits to the
198194
# master branch.
199195
- "build-prod":

src/shared/components/tc-communities/Footer2/index.jsx

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,18 @@
44
*/
55

66
import React from 'react';
7-
7+
import moment from 'moment';
88
import TopcoderLogoGray from '../../../../assets/images/tc-communities/logo_topcoder_gray.svg';
99
import './style.scss';
1010

11+
1112
export default function Footer2() {
1213
return (
1314
<div styleName="footer">
1415
<div styleName="content">
1516
<TopcoderLogoGray />
1617
<span styleName="copyright">
17-
&copy; Topcoder, 2017
18+
&copy; Topcoder, {moment().year()}
1819
</span>
1920
<div styleName="right">
2021
<a

src/shared/components/tc-communities/communities/veterans/Footer/index.jsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import moment from 'moment';
12
import React from 'react';
23
import PT from 'prop-types';
34
import { themr } from 'react-css-super-themr';
@@ -8,7 +9,7 @@ function Footer({ theme }) {
89
return (
910
<footer className={theme.footer}>
1011
<div className={theme.footerText}>
11-
&copy; Copyright Topcoder Ltd 2017
12+
&copy; Copyright Topcoder Ltd {moment().year()}
1213
</div>
1314
</footer>
1415
);

src/shared/components/tc-communities/communities/wipro/Footer/index.jsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import moment from 'moment';
12
import React from 'react';
23
import PT from 'prop-types';
34
import { themr } from 'react-css-super-themr';
@@ -8,7 +9,7 @@ function Footer({ theme }) {
89
return (
910
<footer className={theme.footer}>
1011
<div className={theme.footerText}>
11-
&copy; Copyright Wipro Ltd 2017
12+
&copy; Copyright Wipro Ltd {moment().year()}
1213
</div>
1314
</footer>
1415
);

src/shared/components/tc-communities/communities/wipro/Home/index.jsx

-8
Original file line numberDiff line numberDiff line change
@@ -165,14 +165,6 @@ export default function Home(props) {
165165
link={[{
166166
title: 'Start Earning',
167167
url: 'challenges',
168-
}, {
169-
newTab: true,
170-
title: 'Become a Reviewer',
171-
url: 'https://help.topcoder.com/hc/requests/new',
172-
}, {
173-
newTab: true,
174-
title: 'Become a Copilot',
175-
url: 'https://help.topcoder.com/hc/requests/new',
176168
}]}
177169
theme={ImageTextStyles}
178170
imageSrc="/community-app-assets/themes/wipro/home/image-text-do.png"

src/shared/containers/challenge-listing/Listing/index.jsx

+5
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,18 @@ export class ListingContainer extends React.Component {
117117
const {
118118
communitiesList,
119119
selectedCommunityId,
120+
groupIds,
121+
communityId,
120122
} = this.props;
121123
let { filter } = this.props;
122124
let communityFilter = communitiesList.data.find(
123125
item => item.communityId === selectedCommunityId,
124126
);
125127
if (communityFilter) communityFilter = communityFilter.challengeFilter;
126128
if (communityFilter) filter = combine(filter, communityFilter);
129+
if (communityId && groupIds.length > 0) {
130+
filter.groupIds = groupIds;
131+
}
127132
return {
128133
back: mapToBackend(filter),
129134
front: filter,

src/shared/routes/Communities/Zurich/Routes.jsx

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ function Zurich({ base, meta, userGroups }) {
8181
meta,
8282
newChallengeDetails: true,
8383
ChallengeListingBanner,
84+
groupIds: meta.groupIds,
8485
})}
8586
exact
8687
path={`${base}/challenges`}

0 commit comments

Comments
 (0)