Skip to content

Commit 1bfe6e6

Browse files
authored
Merge pull request #1212 from complexdatacollective/feature/two-mode-sociogram-2
Feature/two mode sociogram 2
2 parents 6ae75b4 + 7d34931 commit 1bfe6e6

File tree

115 files changed

+2669
-1047
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+2669
-1047
lines changed

babel.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ module.exports = {
1212
},
1313
],
1414
'@babel/plugin-proposal-json-strings',
15+
'@babel/plugin-proposal-nullish-coalescing-operator',
1516
],
1617
};

config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2-
<widget android-versionCode="6199" id="org.codaco.NetworkCanvasInterviewer6" ios-CFBundleIdentifier="org.codaco.networkCanvasInterviewerBusiness" ios-CFBundleVersion="6199" version="6.3.2"
2+
<widget android-versionCode="6199" id="org.codaco.NetworkCanvasInterviewer6" ios-CFBundleIdentifier="org.codaco.networkCanvasInterviewerBusiness" ios-CFBundleVersion="6199" version="6.4.0"
33
xmlns="http://www.w3.org/ns/widgets"
44
xmlns:android="http://schemas.android.com/apk/res/android"
55
xmlns:cdv="http://cordova.apache.org/ns/1.0">

package-lock.json

Lines changed: 30 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "network-canvas-interviewer",
3-
"version": "6.3.2",
3+
"version": "6.4.0",
44
"productName": "Network Canvas Interviewer",
55
"description": "A tool for conducting Network Canvas Interviews.",
66
"author": "Complex Data Collective",
@@ -21,7 +21,7 @@
2121
"build:ios": "cross-env NC_TARGET_PLATFORM=ios node scripts/build.js && cordova prepare ios",
2222
"lint": "eslint src && eslint public",
2323
"sass-lint": "sass-lint -vc .sass-lint.yml",
24-
"test": "node scripts/test.js --env=jsdom",
24+
"test": "node scripts/test.js",
2525
"test:integration": "cross-env TEST_ENV=development jest --config=integration-tests/jest.config.js --runInBand",
2626
"test:integration:ci": "jest --config=integration-tests/jest.config.js --runInBand",
2727
"test:integration:docker": "docker-compose run integration_tests",
@@ -48,6 +48,7 @@
4848
"@babel/eslint-parser": "~7.13.10",
4949
"@babel/plugin-proposal-class-properties": "7.7.4",
5050
"@babel/plugin-proposal-json-strings": "7.7.4",
51+
"@babel/plugin-proposal-nullish-coalescing-operator": "~7.18.6",
5152
"@babel/plugin-syntax-dynamic-import": "7.7.4",
5253
"@babel/plugin-syntax-import-meta": "7.7.4",
5354
"@babel/preset-env": "7.10.4",
@@ -277,7 +278,7 @@
277278
"<rootDir>/integration-tests",
278279
"<rootDir>/platforms"
279280
],
280-
"testEnvironment": "node",
281+
"testEnvironment": "jsdom",
281282
"testURL": "http://localhost",
282283
"transform": {
283284
"/node_modules/(?!codaco/ui).+\\.js$": "<rootDir>/node_modules/babel-jest",

public/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "network-canvas-interviewer",
3-
"version": "6.3.2",
3+
"version": "6.4.0",
44
"productName": "Network Canvas Interviewer",
55
"description": "A tool for conducting Network Canvas Interviews.",
66
"author": "Complex Data Collective",

src/behaviours/AssetMetaProvider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { connect } from 'react-redux';
2-
import { get } from 'lodash';
32
import { getAssetManifest } from '../selectors/protocol';
3+
import { get } from '../utils/lodash-replacements';
44

55
const mapStateToProps = (state, { asset }) => {
66
const assetManifest = getAssetManifest(state);

src/behaviours/DragAndDrop/DragSource.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ const dragSource = (WrappedComponent) => ({
116116
allowDrag={allowDrag}
117117
scrollDirection={scrollDirection}
118118
/>
119-
{ preview && (
119+
{preview && (
120120
<div
121121
ref={previewRef}
122122
style={{

src/behaviours/injectAssetUrl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import {
33
compose, lifecycle, withState, setPropTypes, mapProps,
44
} from 'recompose';
55
import PropTypes from 'prop-types';
6-
import { get } from 'lodash';
76
import { getAssetManifest } from '../selectors/protocol';
87
import getMediaAssetUrl from '../utils/protocol/getMediaAssetUrl';
8+
import { get } from '../utils/lodash-replacements';
99

1010
// curry asset fetcher with protocol path from state
1111
const mapStateToProps = (state) => ({

src/behaviours/withPrompt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ import React, { Component } from 'react';
22
import { connect } from 'react-redux';
33
import { bindActionCreators } from 'redux';
44
import PropTypes from 'prop-types';
5-
import { get } from 'lodash';
65
import { actionCreators as sessionsActions } from '../ducks/modules/sessions';
76
import { getPromptIndexForCurrentSession } from '../selectors/session';
87
import { getProtocolStages } from '../selectors/protocol';
8+
import { get } from '../utils/lodash-replacements';
99

1010
export default function withPrompt(WrappedComponent) {
1111
class WithPrompt extends Component {

src/components/Canvas/ConvexHull.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React, { Component } from 'react';
22
import PropTypes from 'prop-types';
33
import { map, isEqual } from 'lodash';
44
import ConcaveMan from 'concaveman';
5-
import { entityAttributesProperty } from '../../ducks/modules/network';
5+
import { entityAttributesProperty } from '@codaco/shared-consts';
66

77
export class ConvexHull extends Component {
88
shouldComponentUpdate(nextProps) {

0 commit comments

Comments
 (0)