Skip to content

Commit 4ee7b4b

Browse files
Merge branch 'develop' into feature-new-nav-master
2 parents 7a85b9e + 3cea135 commit 4ee7b4b

File tree

37 files changed

+5619
-4126
lines changed

37 files changed

+5619
-4126
lines changed

.circleci/config.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -176,21 +176,24 @@ workflows:
176176
only:
177177
- develop
178178
- hot-fix
179+
- survey_tc
180+
- fix-groups-updates
181+
- sort_registrations_submissions
179182
# This is alternate dev env for parallel testing
180183
- "build-test":
181184
context : org-global
182185
filters:
183186
branches:
184187
only:
185-
- hot-fix
188+
- develop
189+
- feature-contentful
186190
# This is beta env for production soft releases
187191
- "build-prod-beta":
188192
context : org-global
189193
filters:
190194
branches:
191195
only:
192196
- develop
193-
- feature-new-nav-master
194197
# Production builds are exectuted only on tagged commits to the
195198
# master branch.
196199
- "build-prod":

config/default.js

+2-15
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
/* All availalbe configuration options should be documented in the default
22
* config file, even when they are overriden in every custom configuration. */
33

4-
const { deferConfig } = require('config/defer');
5-
64
module.exports = {
75
/* Configuration of Topcoder APIs. */
86
API: {
@@ -152,6 +150,7 @@ module.exports = {
152150
COMMUNITY_API: 'http://localhost:8000',
153151
COMMUNITY_APP_GITHUB_ISSUES: 'https://github.com/topcoder-platform/community-app/issues',
154152
EMAIL_VERIFY_URL: 'http://www.topcoder-dev.com/settings/account/changeEmail',
153+
THRIVE_POLL_FEED: 'https://www.topcoder.com/feed',
155154
},
156155

157156
/* Information about Topcoder user groups can be cached in various places.
@@ -213,21 +212,9 @@ module.exports = {
213212

214213
OPEN_EXCHANGE_RATES_KEY: '',
215214

216-
/* Review type ID for AV Scans. */
217-
AV_SCAN_SCORER_REVIEW_TYPE_ID: '',
218-
219-
JWT_AUTH: {
220-
SECRET: '',
221-
VALID_ISSUERS: deferConfig(function d() {
222-
return this.VALID_ISSUERS ? this.VALID_ISSUERS.replace(/\\"/g, '')
223-
: '["https://api.topcoder-dev.com", "https://api.topcoder.com", "https://topcoder-dev.auth0.com/"]';
224-
}),
225-
},
226-
227215
/* These credentials allow Community App server to communicate with
228216
* protected TC API endpoints (on behalf of the app itself). */
229217
TC_M2M: {
230-
AUTH0_URL: '',
231218
CLIENT_ID: '',
232219
CLIENT_SECRET: '',
233220
AUDIENCE: '',
@@ -413,7 +400,7 @@ module.exports = {
413400
href: 'https://www.topcoder-dev.com/logout',
414401
},
415402
],
416-
// Config for TC EDU
403+
// Config for TC EDU - THRIVE
417404
TC_EDU_BASE_PATH: '/thrive',
418405
TC_EDU_TRACKS_PATH: '/tracks',
419406
TC_EDU_ARTICLES_PATH: '/articles',

config/development.js

-4
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,4 @@ module.exports = {
44
URL: {
55
USER_SETTINGS: '', /* No dev server is available for saved searches */
66
},
7-
8-
SECRET: {
9-
AV_SCAN_SCORER_REVIEW_TYPE_ID: '68c5a381-c8ab-48af-92a7-7a869a4ee6c3',
10-
},
117
};

config/production.js

-4
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,4 @@ module.exports = {
233233
title: 'Switch to BUSINESS',
234234
href: 'https://connect.topcoder.com',
235235
},
236-
237-
SECRET: {
238-
AV_SCAN_SCORER_REVIEW_TYPE_ID: '55bbb17d-aac2-45a6-89c3-a8d102863d05',
239-
},
240236
};

docs/contentful/animations.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Animations On Scroll
2+
Animationg Contentful components on scroll is implemetented currently for following components:
3+
- Viewport
4+
- Image
5+
- ContentBlock
6+
7+
Definig a scroll animation is easy via the Web UI. Search for the "Animation On Scroll" field and either select existing animation or create new one.
8+
![](./pics/anim1.png)
9+
10+
## Animation Model
11+
To define a default animation only `Name` and `Animate On Scroll` fields are required. There is help hint bellow each fields what is does and how to use it. For further detailed examples see: https://michalsnik.github.io/aos/. All available properties are supported from Contentful animatable components as well.
12+
![](./pics/anim2.png)

docs/contentful/index.md

+1
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,6 @@ Instructions are also provided below for developments that want to modify/create
3333
- [Custom inline components in Markdown fields](./custom-inline-components-in-markdown-fields.md)
3434
- [Miscellaneous CSS Solutions](./miscellaneous-CSS-solutions.md)
3535
- [Duplicate tool](https://github.com/topcoder-platform/contentful-duplicate-tool/blob/master/docs/contentful-duplicate.md)
36+
- [Animate Components On Scroll](./animations.md)
3637

3738
To request additional content types or adjustments to existing content models, please send you request to [email protected].

docs/contentful/pics/anim1.png

24 KB
Loading

docs/contentful/pics/anim2.png

214 KB
Loading

0 commit comments

Comments
 (0)