Skip to content

Sync auth0-RS256-Idtoken with develop #5097

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 241 commits into from
Oct 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
241 commits
Select commit Hold shift + click to select a range
8d7901b
Fix Missing Styles
fikzzzy Aug 24, 2020
30bb211
Fix Lint
fikzzzy Aug 24, 2020
dc52de0
Refactor challenge list
LieutenantRoger Aug 24, 2020
b41f46c
Fix tests
LieutenantRoger Sep 2, 2020
54ef309
restore the package-lock.json
LieutenantRoger Sep 2, 2020
2f734e3
#4294: Fix dropdown issue being hidden behind footer on profile setti…
gets0ul Sep 10, 2020
6520f19
Update ChallengeTags.jsx
rashmi73 Sep 12, 2020
0e84539
additional fix on 2020-09-12
LieutenantRoger Sep 12, 2020
334596e
Update ChallengeTags.jsx
rashmi73 Sep 12, 2020
229ed9a
integrate sub-community filter
LieutenantRoger Sep 12, 2020
5ec9c71
adjust the groups param
LieutenantRoger Sep 12, 2020
934d620
update groupId into groups
LieutenantRoger Sep 13, 2020
e0ff94e
Merge remote-tracking branch 'remotes/upstream/milestone-20200924' in…
gets0ul Sep 14, 2020
f719dcd
Move out inline style to .scss file
gets0ul Sep 14, 2020
d307664
New scss for header
gets0ul Sep 14, 2020
980bbc4
Fix test snapshot.
gets0ul Sep 14, 2020
2f14cfb
challenge submission
kkartunov Sep 14, 2020
e9476a9
GUI challenge fixes
kkartunov Sep 15, 2020
cc714c8
Merge branch 'gui-kit-397166' into gui-kit-components
kkartunov Sep 15, 2020
e8e1768
Merge pull request #4923 from topcoder-platform/develop
sushilshinde Sep 15, 2020
47b652f
GUIKit prod fixes and implement of #4890
kkartunov Sep 15, 2020
d21cfd1
Merge pull request #4924 from topcoder-platform/gui-kit-components
kkartunov Sep 15, 2020
a7a0567
Merge branch 'develop' into gui-kit-components
kkartunov Sep 15, 2020
d21a40a
Merge pull request #4925 from topcoder-platform/gui-kit-components
kkartunov Sep 15, 2020
94e068e
fix(profile-page): add spacing before wins count
cagdas001 Sep 15, 2020
bd2e804
f2f submissionidlegacyid
rashmi73 Sep 15, 2020
45a4d8f
Location dropdown final fixes
kkartunov Sep 16, 2020
5023f5e
Implement #4921
kkartunov Sep 16, 2020
f08c663
Merge pull request #4936 from topcoder-platform/gui-kit-components
kkartunov Sep 16, 2020
8f1f21f
fix: for issue #4256
narekcat Sep 16, 2020
4b05251
Merge pull request #4933 from rashmi73/f2f-submissionlegacyid
luizrrodrigues Sep 16, 2020
7559bd1
ci: Deploy submissionId-hotfix to Dev an Stag
luizrrodrigues Sep 16, 2020
99f0aa3
Merge pull request #4892 from gets0ul/issue-4294
luizrrodrigues Sep 16, 2020
941984d
ci: Deploy milestone-20200924 to Dev and Stag
luizrrodrigues Sep 16, 2020
655d666
fixed cors on test
kkartunov Sep 16, 2020
83f7994
Merge pull request #4941 from topcoder-platform/gui-kit-components
kkartunov Sep 16, 2020
6ec87e2
Merge pull request #19 from topcoder-platform/submissionId-hotfix
rashmi73 Sep 16, 2020
88f6875
Update index.jsx
rashmi73 Sep 16, 2020
5c34df6
tests fix
rashmi73 Sep 16, 2020
7441f6d
Merge pull request #4942 from rashmi73/f2f-submissionlegacyid
luizrrodrigues Sep 16, 2020
ba22b45
test fix
rashmi73 Sep 16, 2020
3c2347a
test fix
rashmi73 Sep 16, 2020
031fc0d
Merge pull request #4902 from rashmi73/issue_4734
luizrrodrigues Sep 16, 2020
9392ebb
Merge pull request #4805 from fikzzzy/fix-style-2
luizrrodrigues Sep 17, 2020
7cf8978
Merge pull request #4930 from cagdas001/milestone-20200924
luizrrodrigues Sep 17, 2020
136f997
ci: Deploy milestone-20200917 to Dev and Stag
luizrrodrigues Sep 17, 2020
c4df658
Merge branch 'develop' into submissionId-hotfix
luizrrodrigues Sep 17, 2020
b5c36b4
ci: remove submissionId-hotfix from Stag
luizrrodrigues Sep 17, 2020
ae3382e
ci: Remove milestone-20200924 form Stag and Dev
luizrrodrigues Sep 17, 2020
0076690
Merge pull request #4943 from topcoder-platform/milestone-20200924
luizrrodrigues Sep 17, 2020
f0d84ce
Merge pull request #4944 from topcoder-platform/submissionId-hotfix
luizrrodrigues Sep 17, 2020
2ab8b17
Merge pull request #4945 from topcoder-platform/feature-contentful
luizrrodrigues Sep 17, 2020
b3f613d
ci: Fix deploy develop to Dev env
luizrrodrigues Sep 17, 2020
f4d23ba
Merge pull request #4946 from topcoder-platform/develop
sushilshinde Sep 17, 2020
1f47d91
ci: deploy on stage and qa
sushilshinde Sep 18, 2020
39c44ba
update the groupId into group name
LieutenantRoger Sep 19, 2020
6f843f5
fix issues on sub community dropdown list
LieutenantRoger Sep 20, 2020
0d0b9ac
Fix indentation and font size
fikzzzy Sep 21, 2020
2846f46
Fix: for #4594
luizrrodrigues Sep 21, 2020
07e1bab
ci: Deploy feature-refactor-challengelist to Test
luizrrodrigues Sep 21, 2020
69030c7
ci: Deploy feature-refactor-challengelist to Stag
luizrrodrigues Sep 21, 2020
46d11e6
Fix issues for:
LieutenantRoger Sep 21, 2020
fa93b3d
Merge pull request #4983 from topcoder-platform/feature-refactor-chal…
sushilshinde Sep 22, 2020
5009021
Fix issue: https://github.com/topcoder-platform/community-app/issues/…
LieutenantRoger Sep 22, 2020
ea48bcd
Display the number of filters applied
gets0ul Sep 23, 2020
e1d09bd
Merge pull request #4986 from gets0ul/issue-4966
sushilshinde Sep 23, 2020
e3df97b
Gig apply page init
kkartunov Sep 23, 2020
1b0a5fa
Implements #4916
kkartunov Sep 23, 2020
962d894
fix: for issue #4964
narekcat Sep 23, 2020
2f890d6
fix: for issue #4784
narekcat Sep 23, 2020
d025513
Fix sorted of by 'Most recent' of My Challenges bucket and sorted by …
gets0ul Sep 23, 2020
fbe8ea2
fix(challenge-listing): do not render buckets that have 0 challenges
cagdas001 Sep 23, 2020
5c59bf9
Fix issue: https://github.com/topcoder-platform/community-app/issues/…
LieutenantRoger Sep 23, 2020
959e5a2
Fix comment. Sorting by review start date is ascending as in prod env.
gets0ul Sep 23, 2020
4e60e7a
Revert back the comment. As sorting is in descending order.
gets0ul Sep 23, 2020
f0517d3
Merge pull request #4960 from fikzzzy/fix-style-2
luizrrodrigues Sep 23, 2020
904be23
Terms: removed unnecessary reassign
luizrrodrigues Sep 24, 2020
edf57c8
Merge pull request #4990 from narekcat/issue-4784
luizrrodrigues Sep 24, 2020
1245e7c
fix: for issue #4784
luizrrodrigues Sep 24, 2020
66ef300
Merge pull request #4993 from topcoder-platform/feature-refactor-chal…
luizrrodrigues Sep 24, 2020
d8603af
ci: Deploy gig-pages-chatbot to QA env
luizrrodrigues Sep 24, 2020
a206913
ci: Deploy milestone-20200917 to QA env
luizrrodrigues Sep 24, 2020
74870c9
Merge pull request #4992 from cagdas001/fix-4962
luizrrodrigues Sep 24, 2020
57918b7
ci: Remove feature-refactor-challengelist from Stag env
luizrrodrigues Sep 24, 2020
79d70ee
Sync milestone-20200917 with develop
luizrrodrigues Sep 24, 2020
edd95c9
Sync milestone-20200917 with develop
luizrrodrigues Sep 24, 2020
3e74a95
fix: for issue #4784
luizrrodrigues Sep 24, 2020
41057c7
ci: Deploy milestone-20200917 to QA env
luizrrodrigues Sep 24, 2020
548c4fc
Merge develop into milestone-20200917
luizrrodrigues Sep 24, 2020
58f8e20
Merge develop into milestone-20200917
luizrrodrigues Sep 24, 2020
58cd7c2
Merge pull request #4996 from topcoder-platform/develop
luizrrodrigues Sep 24, 2020
0943754
fix: for issue #4784
luizrrodrigues Sep 24, 2020
6c6df9e
ci: Deploy milestone-20200917 to QA env
luizrrodrigues Sep 24, 2020
346296a
Merge branch 'feature-refactor-challengelist' into issue-4964
narekcat Sep 24, 2020
92df869
Apply the same sorting to other buckets.
gets0ul Sep 24, 2020
677e644
Merge pull request #4998 from topcoder-platform/milestone-20200917
luizrrodrigues Sep 24, 2020
6ed893f
fix: for issue #4784
luizrrodrigues Sep 24, 2020
7b8da36
Terms: Hotfix show details before redirect
luizrrodrigues Sep 24, 2020
979e21a
Merge pull request #4999 from topcoder-platform/issue-4784-hotfix
luizrrodrigues Sep 24, 2020
c865c7c
fix: for release v1.2.3
sushilshinde Sep 24, 2020
fe656d6
Merge pull request #5000 from topcoder-platform/develop
sushilshinde Sep 24, 2020
f14f861
fix(challenge-listing): add NO_LIVE_CHALLENGES messsage to All bucket…
cagdas001 Sep 24, 2020
4de51d2
Connect to Recruit CRM
kkartunov Sep 25, 2020
7641323
Country dropdown
kkartunov Sep 25, 2020
524e091
Fix challenge detail screen
LieutenantRoger Sep 26, 2020
547898b
SubmissionManagement - Get challenge status from utils/tc
luizrrodrigues Sep 28, 2020
9610cd8
SubmissionManagement - Hide DELETE button from Design track
luizrrodrigues Sep 28, 2020
e177705
fix: for issue #4948
luizrrodrigues Sep 28, 2020
b17b05e
fix: for issue #4948
luizrrodrigues Sep 28, 2020
e6e978e
Merge pull request #5013 from topcoder-platform/issue-4948
luizrrodrigues Sep 28, 2020
594519b
Temporary hide MY ACTIVE CHALLENGES in Dashboard
luizrrodrigues Sep 28, 2020
ceb978a
Merge pull request #5014 from topcoder-platform/issue-5004
luizrrodrigues Sep 28, 2020
64a6ef5
Revert Review Opportunities sort to asc
luizrrodrigues Sep 29, 2020
40035b7
ci: deploy tcx-202010 to QA env
luizrrodrigues Sep 29, 2020
692b747
Merge pull request #4991 from gets0ul/issue-4973
luizrrodrigues Sep 29, 2020
83e012b
Merge pull request #4989 from narekcat/issue-4964
luizrrodrigues Sep 29, 2020
8e0504e
ci: deploy feature-refactor-challengelist to Stag
luizrrodrigues Sep 29, 2020
0a9e8c8
#4891 custom tweeks
kkartunov Sep 29, 2020
e0ce3c2
ci: on qa
kkartunov Sep 29, 2020
db8315b
stays on main challenge listing when view more challenges is clicked.
gets0ul Sep 29, 2020
09cecea
Update index.jsx
PrakashDurlabhji Sep 29, 2020
c92598a
#4891 team review fixes
kkartunov Sep 30, 2020
ebb4c29
Better errors for gig details page
kkartunov Sep 30, 2020
6f97511
Date picker fixes
kkartunov Sep 30, 2020
79a6894
update the track name
LieutenantRoger Sep 30, 2020
96385a7
Implements #5023
kkartunov Sep 30, 2020
ea9fd9d
ci: deploy rdm-email-switch to QA env
luizrrodrigues Sep 30, 2020
0633ef3
Apply page fixes
kkartunov Sep 30, 2020
7e0f013
Update track name
luizrrodrigues Sep 30, 2020
97d3c88
Merge pull request #5008 from topcoder-platform/feature-refactor-chal…
luizrrodrigues Oct 1, 2020
003bc67
fix: for issue #4965
luizrrodrigues Oct 1, 2020
49efb9c
Merge pull request #5018 from PrakashDurlabhji/issue_4926_1
luizrrodrigues Oct 1, 2020
ef64236
ci: Deploy tcx-202010 to Stag env
luizrrodrigues Oct 1, 2020
8bef940
Merge pull request #5028 from topcoder-platform/tcx-202010
luizrrodrigues Oct 1, 2020
8836b4a
fix: for issue #4948
luizrrodrigues Oct 1, 2020
c738e0a
Merge branch 'develop' into rdm-email-switch
luizrrodrigues Oct 1, 2020
2a7a1c9
Merge pull request #5024 from topcoder-platform/rdm-email-switch
luizrrodrigues Oct 1, 2020
b0cc9c7
Merge branch 'develop' into gig-pages-chatbot
luizrrodrigues Oct 1, 2020
960fedd
Merge pull request #5030 from topcoder-platform/gig-pages-chatbot
luizrrodrigues Oct 1, 2020
5151e2d
Fix validation for #4891
kkartunov Oct 1, 2020
b307906
fix groupId issues
LieutenantRoger Oct 1, 2020
4adf0fc
Fixed file validation
kkartunov Oct 1, 2020
0a44c84
Merge branch 'develop' into gig-application
kkartunov Oct 1, 2020
80a216f
Merge pull request #5025 from topcoder-platform/gig-application
luizrrodrigues Oct 1, 2020
80cb5b3
release: v1.2.4
sushilshinde Oct 1, 2020
bdfe08c
Merge pull request #5033 from topcoder-platform/develop
sushilshinde Oct 1, 2020
4993459
fix: add placeholder challenge cards when loading
cagdas001 Oct 1, 2020
c0c7eeb
fix(challenge-listing): ongoing challenges bucket won't include openF…
cagdas001 Oct 1, 2020
a352932
Merge pull request #5017 from gets0ul/issue_5002-fix
luizrrodrigues Oct 2, 2020
cb067d6
Merge pull request #5001 from cagdas001/fix-4962
luizrrodrigues Oct 2, 2020
f2aba05
Challenge Details - Fix allowStockArt to design track
luizrrodrigues Oct 2, 2020
9613864
Merge pull request #5038 from topcoder-platform/issue-5037
luizrrodrigues Oct 2, 2020
0f7b0e6
ci: deploy tcx-202010 to QA env
luizrrodrigues Oct 2, 2020
79069fa
Merge remote-tracking branch 'origin/listing-develop-sync' into featu…
luizrrodrigues Oct 5, 2020
87bf184
Challengelist sync missing COMPETITION_TRACKS rename
luizrrodrigues Oct 5, 2020
aab2a5a
Merge branch 'feature-refactor-challengelist' into listing-develop-sync
luizrrodrigues Oct 5, 2020
635e834
Merge branch 'listing-develop-sync' into feature-refactor-challengeli…
luizrrodrigues Oct 5, 2020
bd61d11
Merge pull request #5031 from topcoder-platform/feature-refactor-chal…
luizrrodrigues Oct 5, 2020
b514ad3
MMLeaderboard #5012
kkartunov Oct 5, 2020
a9fb152
ci: on QA
kkartunov Oct 5, 2020
910b6a7
Fixed sorting
kkartunov Oct 5, 2020
944b0fd
fix side impact
LieutenantRoger Oct 5, 2020
0a5c95c
Merge pull request #5052 from topcoder-platform/Issue-4976
luizrrodrigues Oct 5, 2020
e5a0e40
Revert hidden all communities
luizrrodrigues Oct 5, 2020
b9ff0f5
Hide cognitive and blockchain from dropdown filter
luizrrodrigues Oct 5, 2020
8472d1d
Merge pull request #5054 from topcoder-platform/issue-5048
luizrrodrigues Oct 5, 2020
6ad801e
Added hideFIlter to getList
luizrrodrigues Oct 5, 2020
d748517
Merge pull request #5055 from topcoder-platform/issue-5048
luizrrodrigues Oct 5, 2020
18ee933
fix: for issue #5045
luizrrodrigues Oct 5, 2020
7750231
Merge pull request #4938 from narekcat/issue-4256
luizrrodrigues Oct 6, 2020
734b390
ci: deploy tcx-202010 to Stag
luizrrodrigues Oct 6, 2020
1fb7677
fix: issue #5050
gets0ul Oct 6, 2020
614345e
Fix #5034
kkartunov Oct 6, 2020
3b7f58c
Fixed tests #5034
kkartunov Oct 6, 2020
9c91a24
Add hire stage to gig apply
kkartunov Oct 6, 2020
7212bf2
initial chnages
kkartunov Oct 6, 2020
8e68052
Fix #5059
kkartunov Oct 6, 2020
988b5d2
ci: deploy gig-application-fixes to QA env
luizrrodrigues Oct 6, 2020
f9d386c
Change default bucket to Open For Registration
marioskranitsas Oct 6, 2020
6ba93d9
Merge pull request #5058 from gets0ul/issue-5050
luizrrodrigues Oct 6, 2020
dd8b91a
ci: deploy listing-develop-sync to QA env
luizrrodrigues Oct 6, 2020
381aac7
fix: for issue #5036
luizrrodrigues Oct 7, 2020
724bcef
Merge pull request #5062 from topcoder-platform/gig-application-fixes
luizrrodrigues Oct 7, 2020
57a4c2e
Merge branch 'develop' into tcx-202010
luizrrodrigues Oct 7, 2020
14f90de
Merge pull request #5063 from topcoder-platform/tcx-202010
luizrrodrigues Oct 7, 2020
5210a03
fix: update for issue #5050
gets0ul Oct 7, 2020
4466e3d
Final fixes MM Leaderboard
kkartunov Oct 7, 2020
3097133
ci: on staging
kkartunov Oct 7, 2020
bac0b4c
Merge pull request #5065 from topcoder-platform/develop
mtwomey Oct 7, 2020
25f8289
fix: update for issue #5050
gets0ul Oct 7, 2020
bdf52ae
fix(challenge-listing): date filters will use correct query params
cagdas001 Oct 8, 2020
978b98f
Merge pull request #5039 from cagdas001/fix-4984
luizrrodrigues Oct 8, 2020
c04d780
Merge pull request #5067 from topcoder-platform/feature-refactor-chal…
luizrrodrigues Oct 8, 2020
7034dfc
ci: remove listing-develop-sync from Test env
luizrrodrigues Oct 8, 2020
838f7b6
feat: past challenges implementation
gets0ul Oct 8, 2020
8c78eb7
fix: style lint
gets0ul Oct 8, 2020
3c9ceeb
Merge pull request #5070 from gets0ul/past_challenges_impl
luizrrodrigues Oct 8, 2020
4ff78cf
Subscribe form app component
kkartunov Oct 8, 2020
99720f2
Revert "Change default bucket to Open For Registration"
marioskranitsas Oct 8, 2020
0f0cae7
remake the change without touching package-lock
marioskranitsas Oct 8, 2020
47d327d
Hide onGoing bucket
luizrrodrigues Oct 8, 2020
52d9250
Merge pull request #5074 from topcoder-platform/issue-5073
luizrrodrigues Oct 8, 2020
0336140
f2f filterfix
PrakashDurlabhji Oct 8, 2020
4d81d90
Merge pull request #5077 from PrakashDurlabhji/f2f-filterfix
luizrrodrigues Oct 8, 2020
d683364
Implement TCO filter to Challenge Listing page
luizrrodrigues Oct 8, 2020
3ef7095
Merge branch 'listing-develop-sync' into issue-5056
luizrrodrigues Oct 8, 2020
abc124f
Merge branch 'listing-develop-sync' into issue-5056
luizrrodrigues Oct 9, 2020
3f9137d
fix: for issue #5056
luizrrodrigues Oct 9, 2020
ed10471
Merge pull request #5078 from topcoder-platform/issue-5056
luizrrodrigues Oct 9, 2020
79ef6ce
Fix TCO not showing in Challenge Listing filter
luizrrodrigues Oct 9, 2020
e2e5d1c
Fix snapshot
luizrrodrigues Oct 9, 2020
76f9b5c
Merge branch 'develop' into listing-develop-sync
luizrrodrigues Oct 9, 2020
cab4aff
Merge pull request #5079 from topcoder-platform/listing-develop-sync
luizrrodrigues Oct 9, 2020
21f27f5
fix: for issue #5080
luizrrodrigues Oct 9, 2020
50094ec
Merge pull request #5084 from topcoder-platform/develop
mtwomey Oct 9, 2020
d74629c
Fixed items pre API call
kkartunov Oct 9, 2020
d9593d3
Merge branch 'looker-api-update' of https://github.com/topcoder-platf…
kkartunov Oct 9, 2020
99bfb65
Fixes #5086
kkartunov Oct 9, 2020
9992bb2
ci: on test
kkartunov Oct 9, 2020
d2dd7a2
ci: deploy listing-develop-sync to Stag
luizrrodrigues Oct 9, 2020
a829149
ci: on staging
kkartunov Oct 9, 2020
51cf78d
ci: deploy listing-develop-sync to QA env
luizrrodrigues Oct 9, 2020
7a2a4d0
ci: deploy listing-develop-sync to Stag env
luizrrodrigues Oct 9, 2020
c81569d
Equal min/max salary fix
kkartunov Oct 12, 2020
01072d3
ci: on test
kkartunov Oct 12, 2020
e787563
Merge pull request #5066 from gets0ul/issue-5050_fix
luizrrodrigues Oct 13, 2020
acfa6c6
Merge branch 'listing-develop-sync' into issue-5003
luizrrodrigues Oct 13, 2020
a681dae
Merge pull request #5060 from topcoder-platform/issue-5003
luizrrodrigues Oct 13, 2020
ee4fa77
Challenge 30145132 - Submission 406233
luizrrodrigues Oct 13, 2020
297308e
Merge pull request #5094 from topcoder-platform/issue-5057
luizrrodrigues Oct 13, 2020
a75d25d
Challenge Listing : Fix filter counter
luizrrodrigues Oct 13, 2020
2ddb0c6
Sub-communities : Disable filter by default
luizrrodrigues Oct 13, 2020
c23701a
Merge pull request #5095 from topcoder-platform/issue-5057
luizrrodrigues Oct 13, 2020
3627785
Merge pull request #5090 from topcoder-platform/gig-details-fixes
luizrrodrigues Oct 13, 2020
78cc95e
Merge branch 'develop' into gig-work-email-landing
luizrrodrigues Oct 13, 2020
2688932
ci: remove gig-work-email-landing from Stag env
luizrrodrigues Oct 13, 2020
4279b8d
Merge pull request #5091 from topcoder-platform/gig-work-email-landing
luizrrodrigues Oct 13, 2020
e727f83
Merge branch 'develop' into looker-api-update
luizrrodrigues Oct 13, 2020
97836b1
Merge pull request #5092 from topcoder-platform/looker-api-update
luizrrodrigues Oct 13, 2020
204157e
Merge pull request #5096 from topcoder-platform/listing-develop-sync
luizrrodrigues Oct 13, 2020
3a3feee
ci: remove develop from QA env
luizrrodrigues Oct 13, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,23 +230,21 @@ workflows:
filters:
branches:
only:
- milestone-20200924
- develop
- hot-fix
# This is alternate dev env for parallel testing
- "build-test":
context : org-global
filters:
branches:
only:
- hot-fix-ad-code
- feature-contentful
- hot-fix
# This is alternate dev env for parallel testing
- "build-qa":
context : org-global
filters:
branches:
only:
- community-app-tests-poc
- listing-develop-sync
# This is beta env for production soft releases
- "build-prod-beta":
context : org-global
Expand All @@ -262,6 +260,7 @@ workflows:
branches:
only:
- develop
- listing-develop-sync
# Production builds are exectuted
# when PR is merged to the master
# Don't change anything in this configuration
Expand Down
168 changes: 3 additions & 165 deletions __tests__/shared/actions/challenge-listing/sidebar.js
Original file line number Diff line number Diff line change
@@ -1,28 +1,3 @@
import sidebarActions from 'actions/challenge-listing/sidebar';

