Skip to content

Commit

Permalink
Merge pull request #103 from topcoder-platform/develop
Browse files Browse the repository at this point in the history
Adding details > registrations tab sorting feature
  • Loading branch information
sushilshinde authored Oct 11, 2019
2 parents 9f96378 + 9cc5a0a commit a9a3b1e
Show file tree
Hide file tree
Showing 13 changed files with 1,656 additions and 1,946 deletions.
2 changes: 2 additions & 0 deletions __tests__/__snapshots__/index.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ Object {
"getLookerDone": [Function],
},
"lookup": Object {
"getAllCountriesDone": [Function],
"getAllCountriesInit": [Function],
"getCountriesDone": [Function],
"getCountriesInit": [Function],
"getSkillTagsDone": [Function],
Expand Down
2 changes: 2 additions & 0 deletions __tests__/actions/__snapshots__/lookup.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
exports[`Module exports 1`] = `
Object {
"lookup": Object {
"getAllCountriesDone": [Function],
"getAllCountriesInit": [Function],
"getCountriesDone": [Function],
"getCountriesInit": [Function],
"getSkillTagsDone": [Function],
Expand Down
10 changes: 10 additions & 0 deletions __tests__/reducers/__snapshots__/lookup.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

exports[`Default reducer Get countries 1`] = `
Object {
"allCountries": Array [],
"countries": Array [
Object {
"country": "Afghanistan",
Expand All @@ -23,6 +24,7 @@ Object {

exports[`Default reducer Get countries error 1`] = `
Object {
"allCountries": Array [],
"countries": Array [
Object {
"country": "Afghanistan",
Expand All @@ -44,6 +46,7 @@ Object {

exports[`Default reducer Get skill tags 1`] = `
Object {
"allCountries": Array [],
"countries": Array [],
"loadingSkillTagsError": false,
"skillTags": Array [
Expand All @@ -59,6 +62,7 @@ Object {

exports[`Default reducer Get skill tags error 1`] = `
Object {
"allCountries": Array [],
"countries": Array [],
"loadingSkillTagsError": true,
"skillTags": Array [
Expand All @@ -74,13 +78,15 @@ Object {

exports[`Default reducer Initial state 1`] = `
Object {
"allCountries": Array [],
"countries": Array [],
"skillTags": Array [],
}
`;

exports[`Factory without server side rendering Get countries 1`] = `
Object {
"allCountries": Array [],
"countries": Array [
Object {
"country": "Afghanistan",
Expand All @@ -102,6 +108,7 @@ Object {

exports[`Factory without server side rendering Get countries error 1`] = `
Object {
"allCountries": Array [],
"countries": Array [
Object {
"country": "Afghanistan",
Expand All @@ -123,6 +130,7 @@ Object {

exports[`Factory without server side rendering Get skill tags 1`] = `
Object {
"allCountries": Array [],
"countries": Array [],
"loadingSkillTagsError": false,
"skillTags": Array [
Expand All @@ -138,6 +146,7 @@ Object {

exports[`Factory without server side rendering Get skill tags error 1`] = `
Object {
"allCountries": Array [],
"countries": Array [],
"loadingSkillTagsError": true,
"skillTags": Array [
Expand All @@ -153,6 +162,7 @@ Object {

exports[`Factory without server side rendering Initial state 1`] = `
Object {
"allCountries": Array [],
"countries": Array [],
"skillTags": Array [],
}
Expand Down
1,445 changes: 0 additions & 1,445 deletions dist/dev/index.js

This file was deleted.

18 changes: 15 additions & 3 deletions docs/actions.lookup.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,34 @@ Actions related to lookup data.
* [.getSkillTagsDone()](#module_actions.lookup.getSkillTagsDone) ⇒ <code>Action</code>
* [.getCountriesInit()](#module_actions.lookup.getCountriesInit) ⇒ <code>Action</code>
* [.getCountriesDone()](#module_actions.lookup.getCountriesDone) ⇒ <code>Action</code>
* [.getAllCountriesInit()](#module_actions.lookup.getCountriesInit) ⇒ <code>Action</code>
* [.getAllCountriesDone(tokenV3)](#module_actions.lookup.getCountriesDone) ⇒ <code>Action</code>

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

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

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

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

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

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

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

### actions.lookup.getAllCountriesDone(tokenV3) ⇒ <code>Action</code>
Creates an action that gets all countries new version.

**Kind**: static method of [<code>actions.lookup</code>](#module_actions.lookup)

| Param | Type | Description |
| --- | --- | --- |
| tokenV3 | <code>String</code> | Topcoder v3 auth token. |
16 changes: 8 additions & 8 deletions docs/services.members.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Gets member external account info.

| Param | Type |
| --- | --- |
| handle | <code>String</code> |
| handle | <code>String</code> |

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

Expand All @@ -126,7 +126,7 @@ Gets member external links.

| Param | Type |
| --- | --- |
| handle | <code>String</code> |
| handle | <code>String</code> |

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

Expand All @@ -138,7 +138,7 @@ Gets member skills.

| Param | Type |
| --- | --- |
| handle | <code>String</code> |
| handle | <code>String</code> |

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

Expand All @@ -150,7 +150,7 @@ Gets member statistics.

| Param | Type |
| --- | --- |
| handle | <code>String</code> |
| handle | <code>String</code> |

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

Expand All @@ -162,7 +162,7 @@ Gets member statistics history

| Param | Type |
| --- | --- |
| handle | <code>String</code> |
| handle | <code>String</code> |

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

Expand All @@ -174,9 +174,9 @@ Gets member statistics distribution

| Param | Type |
| --- | --- |
| handle | <code>String</code> |
| track | <code>String</code> |
| subTrack | <code>String</code> |
| handle | <code>String</code> |
| track | <code>String</code> |
| subTrack | <code>String</code> |

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

Expand Down
Loading

0 comments on commit a9a3b1e

Please sign in to comment.