Skip to content

Commit f54faea

Browse files
authored
Merge pull request #111 from topcoder-platform/reg_sub_tab_sorting
Reg sub tab sorting
2 parents 83f9f0c + f91a2f9 commit f54faea

File tree

13 files changed

+1578
-508
lines changed

13 files changed

+1578
-508
lines changed

Diff for: __tests__/__snapshots__/index.js.snap

+2
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ Object {
5858
"getLookerDone": [Function],
5959
},
6060
"lookup": Object {
61+
"getAllCountriesDone": [Function],
62+
"getAllCountriesInit": [Function],
6163
"getCountriesDone": [Function],
6264
"getCountriesInit": [Function],
6365
"getSkillTagsDone": [Function],

Diff for: __tests__/actions/__snapshots__/lookup.js.snap

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
exports[`Module exports 1`] = `
44
Object {
55
"lookup": Object {
6+
"getAllCountriesDone": [Function],
7+
"getAllCountriesInit": [Function],
68
"getCountriesDone": [Function],
79
"getCountriesInit": [Function],
810
"getSkillTagsDone": [Function],

Diff for: __tests__/reducers/__snapshots__/lookup.js.snap

+10
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
exports[`Default reducer Get countries 1`] = `
44
Object {
5+
"allCountries": Array [],
56
"countries": Array [
67
Object {
78
"country": "Afghanistan",
@@ -23,6 +24,7 @@ Object {
2324

2425
exports[`Default reducer Get countries error 1`] = `
2526
Object {
27+
"allCountries": Array [],
2628
"countries": Array [
2729
Object {
2830
"country": "Afghanistan",
@@ -44,6 +46,7 @@ Object {
4446

4547
exports[`Default reducer Get skill tags 1`] = `
4648
Object {
49+
"allCountries": Array [],
4750
"countries": Array [],
4851
"loadingSkillTagsError": false,
4952
"skillTags": Array [
@@ -59,6 +62,7 @@ Object {
5962

6063
exports[`Default reducer Get skill tags error 1`] = `
6164
Object {
65+
"allCountries": Array [],
6266
"countries": Array [],
6367
"loadingSkillTagsError": true,
6468
"skillTags": Array [
@@ -74,13 +78,15 @@ Object {
7478

7579
exports[`Default reducer Initial state 1`] = `
7680
Object {
81+
"allCountries": Array [],
7782
"countries": Array [],
7883
"skillTags": Array [],
7984
}
8085
`;
8186

8287
exports[`Factory without server side rendering Get countries 1`] = `
8388
Object {
89+
"allCountries": Array [],
8490
"countries": Array [
8591
Object {
8692
"country": "Afghanistan",
@@ -102,6 +108,7 @@ Object {
102108

103109
exports[`Factory without server side rendering Get countries error 1`] = `
104110
Object {
111+
"allCountries": Array [],
105112
"countries": Array [
106113
Object {
107114
"country": "Afghanistan",
@@ -123,6 +130,7 @@ Object {
123130

124131
exports[`Factory without server side rendering Get skill tags 1`] = `
125132
Object {
133+
"allCountries": Array [],
126134
"countries": Array [],
127135
"loadingSkillTagsError": false,
128136
"skillTags": Array [
@@ -138,6 +146,7 @@ Object {
138146

139147
exports[`Factory without server side rendering Get skill tags error 1`] = `
140148
Object {
149+
"allCountries": Array [],
141150
"countries": Array [],
142151
"loadingSkillTagsError": true,
143152
"skillTags": Array [
@@ -153,6 +162,7 @@ Object {
153162

154163
exports[`Factory without server side rendering Initial state 1`] = `
155164
Object {
165+
"allCountries": Array [],
156166
"countries": Array [],
157167
"skillTags": Array [],
158168
}

Diff for: dist/dev/index.js

+57-57
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: docs/actions.lookup.md

+15-3
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,34 @@ Actions related to lookup data.
99
* [.getSkillTagsDone()](#module_actions.lookup.getSkillTagsDone) ⇒ <code>Action</code>
1010
* [.getCountriesInit()](#module_actions.lookup.getCountriesInit) ⇒ <code>Action</code>
1111
* [.getCountriesDone()](#module_actions.lookup.getCountriesDone) ⇒ <code>Action</code>
12+
* [.getAllCountriesInit()](#module_actions.lookup.getCountriesInit) ⇒ <code>Action</code>
13+
* [.getAllCountriesDone(tokenV3)](#module_actions.lookup.getCountriesDone) ⇒ <code>Action</code>
1214

1315
<a name="module_actions.lookup.getSkillTagsInit"></a>
1416

1517
### actions.lookup.getSkillTagsInit() ⇒ <code>Action</code>
1618
Creates an action that signals beginning of getting all skill tags.
1719

18-
**Kind**: static method of [<code>actions.lookup</code>](#module_actions.lookup)
20+
**Kind**: static method of [<code>actions.lookup</code>](#module_actions.lookup)
1921
<a name="module_actions.lookup.getSkillTagsDone"></a>
2022

2123
### actions.lookup.getSkillTagsDone() ⇒ <code>Action</code>
2224
Creates an action that gets all skill tags.
2325

24-
**Kind**: static method of [<code>actions.lookup</code>](#module_actions.lookup)
26+
**Kind**: static method of [<code>actions.lookup</code>](#module_actions.lookup)
2527
<a name="module_actions.lookup.getCountriesDone"></a>
2628

2729
### actions.lookup.getCountriesDone() ⇒ <code>Action</code>
2830
Creates an action that gets all countries.
2931

30-
**Kind**: static method of [<code>actions.lookup</code>](#module_actions.lookup)
32+
**Kind**: static method of [<code>actions.lookup</code>](#module_actions.lookup)
33+
<a name="module_actions.lookup.getCountriesDone"></a>
34+
35+
### actions.lookup.getAllCountriesDone(tokenV3) ⇒ <code>Action</code>
36+
Creates an action that gets all countries new version.
37+
38+
**Kind**: static method of [<code>actions.lookup</code>](#module_actions.lookup)
39+
40+
| Param | Type | Description |
41+
| --- | --- | --- |
42+
| tokenV3 | <code>String</code> | Topcoder v3 auth token. |

Diff for: docs/services.members.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Gets member external account info.
114114

115115
| Param | Type |
116116
| --- | --- |
117-
| handle | <code>String</code> |
117+
| handle | <code>String</code> |
118118

119119
<a name="module_services.members..MembersService+getExternalLinks"></a>
120120

@@ -126,7 +126,7 @@ Gets member external links.
126126

127127
| Param | Type |
128128
| --- | --- |
129-
| handle | <code>String</code> |
129+
| handle | <code>String</code> |
130130

131131
<a name="module_services.members..MembersService+getSkills"></a>
132132

@@ -138,7 +138,7 @@ Gets member skills.
138138

139139
| Param | Type |
140140
| --- | --- |
141-
| handle | <code>String</code> |
141+
| handle | <code>String</code> |
142142

143143
<a name="module_services.members..MembersService+getStats"></a>
144144

@@ -150,7 +150,7 @@ Gets member statistics.
150150

151151
| Param | Type |
152152
| --- | --- |
153-
| handle | <code>String</code> |
153+
| handle | <code>String</code> |
154154

155155
<a name="module_services.members..MembersService+getStatsHistory"></a>
156156

@@ -162,7 +162,7 @@ Gets member statistics history
162162

163163
| Param | Type |
164164
| --- | --- |
165-
| handle | <code>String</code> |
165+
| handle | <code>String</code> |
166166

167167
<a name="module_services.members..MembersService+getStatsDistribution"></a>
168168

@@ -174,9 +174,9 @@ Gets member statistics distribution
174174

175175
| Param | Type |
176176
| --- | --- |
177-
| handle | <code>String</code> |
178-
| track | <code>String</code> |
179-
| subTrack | <code>String</code> |
177+
| handle | <code>String</code> |
178+
| track | <code>String</code> |
179+
| subTrack | <code>String</code> |
180180

181181
<a name="module_services.members..MembersService+getMemberSuggestions"></a>
182182

0 commit comments

Comments
 (0)