Commits (9)
{
"lerna": "2.0.0",
"version": "1.34.4",
"version": "1.36.0",
"npmClient": "yarn",
"useWorkspaces": true
}
......@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
<a name="1.35.0"></a>
# [1.35.0](https://gitlab.com/4geit/react-packages/compare/v1.34.4...v1.35.0) (2017-09-20)
**Note:** Version bump only for package @4geit/rct-auth-store
<a name="1.34.2"></a>
## [1.34.2](https://gitlab.com/4geit/react-packages/compare/v1.34.1...v1.34.2) (2017-09-20)
......
{
"name": "@4geit/rct-auth-store",
"version": "1.34.2",
"version": "1.35.0",
"description": "authentication store to use with react components",
"main": "dist/index.js",
"module": "dist/index.js",
......@@ -14,7 +14,7 @@
"dependencies": {
"@4geit/rct-common-store": "^1.32.2",
"@4geit/rct-notification-store": "^1.32.2",
"@4geit/rct-swagger-client-store": "^1.34.2",
"@4geit/rct-swagger-client-store": "^1.35.0",
"enzyme": "^2.x",
"mobx": "^3.x",
"react": "^15.x",
......
......@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
<a name="1.36.0"></a>
# [1.36.0](https://gitlab.com/4geit/react-packages/compare/v1.35.0...v1.36.0) (2017-09-20)
### Features
* **Chatbox-grid component and store:** Add add a prop to define the API endpoint to call when the c ([f7f997e](https://gitlab.com/4geit/react-packages/commit/f7f997e))
<a name="1.34.4"></a>
## [1.34.4](https://gitlab.com/4geit/react-packages/compare/v1.34.3...v1.34.4) (2017-09-20)
......
{
"name": "@4geit/rct-chatbox-grid-component",
"version": "1.34.4",
"version": "1.36.0",
"description": "chatbox grid component",
"main": "dist/index.js",
"module": "dist/index.js",
......
......@@ -80,6 +80,7 @@ RctChatboxGridComponent.propTypes = {
addOperationId: PropTypes.string.isRequired,
deleteOperationId: PropTypes.string.isRequired,
activateOperationId: PropTypes.string.isRequired,
unactivateOperationId: PropTypes.string.isRequired,
}
RctChatboxGridComponent.defaultProps = {
......@@ -87,6 +88,7 @@ RctChatboxGridComponent.defaultProps = {
addOperationId: 'addUserChatbox',
deleteOperationId: 'deleteUserChatbox',
activateOperationId: 'activateUserChatbox',
unactivateOperationId: 'unactivateUserChatbox',
}
export default compose(withStyles(styles), withWidth())(RctChatboxGridComponent)
......@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
<a name="1.36.0"></a>
# [1.36.0](https://gitlab.com/4geit/react-packages/compare/v1.35.0...v1.36.0) (2017-09-20)
### Bug Fixes
* minor fix ([c7f4dcd](https://gitlab.com/4geit/react-packages/commit/c7f4dcd))
### Features
* **Chatbox-grid component and store:** Add add a prop to define the API endpoint to call when the c ([f7f997e](https://gitlab.com/4geit/react-packages/commit/f7f997e))
<a name="1.34.4"></a>
## [1.34.4](https://gitlab.com/4geit/react-packages/compare/v1.34.3...v1.34.4) (2017-09-20)
......
{
"name": "@4geit/rct-chatbox-grid-store",
"version": "1.34.4",
"version": "1.36.0",
"description": "store for the chatbox-grid component",
"main": "dist/index.js",
"module": "dist/index.js",
......
......@@ -73,6 +73,21 @@ class RctChatboxGridStore {
})
}
}
@action async unactivateItem({ unactivateOperationId, listOperationId }) {
this.inProgress = true
try {
const { body } = await
swaggerClientStore.client.apis.Account[unactivateOperationId]()
await this.fetchData({ listOperationId })
runInAction(() => {
this.inProgress = false
})
} catch (err) {
runInAction(() => {
notificationStore.newMessage(err.message)
})
}
}
}
......
......@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
<a name="1.35.0"></a>
# [1.35.0](https://gitlab.com/4geit/react-packages/compare/v1.34.4...v1.35.0) (2017-09-20)
**Note:** Version bump only for package @4geit/rct-chatbox-list-component
<a name="1.34.2"></a>
## [1.34.2](https://gitlab.com/4geit/react-packages/compare/v1.34.1...v1.34.2) (2017-09-20)
......
{
"name": "@4geit/rct-chatbox-list-component",
"version": "1.34.2",
"version": "1.35.0",
"description": "list chatbox items component",
"main": "dist/index.js",
"module": "dist/index.js",
......@@ -12,7 +12,7 @@
"author": "Caner Candan <caner@candan.fr>",
"license": "MIT",
"dependencies": {
"@4geit/rct-chatbox-list-store": "^1.34.2",
"@4geit/rct-chatbox-list-store": "^1.35.0",
"enzyme": "^2.x",
"material-ui": "next",
"material-ui-icons": "^1.0.0-alpha.19",
......
......@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
<a name="1.35.0"></a>
# [1.35.0](https://gitlab.com/4geit/react-packages/compare/v1.34.4...v1.35.0) (2017-09-20)
**Note:** Version bump only for package @4geit/rct-chatbox-list-store
<a name="1.34.2"></a>
## [1.34.2](https://gitlab.com/4geit/react-packages/compare/v1.34.1...v1.34.2) (2017-09-20)
......
{
"name": "@4geit/rct-chatbox-list-store",
"version": "1.34.2",
"version": "1.35.0",
"description": "store class to handle chatbox list component observables",
"main": "dist/index.js",
"module": "dist/index.js",
......@@ -13,7 +13,7 @@
"license": "MIT",
"dependencies": {
"@4geit/rct-notification-store": "^1.32.2",
"@4geit/rct-swagger-client-store": "^1.34.2",
"@4geit/rct-swagger-client-store": "^1.35.0",
"enzyme": "^2.x",
"mobx": "^3.x",
"react": "^15.x",
......
......@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
<a name="1.35.0"></a>
# [1.35.0](https://gitlab.com/4geit/react-packages/compare/v1.34.4...v1.35.0) (2017-09-20)
**Note:** Version bump only for package @4geit/rct-data-table-component
<a name="1.34.2"></a>
## [1.34.2](https://gitlab.com/4geit/react-packages/compare/v1.34.1...v1.34.2) (2017-09-20)
......
{
"name": "@4geit/rct-data-table-component",
"version": "1.34.2",
"version": "1.35.0",
"description": "data table component for react apps",
"main": "dist/index.js",
"module": "dist/index.js",
......@@ -12,7 +12,7 @@
"author": "Caner Candan <caner@candan.fr>",
"license": "MIT",
"dependencies": {
"@4geit/rct-data-table-store": "^1.34.2",
"@4geit/rct-data-table-store": "^1.35.0",
"enzyme": "^2.x",
"material-ui": "next",
"material-ui-icons": "^1.0.0-alpha.19",
......
......@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
<a name="1.35.0"></a>
# [1.35.0](https://gitlab.com/4geit/react-packages/compare/v1.34.4...v1.35.0) (2017-09-20)
**Note:** Version bump only for package @4geit/rct-data-table-store
<a name="1.34.2"></a>
## [1.34.2](https://gitlab.com/4geit/react-packages/compare/v1.34.1...v1.34.2) (2017-09-20)
......
{
"name": "@4geit/rct-data-table-store",
"version": "1.34.2",
"version": "1.35.0",
"description": "data table store to use with data table components",
"main": "dist/index.js",
"module": "dist/index.js",
......@@ -13,7 +13,7 @@
"license": "MIT",
"dependencies": {
"@4geit/rct-notification-store": "^1.32.2",
"@4geit/rct-swagger-client-store": "^1.34.2",
"@4geit/rct-swagger-client-store": "^1.35.0",
"enzyme": "^2.x",
"mobx": "^3.x",
"react": "^15.x",
......
......@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
<a name="1.35.0"></a>
# [1.35.0](https://gitlab.com/4geit/react-packages/compare/v1.34.4...v1.35.0) (2017-09-20)
**Note:** Version bump only for package @4geit/rct-login-component
<a name="1.34.2"></a>
## [1.34.2](https://gitlab.com/4geit/react-packages/compare/v1.34.1...v1.34.2) (2017-09-20)
......
{
"name": "@4geit/rct-login-component",
"version": "1.34.2",
"version": "1.35.0",
"description": "reusable login component for react apps",
"main": "dist/index.js",
"module": "dist/index.js",
......@@ -12,7 +12,7 @@
"author": "Caner Candan <caner@candan.fr>",
"license": "MIT",
"dependencies": {
"@4geit/rct-auth-store": "^1.34.2",
"@4geit/rct-auth-store": "^1.35.0",
"enzyme": "^2.x",
"material-ui": "next",
"material-ui-icons": "^1.0.0-alpha.19",
......
......@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
<a name="1.35.0"></a>
# [1.35.0](https://gitlab.com/4geit/react-packages/compare/v1.34.4...v1.35.0) (2017-09-20)
**Note:** Version bump only for package @4geit/rct-register-component
<a name="1.34.2"></a>
## [1.34.2](https://gitlab.com/4geit/react-packages/compare/v1.34.1...v1.34.2) (2017-09-20)
......