Skip to content

Commit 8f45e42

Browse files
committed
Merge branch 'develop' into new-develop-mm
2 parents af28491 + daf9822 commit 8f45e42

File tree

11 files changed

+1147
-2185
lines changed

11 files changed

+1147
-2185
lines changed

__tests__/__snapshots__/index.js.snap

+1
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ Object {
8686
"addSkillInit": [Function],
8787
"addWebLinkDone": [Function],
8888
"addWebLinkInit": [Function],
89+
"clearProfile": [Function],
8990
"deletePhotoDone": [Function],
9091
"deletePhotoInit": [Function],
9192
"deleteWebLinkDone": [Function],

__tests__/actions/__snapshots__/profile.js.snap

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Object {
77
"addSkillInit": [Function],
88
"addWebLinkDone": [Function],
99
"addWebLinkInit": [Function],
10+
"clearProfile": [Function],
1011
"deletePhotoDone": [Function],
1112
"deletePhotoInit": [Function],
1213
"deleteWebLinkDone": [Function],

config/webpack/default.js

-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,5 @@ module.exports = {
1616
'tc-accounts',
1717
'to-capital-case',
1818
'topcoder-react-utils',
19-
'topcoder-react-ui-kit',
2019
],
2120
};

docs/actions.profile.md

+12
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Actions for interactions with profile details API.
1111

1212
* [actions.profile](#module_actions.profile)
1313
* [.loadProfile(handle)](#module_actions.profile.loadProfile) ⇒ <code>Action</code>
14+
* [.clearProfile()](#module_actions.profile.clearProfile) ⇒ <code>Action</code>
1415
* [.getAchievementsInit()](#module_actions.profile.getAchievementsInit) ⇒ <code>Action</code>
1516
* [.getAchievementsDone(handle)](#module_actions.profile.getAchievementsDone) ⇒ <code>Action</code>
1617
* [.getExternalAccountsInit()](#module_actions.profile.getExternalAccountsInit) ⇒ <code>Action</code>
@@ -67,6 +68,17 @@ Creates and action that loads user profile.
6768
| --- | --- | --- |
6869
| handle | <code>String</code> | User handle. |
6970

71+
<a name="module_actions.profile.clearProfile"></a>
72+
73+
### actions.profile.clearProfile() ⇒ <code>Action</code>
74+
Creates and action that clear user profile.
75+
76+
**Kind**: static method of [<code>actions.profile</code>](#module_actions.profile)
77+
**Todo**
78+
79+
- [ ] This action does not follow the pattern with init/done pairs of
80+
actions. Should be improved.
81+
7082
<a name="module_actions.profile.getAchievementsInit"></a>
7183

7284
### actions.profile.getAchievementsInit() ⇒ <code>Action</code>

0 commit comments

Comments
 (0)