This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Error ----------------------------------------------------------------------- ../happy-tools/apps/core/src/apps.js:14:31 | |
| Cannot resolve module `core/src/app-host`. | |
| 14| import { switchAppHost } from 'core/src/app-host'; | |
| ^^^^^^^^^^^^^^^^^^^ | |
| Error ------------------------------------------------ ../happy-tools/apps/core/src/components/apps-menu/index.jsx:15:18 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Happy Tools Chat - Customer | |
| A library to get your customers chatting. | |
| ## Installation | |
| Use `npm` to install the dependency: | |
| ``` | |
| npm install @happytools/chat-client |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/test/simperium/channel_test.js b/test/simperium/channel_test.js | |
| index 0db6fae..d409aba 100644 | |
| --- a/test/simperium/channel_test.js | |
| +++ b/test/simperium/channel_test.js | |
| @@ -437,6 +437,30 @@ describe( 'Channel', function() { | |
| done() | |
| } ); | |
| } ); | |
| + | |
| + it( 'should handle a 409', ( done ) =>{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * @flow | |
| * @format | |
| */ | |
| /** | |
| * External dependencies | |
| */ | |
| import { values } from 'lodash'; | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // snip | |
| function get_validator( $event_type ) { | |
| $class_name_default = 'Happytools\\Scheduler\\' . strtok( $event_type, ':' ) . '_Event_Validator'; | |
| $class_name_or_validator = apply_filters( 'happytools_event_validator', null, $event_type ); | |
| if ( $class_name_or_validator === null ) { | |
| $class_name_or_validator = $class_name_default; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/sections/planner/utils.js b/src/sections/planner/utils.js | |
| index 3af0bd49..b1efe810 100644 | |
| --- a/src/sections/planner/utils.js | |
| +++ b/src/sections/planner/utils.js | |
| @@ -432,24 +432,22 @@ export const clearTaskBlocks = ( | |
| continue; | |
| } | |
| - if (includedTimespans.length === 1) { | |
| - updateOrMerge( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/state/middleware/event-persistence/action-to-events/task-blocks-modify.js b/src/state/middleware/event-persistence/action-to-events/task-blocks-modify.js | |
| index da3e5420..d589d4fa 100644 | |
| --- a/src/state/middleware/event-persistence/action-to-events/task-blocks-modify.js | |
| +++ b/src/state/middleware/event-persistence/action-to-events/task-blocks-modify.js | |
| @@ -45,8 +45,13 @@ const incrementEventVersions = (action: ActionTypes, events: Array<Event>): Acti | |
| const lastEvents = keyBy(events, 'aggregate_uuid'); | |
| action.modifications = mapValues(action.modifications, modification => | |
| map(modification, block => { | |
| - const lastVersion = lastEvents[block.uid].expected_version; | |
| - return incrementBlockVersion(block, lastVersion); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * @flow | |
| * @format | |
| */ | |
| /** | |
| * External dependencies | |
| */ | |
| import { reduce, isEmpty } from 'lodash'; | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/lib/api/types.js b/src/lib/api/types.js | |
| index 657c93d0..ae0a4bbe 100644 | |
| --- a/src/lib/api/types.js | |
| +++ b/src/lib/api/types.js | |
| @@ -16,9 +16,30 @@ export type RequestStage = | |
| | typeof REQUEST_STAGE_SUCCESS | |
| | typeof REQUEST_STAGE_FAILURE; | |
| -export type ApiRequestStage<T> = { type: RequestStage, value: T }; | |
| +export type ApiRequestStage<P, R=P> = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/lib/api/types.js b/src/lib/api/types.js | |
| index 657c93d0..2bc0f134 100644 | |
| --- a/src/lib/api/types.js | |
| +++ b/src/lib/api/types.js | |
| @@ -16,9 +16,30 @@ export type RequestStage = | |
| | typeof REQUEST_STAGE_SUCCESS | |
| | typeof REQUEST_STAGE_FAILURE; | |
| -export type ApiRequestStage<T> = { type: RequestStage, value: T }; | |
| +export type ApiRequestStage<P, R> = |