Skip to content

Commit a3df68d

Browse files
merge with develop branch
2 parents c8e46b4 + 0eca022 commit a3df68d

File tree

53 files changed

+15070
-1862
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+15070
-1862
lines changed

.circleci/config.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,15 +181,19 @@ workflows:
181181
filters:
182182
branches:
183183
only:
184-
- hot-fix-show-best-rating-color-in-profile
184+
- feature-contentful
185185
# This is beta env for production soft releases
186186
- "build-prod-beta":
187187
context : org-global
188188
filters:
189189
branches:
190190
only:
191191
- develop
192-
# Production builds are exectuted only on tagged commits to the
192+
# Production builds are exectuted
193+
# when PR is merged to the master
194+
# Don't change anything in this configuration
195+
# That might trigger wrong branch to be
196+
# deployed on the production
193197
# master branch.
194198
- "build-prod":
195199
context : org-global

Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ ARG CONTENTFUL_TOPGEAR_SPACE_ID
2929
ARG CONTENTFUL_TOPGEAR_CDN_API_KEY
3030
ARG CONTENTFUL_TOPGEAR_PREVIEW_API_KEY
3131

32+
# Credentials for access to Comcast space in Contentful CMS
33+
ARG CONTENTFUL_COMCAST_SPACE_ID
34+
ARG CONTENTFUL_COMCAST_CDN_API_KEY
35+
ARG CONTENTFUL_COMCAST_PREVIEW_API_KEY
36+
3237
#Credentials for Contentfu EDU space
3338

3439
ARG CONTENTFUL_MANAGEMENT_TOKEN
@@ -79,6 +84,11 @@ ENV CONTENTFUL_TOPGEAR_SPACE_ID=$CONTENTFUL_TOPGEAR_SPACE_ID
7984
ENV CONTENTFUL_TOPGEAR_CDN_API_KEY=$CONTENTFUL_TOPGEAR_CDN_API_KEY
8085
ENV CONTENTFUL_TOPGEAR_PREVIEW_API_KEY=$CONTENTFUL_TOPGEAR_PREVIEW_API_KEY
8186

87+
# Credentials for access to Comcast space in Contentful CMS
88+
ENV CONTENTFUL_COMCAST_SPACE_ID=$CONTENTFUL_COMCAST_SPACE_ID
89+
ENV CONTENTFUL_COMCAST_CDN_API_KEY=$CONTENTFUL_COMCAST_CDN_API_KEY
90+
ENV CONTENTFUL_COMCAST_PREVIEW_API_KEY=$CONTENTFUL_COMCAST_PREVIEW_API_KEY
91+
8292
ENV FILESTACK_API_KEY=$FILESTACK_API_KEY
8393
ENV FILESTACK_SUBMISSION_CONTAINER=$FILESTACK_SUBMISSION_CONTAINER
8494

__tests__/shared/components/Contentful/SearchBar/__snapshots__/SearchBar.jsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ exports[`Matches shallow shapshot 1`] = `
1313
onBlur={[Function]}
1414
onChange={[Function]}
1515
onFocus={[Function]}
16-
placeholder="Search.."
16+
placeholder="Search..."
1717
type="text"
1818
value=""
1919
/>

__tests__/shared/components/Header/__snapshots__/index.jsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ exports[`Default render 1`] = `
143143
"separator": true,
144144
},
145145
Object {
146-
"href": "https://community-app.topcoder-dev.com/thrive/tracks?track=Topcoder",
146+
"href": "/thrive/tracks?track=Topcoder",
147147
"title": "Help",
148148
},
149149
Object {

__tests__/shared/components/Settings/Preferences/__snapshots__/index.jsx.snap

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,31 +23,17 @@ exports[`renders preferences setting page correctly 1`] = `
2323
width="30"
2424
xmlns="http://www.w3.org/2000/svg"
2525
/>,
26-
"invitation letter": <Invletter
27-
height="30"
28-
viewBox="0 0 30 30"
29-
width="30"
30-
xmlns="http://www.w3.org/2000/svg"
31-
/>,
3226
"payment": <Payment
3327
viewBox="0 0 34 30"
3428
xmlns="http://www.w3.org/2000/svg"
3529
/>,
36-
"referrals": <Referral
37-
height="30"
38-
viewBox="0 0 30 30"
39-
width="30"
40-
xmlns="http://www.w3.org/2000/svg"
41-
/>,
4230
}
4331
}
4432
names={
4533
Array [
4634
"e-mail",
4735
"forum",
4836
"payment",
49-
"invitation letter",
50-
"referrals",
5137
]
5238
}
5339
toggle={[Function]}

__tests__/shared/components/__snapshots__/Content.jsx.snap

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,22 @@ exports[`Matches shallow shapshot 1`] = `
512512
Zurich Community
513513
</Link>
514514
</li>
515+
<li>
516+
<Link
517+
replace={false}
518+
to="/__community__/tco20"
519+
>
520+
TCO20
521+
</Link>
522+
</li>
523+
<li>
524+
<Link
525+
replace={false}
526+
to="/__community__/comcast"
527+
>
528+
Comcast Community
529+
</Link>
530+
</li>
515531
</ul>
516532
<h3>
517533
Previews of Contentful Components

0 commit comments

Comments
 (0)