const actions = sidebarActions.challengeListing.sidebar;

const mockFetch = (ok, resolvesTo) => jest.fn(
() => Promise.resolve({ ok, json: () => resolvesTo }),
);

const createXHRmock = () => {
const open = jest.fn();
// be aware we use *function* because we need to get *this*
// from *new XmlHttpRequest()* call
const send = jest.fn().mockImplementation(() => {
this.onload();
});
const xhrMockClass = {
open,
send,
setRequestHeader: jest.fn(),
getAllResponseHeaders: jest.fn(),
};

window.XMLHttpRequest = jest.fn().mockImplementation(xhrMockClass);
};

let originalFetch;

beforeAll(() => {
Expand All @@ -34,145 +9,8 @@ afterAll(() => {
jest.clearAllMocks();
});

describe('challengeListing.sidebar.changeFilterName', () => {
const a = actions.changeFilterName('index', 'name');

test('has expected type', () => {
expect(a.type).toBe('CHALLENGE_LISTING/SIDEBAR/CHANGE_FILTER_NAME');
});

test('payload is expected object', () => expect(a.payload).toEqual({
index: 'index',
name: 'name',
}));
});

describe('challengeListing.sidebar.deleteSavedFilter', () => {
global.fetch = mockFetch(true, 'dummy');
createXHRmock();

const a = actions.deleteSavedFilter('id', 'token');

test('has expected type', () => {
expect(a.type).toBe('CHALLENGE_LISTING/SIDEBAR/DELETE_SAVED_FILTER');
});

// FIXME: Broken in topcoder-react-lib v1000.8.0
// test('payload is a promise which resolves to the expected object', () =>
// a.payload.then(res => expect(res).toEqual('id')));
});

describe('challengeListing.sidebar.dragSavedFilterMove', () => {
const a = actions.dragSavedFilterMove(
{ target: { offsetHeight: 10 } },
{ y: 0, startIndex: 0, index: 10 },
);

test('has expected type', () => {
expect(a.type).toBe('CHALLENGE_LISTING/SIDEBAR/DRAG_SAVED_FILTER_MOVE');
});

test('payload is expected object', () => expect(a.payload).toEqual({ y: 0, startIndex: 0, index: 10 }));
});

describe('challengeListing.sidebar.dragSavedFilterMove with screenY', () => {
const a = actions.dragSavedFilterMove(
{ screenY: 10, target: { offsetHeight: 10 } },
{ y: 0, startIndex: 0, index: 10 },
);

test('has expected type', () => {
expect(a.type).toBe('CHALLENGE_LISTING/SIDEBAR/DRAG_SAVED_FILTER_MOVE');
});

test('payload is expected object', () => expect(a.payload).toEqual({
y: 0, startIndex: 0, index: 10, currentIndex: 1,
}));
});

describe('challengeListing.sidebar.dragSavedFilterMove same index', () => {
const a = actions.dragSavedFilterMove(
{ screenY: 10, target: { offsetHeight: 10 } },
{ y: 0, startIndex: 9, index: 10 },
);

test('has expected type', () => {
expect(a.type).toBe('CHALLENGE_LISTING/SIDEBAR/DRAG_SAVED_FILTER_MOVE');
describe('challengeListing.sidebar', () => {
test('not needed', () => {
expect(true).toBe(true);
});

test('payload is expected object', () => expect(a.payload).toEqual({ y: 0, startIndex: 9, index: 10 }));
});

describe('challengeListing.sidebar.dragSavedFilterStart', () => {
const a = actions.dragSavedFilterStart(10, { screenY: 5 });

test('has expected type', () => {
expect(a.type).toBe('CHALLENGE_LISTING/SIDEBAR/DRAG_SAVED_FILTER_START');
});

test('payload is expected object', () => expect(a.payload).toEqual({ y: 5, startIndex: 10, currentIndex: 10 }));
});

describe('challengeListing.sidebar.getSavedFilters', () => {
global.fetch = mockFetch(true, []);

const a = actions.getSavedFilters('id', 'token');

test('has expected type', () => {
expect(a.type).toBe('CHALLENGE_LISTING/SIDEBAR/GET_SAVED_FILTERS');
});

// FIXME: Broken in topcoder-react-lib v0.3.0
// test('payload is a promise which resolves to the expected object', () =>
// a.payload.then(res => expect(res).toEqual([])));
});

describe('challengeListing.sidebar.resetFilterName', () => {
const a = actions.resetFilterName(1);

test('has expected type', () => {
expect(a.type).toBe('CHALLENGE_LISTING/SIDEBAR/RESET_FILTER_NAME');
});

test('payload is expected object', () => expect(a.payload).toEqual(1));
});

describe('challengeListing.sidebar.saveFilter', () => {
global.fetch = mockFetch(true, 'dummy');

const a = actions.saveFilterDone('name', {}, 'token');

test('has expected type', () => {
expect(a.type).toBe('CHALLENGE_LISTING/SIDEBAR/SAVE_FILTER_DONE');
});

// FIXME: Broken in topcoder-react-lib v0.3.0
// test('payload is a promise which resolves to the expected object', () =>
// a.payload.then(res => expect(res).toEqual('dummy')));
});

describe('challengeListing.sidebar.updateAllSavedFilters', () => {
global.fetch = mockFetch(true, 'dummy');

const a = actions.updateAllSavedFilters([{ filter: {} }], 'token');

test('has expected type', () => {
expect(a.type).toBe('CHALLENGE_LISTING/SIDEBAR/UPDATE_ALL_SAVED_FILTERS');
});

test('payload is undefined', () => expect(a.payload).toBeUndefined());
});

describe('challengeListing.sidebar.updateSavedFilter', () => {
global.fetch = mockFetch(true, 'dummy');

const a = actions.updateSavedFilter({}, 'token');

test('has expected type', () => {
expect(a.type).toBe('CHALLENGE_LISTING/SIDEBAR/UPDATE_SAVED_FILTER');
});

// FIXME: Broken in topcoder-react-lib v0.3.0
// test('payload is a promise which resolves to the expected object', () =>
// a.payload.then(res => expect(res).toEqual('dummy')));
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Default render 1`] = `
<label
className="src-shared-components-GUIKit-Checkbox-___style__container___2a1GZ src-shared-components-GUIKit-Checkbox-___style__smSize___3aux-"
>
<input
checked={false}
onChange={[Function]}
type="checkbox"
/>
<div
className="src-shared-components-GUIKit-Checkbox-___style__checkmark___1xdsj"
>
<img
alt="checkmark-icon"
className="src-shared-components-GUIKit-Checkbox-___style__after___2rEBg"
src="/community-app-assets/images/07507a04e0986d806cbd3ec73c724143.png"
/>
</div>
</label>
`;
12 changes: 12 additions & 0 deletions __tests__/shared/components/GUIKit/Checkbox/index.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from 'react';
import Renderer from 'react-test-renderer/shallow';

import Checkbox from 'components/GUIKit/Checkbox';


const rnd = new Renderer();

it('Default render', () => {
rnd.render((<Checkbox />));
expect(rnd.getRenderOutput()).toMatchSnapshot();
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Default render 1`] = `
<div
className="src-shared-components-GUIKit-Datepicker-___style__container___Sl58X"
>
<withStyles(SingleDatePicker)
anchorDirection="left"
appendToBody={false}
block={false}
calendarInfoPosition="bottom"
customCloseIcon={null}
customInputIcon={
<IconCalendar
height="16"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
/>
}
date={null}
daySize={47}
disableScroll={false}
disabled={false}
displayFormat="MMM DD, YYYY"
enableOutsideDays={true}
firstDayOfWeek={1}
focused={false}
hideKeyboardShortcutsPanel={true}
horizontalMargin={0}
horizontalMonthPadding={13}
id="null----false"
initialVisibleMonth={null}
inputIconPosition="after"
isDayBlocked={[Function]}
isDayHighlighted={[Function]}
isOutsideRange={[Function]}
isRTL={false}
keepFocusOnInput={false}
keepOpenOnDateSelect={false}
monthFormat="MMMM YYYY"
navNext={
<IconNext
height="16"
viewBox="0 0 10 16"
width="10"
xmlns="http://www.w3.org/2000/svg"
/>
}
navPrev={
<IconPrev
height="16"
viewBox="0 0 10 16"
width="10"
xmlns="http://www.w3.org/2000/svg"
/>
}
noBorder={false}
numberOfMonths={1}
onClose={[Function]}
onDateChange={[Function]}
onFocusChange={[Function]}
onNextMonthClick={[Function]}
onPrevMonthClick={[Function]}
openDirection="down"
orientation="horizontal"
phrases={
Object {
"calendarLabel": "Calendar",
"chooseAvailableDate": [Function],
"clearDate": "Clear Date",
"closeDatePicker": "Close",
"dateIsSelected": [Function],
"dateIsUnavailable": [Function],
"enterKey": "Enter key",
"escape": "Escape key",
"hideKeyboardShortcutsPanel": "Close the shortcuts panel.",
"homeEnd": "Home and end keys",
"jumpToNextMonth": "Move forward to switch to the next month.",
"jumpToPrevMonth": "Move backward to switch to the previous month.",
"keyboardNavigationInstructions": "Press the down arrow key to interact with the calendar and
select a date. Press the question mark key to get the keyboard shortcuts for changing dates.",
"keyboardShortcuts": "Keyboard Shortcuts",
"leftArrowRightArrow": "Right and left arrow keys",
"moveFocusByOneDay": "Move backward (left) and forward (right) by one day.",
"moveFocusByOneMonth": "Switch months.",
"moveFocusByOneWeek": "Move backward (up) and forward (down) by one week.",
"moveFocustoStartAndEndOfWeek": "Go to the first or last day of a week.",
"openThisPanel": "Open this panel.",
"pageUpPageDown": "page up and page down keys",
"questionMark": "Question mark",
"returnFocusToInput": "Return to the date input field.",
"selectFocusedDate": "Select the date in focus.",
"showKeyboardShortcutsPanel": "Open the keyboard shortcuts panel.",
"upArrowDownArrow": "up and down arrow keys",
}
}
placeholder=""
readOnly={false}
regular={false}
renderCalendarInfo={null}
renderDayContents={[Function]}
renderMonthElement={null}
renderMonthText={null}
reopenPickerOnClearDate={false}
required={false}
screenReaderInputMessage=""
showClearDate={false}
showDefaultInputIcon={false}
small={false}
verticalHeight={null}
verticalSpacing={22}
weekDayFormat="ddd"
withFullScreenPortal={false}
withPortal={false}
/>
</div>
`;
12 changes: 12 additions & 0 deletions __tests__/shared/components/GUIKit/Datepicker/index.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from 'react';
import Renderer from 'react-test-renderer/shallow';

import Datepicker from 'components/GUIKit/Datepicker';


const rnd = new Renderer();

it('Default render', () => {
rnd.render((<Datepicker />));
expect(rnd.getRenderOutput()).toMatchSnapshot();
});
Loading