Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Issue 2359 fix#70

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
rashmi73 wants to merge21 commits intotopcoder-platform:develop
base:develop
Choose a base branch
Loading
fromrashmi73:issue_2359
Open
Show file tree
Hide file tree
Changes fromall commits
Commits
Show all changes
21 commits
Select commitHold shift + click to select a range
77a7fc7
Fix Server-side filtering on challenge listings
Apr 27, 2019
c76aaa1
Update _tests_/_snapshots_
Apr 27, 2019
fc0f961
Update _tests_/_snapshots
Apr 28, 2019
e7fb5ea
Merge pull request #61 from nauhil/develop
sushilshindeApr 29, 2019
af685a2
upgrading topcoder-react-lib version
sushilshindeApr 29, 2019
e91a940
Update filter object when fetch challenges.
Apr 30, 2019
c6a1e34
Merge pull request #63 from nauhil/develop
sushilshindeApr 30, 2019
f8f8bd8
Bump npm version
ThomasKranitsasApr 30, 2019
8978058
code 30090056
suppermancoolMay 3, 2019
e95c91b
update nap shot
suppermancoolMay 3, 2019
c5828cc
code 30090056
suppermancoolMay 4, 2019
b382b4a
update email preferences to use v5 api
vignesh-at-alationMay 8, 2019
408ebc9
Merge pull request #65 from suppermancool/code-30090056
sushilshindeMay 10, 2019
a78ae4d
Fix tests
ThomasKranitsasMay 10, 2019
7f20b1b
Merge pull request #66 from vigneshTheDev/develop
sushilshindeMay 10, 2019
dbabfda
bump npm version
sushilshindeMay 10, 2019
ea9c3e3
Fixed issues of server-side filtering on challenge listings
May 24, 2019
0416c75
Merge pull request #68 from nauhil/develop
sushilshindeMay 27, 2019
3a520ff
Updating NPM version for prod release to 0.7.15
sushilshindeMay 27, 2019
fefdfb3
Merge pull request #2 from topcoder-platform/develop
rashmi73Jun 6, 2019
1c00f79
issue 2359 fix
rashmi73Jun 6, 2019
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
225 changes: 225 additions & 0 deletions__tests__/__snapshots__/index.js.snap
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -29,6 +29,31 @@ Object {
"updateChallengeDone": [Function],
"updateChallengeInit": [Function],
},
"challengeListing": Object {
"dropChallenges": [Function],
"expandTag": [Function],
"getActiveChallengesDone": [Function],
"getActiveChallengesInit": [Function],
"getAllActiveChallengesDone": [Function],
"getAllActiveChallengesInit": [Function],
"getChallengeSubtracksDone": [Function],
"getChallengeSubtracksInit": [Function],
"getChallengeTagsDone": [Function],
"getChallengeTagsInit": [Function],
"getMoreChallenges": [Function],
"getPastChallengesDone": [Function],
"getPastChallengesInit": [Function],
"getRestActiveChallengesDone": [Function],
"getRestActiveChallengesInit": [Function],
"getReviewOpportunitiesDone": [Function],
"getReviewOpportunitiesInit": [Function],
"getSrmsDone": [Function],
"getSrmsInit": [Function],
"selectCommunity": [Function],
"setDatepickerStatus": [Function],
"setFilter": [Function],
"setSort": [Function],
},
"direct": Object {
"dropAll": [Function],
"getProjectDetailsDone": [Function],
Expand DownExpand Up@@ -173,13 +198,145 @@ Object {
},
},
"challenge": Object {
"buckets": Object {
"BUCKETS": Object {
"ALL": "all",
"MY": "my",
"ONGOING": "ongoing",
"OPEN_FOR_REGISTRATION": "openForRegistration",
"PAST": "past",
"REVIEW_OPPORTUNITIES": "reviewOpportunities",
"SAVED_FILTER": "saved-filter",
"SAVED_REVIEW_OPPORTUNITIES_FILTER": "savedReviewOpportunitiesFilter",
"UPCOMING": "upcoming",
},
"BUCKET_DATA": Object {
"all": Object {
"filter": Object {
"started": true,
"status": Array [
"ACTIVE",
],
},
"hideCount": false,
"name": "All Challenges",
"sorts": Array [],
},
"my": Object {
"filter": Object {
"started": true,
"status": Array [
"ACTIVE",
],
},
"hideCount": false,
"name": "My Challenges",
"sorts": Array [
"most-recent",
"time-to-submit",
"num-registrants",
"num-submissions",
"prize-high-to-low",
"title-a-to-z",
],
},
"ongoing": Object {
"filter": Object {
"registrationOpen": false,
"started": true,
"status": Array [
"ACTIVE",
],
},
"hideCount": false,
"name": "Ongoing challenges",
"sorts": Array [
"most-recent",
"current-phase",
"title-a-to-z",
"prize-high-to-low",
],
},
"openForRegistration": Object {
"filter": Object {
"registrationOpen": true,
"started": true,
"status": Array [
"ACTIVE",
],
},
"hideCount": false,
"name": "Open for registration",
"sorts": Array [
"most-recent",
"time-to-register",
"time-to-submit",
"num-registrants",
"num-submissions",
"prize-high-to-low",
"title-a-to-z",
],
},
"past": Object {
"filter": Object {
"status": Array [
"COMPLETED",
"PAST",
],
},
"hideCount": true,
"name": "Past challenges",
"sorts": Array [
"most-recent",
"prize-high-to-low",
"title-a-to-z",
],
},
"reviewOpportunities": Object {
"filter": Object {},
"hideCount": true,
"name": "Open for review",
"sorts": Array [
"review-opportunities-start-date",
"review-opportunities-payment",
"review-opportunities-title-a-to-z",
],
},
"savedReviewOpportunitiesFilter": Object {
"filter": Object {},
"sorts": Array [
"review-opportunities-start-date",
"review-opportunities-payment",
"review-opportunities-title-a-to-z",
],
},
"upcoming": Object {
"filter": Object {
"upcoming": true,
},
"hideCount": true,
"name": "Upcoming challenges",
"sorts": Array [
"most-recent",
"prize-high-to-low",
"title-a-to-z",
],
},
},
"default": undefined,
"getBuckets": [Function],
"isReviewOpportunitiesBucket": [Function],
"registerBucket": [Function],
},
"filter": Object {
"addTrack": [Function],
"combine": [Function],
"default": undefined,
"filterByDate": [Function],
"getFilterFunction": [Function],
"getReviewOpportunitiesFilterFunction": [Function],
"mapToBackend": [Function],
"newMeta": [Function],
"removeTrack": [Function],
"setEndDate": [Function],
"setReviewOpportunityType": [Function],
Expand All@@ -188,6 +345,67 @@ Object {
"setTags": [Function],
"setText": [Function],
},
"sort": Object {
"SORTS": Object {
"CURRENT_PHASE": "current-phase",
"MOST_RECENT": "most-recent",
"NUM_REGISTRANTS": "num-registrants",
"NUM_SUBMISSIONS": "num-submissions",
"PRIZE_HIGH_TO_LOW": "prize-high-to-low",
"REVIEW_OPPORTUNITIES_PAYMENT": "review-opportunities-payment",
"REVIEW_OPPORTUNITIES_START_DATE": "review-opportunities-start-date",
"REVIEW_OPPORTUNITIES_TITLE_A_TO_Z": "review-opportunities-title-a-to-z",
"TIME_TO_REGISTER": "time-to-register",
"TIME_TO_SUBMIT": "time-to-submit",
"TITLE_A_TO_Z": "title-a-to-z",
},
"SORTS_DATA": Object {
"current-phase": Object {
"func": [Function],
"name": "Current phase",
},
"most-recent": Object {
"func": [Function],
"name": "Most recent",
},
"num-registrants": Object {
"func": [Function],
"name": "# of registrants",
},
"num-submissions": Object {
"func": [Function],
"name": "# of submissions",
},
"prize-high-to-low": Object {
"func": [Function],
"name": "Prize high to low",
},
"review-opportunities-payment": Object {
"func": [Function],
"name": "Payment",
},
"review-opportunities-start-date": Object {
"func": [Function],
"name": "Review start date",
},
"review-opportunities-title-a-to-z": Object {
"func": [Function],
"name": "Title A-Z",
},
"time-to-register": Object {
"func": [Function],
"name": "Time to register",
},
"time-to-submit": Object {
"func": [Function],
"name": "Time to submit",
},
"title-a-to-z": Object {
"func": [Function],
"name": "Title A-Z",
},
},
},
},
"errors": Object {
"ERROR_ICON_TYPES": Object {
Expand DownExpand Up@@ -227,6 +445,7 @@ Object {
"reducers": Object {
"auth": [Function],
"challenge": [Function],
"challengeListing": [Function],
"direct": [Function],
"errors": [Function],
"groups": [Function],
Expand DownExpand Up@@ -321,11 +540,17 @@ Object {
},
"getApiResponsePayload": [Function],
"getLookerApiResponsePayload": [Function],
"processSRM": [Function],
},
"time": Object {
"default": undefined,
"delay": [Function],
"formatDuration": [Function],
},
"url": Object {
"default": undefined,
"removeTrailingSlash": [Function],
"updateQuery": [Function],
},
}
`;
1 change: 1 addition & 0 deletions__tests__/actions/__snapshots__/profile.js.snap
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -166,6 +166,7 @@ Object {
},
},
"handle": "tcscoder",
"preferences": Object {},
},
"type": "PROFILE/SAVE_EMAIL_PREFERENCES_DONE",
}
Expand Down
12 changes: 6 additions & 6 deletions__tests__/reducers/__snapshots__/profile.js.snap
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -740,7 +740,7 @@ Object {
"deletingPhoto": false,
"deletingWebLink": false,
"emailPreferences": Object {
"TOPCODER_NL_DATA": true,
"Dev Newsletter": true,
},
"externalLinks": Array [
Object {
Expand DownExpand Up@@ -939,7 +939,7 @@ Object {
"deletingPhoto": false,
"deletingWebLink": false,
"emailPreferences": Object {
"TOPCODER_NL_DATA": true,
"Dev Newsletter": true,
},
"externalLinks": Array [
Object {
Expand DownExpand Up@@ -989,7 +989,7 @@ Object {
"deletingPhoto": false,
"deletingWebLink": false,
"emailPreferences": Object {
"TOPCODER_NL_DATA": true,
"Dev Newsletter": true,
},
"externalLinks": Array [
Object {
Expand DownExpand Up@@ -1926,7 +1926,7 @@ Object {
"deletingPhoto": false,
"deletingWebLink": false,
"emailPreferences": Object {
"TOPCODER_NL_DATA": true,
"Dev Newsletter": true,
},
"externalLinks": Array [
Object {
Expand DownExpand Up@@ -2125,7 +2125,7 @@ Object {
"deletingPhoto": false,
"deletingWebLink": false,
"emailPreferences": Object {
"TOPCODER_NL_DATA": true,
"Dev Newsletter": true,
},
"externalLinks": Array [
Object {
Expand DownExpand Up@@ -2175,7 +2175,7 @@ Object {
"deletingPhoto": false,
"deletingWebLink": false,
"emailPreferences": Object {
"TOPCODER_NL_DATA": true,
"Dev Newsletter": true,
},
"externalLinks": Array [
Object {
Expand Down
2 changes: 1 addition & 1 deletion__tests__/reducers/profile.js
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -33,7 +33,7 @@ const mockActions = {
deleteWebLinkInit: mockAction('DELETE_WEB_LINK_INIT'),
deleteWebLinkDone: mockAction('DELETE_WEB_LINK_DONE', { handle, data: webLink }),
saveEmailPreferencesInit: mockAction('SAVE_EMAIL_PREFERENCES_INIT'),
saveEmailPreferencesDone: mockAction('SAVE_EMAIL_PREFERENCES_DONE', { handle,data: {subscriptions: { TOPCODER_NL_DATA: true } } }),
saveEmailPreferencesDone: mockAction('SAVE_EMAIL_PREFERENCES_DONE', { handle,preferences: {'Dev Newsletter': true } }),
linkExternalAccountInit: mockAction('LINK_EXTERNAL_ACCOUNT_INIT'),
linkExternalAccountDone: mockAction('LINK_EXTERNAL_ACCOUNT_DONE', { handle, data: linkedAccount2 }),
unlinkExternalAccountInit: mockAction('UNLINK_EXTERNAL_ACCOUNT_INIT'),
Expand Down
1 change: 1 addition & 0 deletionsconfig/test.js
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2,6 +2,7 @@ module.exports = {
API: {
V2: 'https://api.topcoder-dev.com/v2',
V3: 'https://api.topcoder-dev.com/v3',
V5: 'https://api.topcoder-dev.com/v5',
},
dummyConfigKey: 'Dummy config value',
};
Loading

[8]ページ先頭

©2009-2025 Movatter.jp