Skip to content

Commit ea00ec6

Browse files
committed
rebased with develop
1 parent e3b5d0c commit ea00ec6

File tree

21 files changed

+2625
-7
lines changed

21 files changed

+2625
-7
lines changed

__tests__/__snapshots__/index.js.snap

Lines changed: 225 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,31 @@ Object {
3333
"updateChallengeDone": [Function],
3434
"updateChallengeInit": [Function],
3535
},
36+
"challengeListing": Object {
37+
"dropChallenges": [Function],
38+
"expandTag": [Function],
39+
"getActiveChallengesDone": [Function],
40+
"getActiveChallengesInit": [Function],
41+
"getAllActiveChallengesDone": [Function],
42+
"getAllActiveChallengesInit": [Function],
43+
"getChallengeSubtracksDone": [Function],
44+
"getChallengeSubtracksInit": [Function],
45+
"getChallengeTagsDone": [Function],
46+
"getChallengeTagsInit": [Function],
47+
"getMoreChallenges": [Function],
48+
"getPastChallengesDone": [Function],
49+
"getPastChallengesInit": [Function],
50+
"getRestActiveChallengesDone": [Function],
51+
"getRestActiveChallengesInit": [Function],
52+
"getReviewOpportunitiesDone": [Function],
53+
"getReviewOpportunitiesInit": [Function],
54+
"getSrmsDone": [Function],
55+
"getSrmsInit": [Function],
56+
"selectCommunity": [Function],
57+
"setDatepickerStatus": [Function],
58+
"setFilter": [Function],
59+
"setSort": [Function],
60+
},
3661
"direct": Object {
3762
"dropAll": [Function],
3863
"getProjectDetailsDone": [Function],
@@ -177,13 +202,145 @@ Object {
177202
},
178203
},
179204
"challenge": Object {
205+
"buckets": Object {
206+
"BUCKETS": Object {
207+
"ALL": "all",
208+
"MY": "my",
209+
"ONGOING": "ongoing",
210+
"OPEN_FOR_REGISTRATION": "openForRegistration",
211+
"PAST": "past",
212+
"REVIEW_OPPORTUNITIES": "reviewOpportunities",
213+
"SAVED_FILTER": "saved-filter",
214+
"SAVED_REVIEW_OPPORTUNITIES_FILTER": "savedReviewOpportunitiesFilter",
215+
"UPCOMING": "upcoming",
216+
},
217+
"BUCKET_DATA": Object {
218+
"all": Object {
219+
"filter": Object {
220+
"started": true,
221+
"status": Array [
222+
"ACTIVE",
223+
],
224+
},
225+
"hideCount": false,
226+
"name": "All Challenges",
227+
"sorts": Array [],
228+
},
229+
"my": Object {
230+
"filter": Object {
231+
"started": true,
232+
"status": Array [
233+
"ACTIVE",
234+
],
235+
},
236+
"hideCount": false,
237+
"name": "My Challenges",
238+
"sorts": Array [
239+
"most-recent",
240+
"time-to-submit",
241+
"num-registrants",
242+
"num-submissions",
243+
"prize-high-to-low",
244+
"title-a-to-z",
245+
],
246+
},
247+
"ongoing": Object {
248+
"filter": Object {
249+
"registrationOpen": false,
250+
"started": true,
251+
"status": Array [
252+
"ACTIVE",
253+
],
254+
},
255+
"hideCount": false,
256+
"name": "Ongoing challenges",
257+
"sorts": Array [
258+
"most-recent",
259+
"current-phase",
260+
"title-a-to-z",
261+
"prize-high-to-low",
262+
],
263+
},
264+
"openForRegistration": Object {
265+
"filter": Object {
266+
"registrationOpen": true,
267+
"started": true,
268+
"status": Array [
269+
"ACTIVE",
270+
],
271+
},
272+
"hideCount": false,
273+
"name": "Open for registration",
274+
"sorts": Array [
275+
"most-recent",
276+
"time-to-register",
277+
"time-to-submit",
278+
"num-registrants",
279+
"num-submissions",
280+
"prize-high-to-low",
281+
"title-a-to-z",
282+
],
283+
},
284+
"past": Object {
285+
"filter": Object {
286+
"status": Array [
287+
"COMPLETED",
288+
"PAST",
289+
],
290+
},
291+
"hideCount": true,
292+
"name": "Past challenges",
293+
"sorts": Array [
294+
"most-recent",
295+
"prize-high-to-low",
296+
"title-a-to-z",
297+
],
298+
},
299+
"reviewOpportunities": Object {
300+
"filter": Object {},
301+
"hideCount": true,
302+
"name": "Open for review",
303+
"sorts": Array [
304+
"review-opportunities-start-date",
305+
"review-opportunities-payment",
306+
"review-opportunities-title-a-to-z",
307+
],
308+
},
309+
"savedReviewOpportunitiesFilter": Object {
310+
"filter": Object {},
311+
"sorts": Array [
312+
"review-opportunities-start-date",
313+
"review-opportunities-payment",
314+
"review-opportunities-title-a-to-z",
315+
],
316+
},
317+
"upcoming": Object {
318+
"filter": Object {
319+
"upcoming": true,
320+
},
321+
"hideCount": true,
322+
"name": "Upcoming challenges",
323+
"sorts": Array [
324+
"most-recent",
325+
"prize-high-to-low",
326+
"title-a-to-z",
327+
],
328+
},
329+
},
330+
"default": undefined,
331+
"getBuckets": [Function],
332+
"isReviewOpportunitiesBucket": [Function],
333+
"registerBucket": [Function],
334+
},
180335
"filter": Object {
181336
"addTrack": [Function],
182337
"combine": [Function],
183338
"default": undefined,
339+
"filterByDate": [Function],
184340
"getFilterFunction": [Function],
185341
"getReviewOpportunitiesFilterFunction": [Function],
186342
"mapToBackend": [Function],
343+
"newMeta": [Function],
187344
"removeTrack": [Function],
188345
"setEndDate": [Function],
189346
"setReviewOpportunityType": [Function],
@@ -192,6 +349,67 @@ Object {
192349
"setTags": [Function],
193350
"setText": [Function],
194351
},
352+
"sort": Object {
353+
"SORTS": Object {
354+
"CURRENT_PHASE": "current-phase",
355+
"MOST_RECENT": "most-recent",
356+
"NUM_REGISTRANTS": "num-registrants",
357+
"NUM_SUBMISSIONS": "num-submissions",
358+
"PRIZE_HIGH_TO_LOW": "prize-high-to-low",
359+
"REVIEW_OPPORTUNITIES_PAYMENT": "review-opportunities-payment",
360+
"REVIEW_OPPORTUNITIES_START_DATE": "review-opportunities-start-date",
361+
"REVIEW_OPPORTUNITIES_TITLE_A_TO_Z": "review-opportunities-title-a-to-z",
362+
"TIME_TO_REGISTER": "time-to-register",
363+
"TIME_TO_SUBMIT": "time-to-submit",
364+
"TITLE_A_TO_Z": "title-a-to-z",
365+
},
366+
"SORTS_DATA": Object {
367+
"current-phase": Object {
368+
"func": [Function],
369+
"name": "Current phase",
370+
},
371+
"most-recent": Object {
372+
"func": [Function],
373+
"name": "Most recent",
374+
},
375+
"num-registrants": Object {
376+
"func": [Function],
377+
"name": "# of registrants",
378+
},
379+
"num-submissions": Object {
380+
"func": [Function],
381+
"name": "# of submissions",
382+
},
383+
"prize-high-to-low": Object {
384+
"func": [Function],
385+
"name": "Prize high to low",
386+
},
387+
"review-opportunities-payment": Object {
388+
"func": [Function],
389+
"name": "Payment",
390+
},
391+
"review-opportunities-start-date": Object {
392+
"func": [Function],
393+
"name": "Review start date",
394+
},
395+
"review-opportunities-title-a-to-z": Object {
396+
"func": [Function],
397+
"name": "Title A-Z",
398+
},
399+
"time-to-register": Object {
400+
"func": [Function],
401+
"name": "Time to register",
402+
},
403+
"time-to-submit": Object {
404+
"func": [Function],
405+
"name": "Time to submit",
406+
},
407+
"title-a-to-z": Object {
408+
"func": [Function],
409+
"name": "Title A-Z",
410+
},
411+
},
412+
},
195413
},
196414
"errors": Object {
197415
"ERROR_ICON_TYPES": Object {
@@ -231,6 +449,7 @@ Object {
231449
"reducers": Object {
232450
"auth": [Function],
233451
"challenge": [Function],
452+
"challengeListing": [Function],
234453
"direct": [Function],
235454
"errors": [Function],
236455
"groups": [Function],
@@ -336,11 +555,17 @@ Object {
336555
},
337556
"getApiResponsePayload": [Function],
338557
"getLookerApiResponsePayload": [Function],
558+
"processSRM": [Function],
339559
},
340560
"time": Object {
341561
"default": undefined,
342562
"delay": [Function],
343563
"formatDuration": [Function],
344564
},
565+
"url": Object {
566+
"default": undefined,
567+
"removeTrailingSlash": [Function],
568+
"updateQuery": [Function],
569+
},
345570
}
346571
`;

0 commit comments

Comments
 (0)