Skip to content

Commit 8a6863a

Browse files
authored
Merge pull request #164 from topcoder-platform/develop
Revert Notifications Analytics and Config change
2 parents a9936b1 + b7816e5 commit 8a6863a

File tree

9 files changed

+7
-67
lines changed

9 files changed

+7
-67
lines changed

__tests__/__snapshots__/index.js.snap

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -387,11 +387,5 @@ Object {
387387
"delay": [Function],
388388
"formatDuration": [Function],
389389
},
390-
"tracking": Object {
391-
"default": undefined,
392-
"event": [Function],
393-
"init": [Function],
394-
"pageView": [Function],
395-
},
396390
}
397391
`;

config/default.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22
"AV_SCAN_SCORER_REVIEW_TYPE_ID": "",
33
"PROVISIONAL_SCORING_COMPLETED_REVIEW_TYPE_ID": "",
44
"PAGE_SIZE": 50,
5-
"REVIEW_OPPORTUNITY_PAGE_SIZE": 1000,
6-
"GOOGLE_ANALYTICS_ID": ""
5+
"REVIEW_OPPORTUNITY_PAGE_SIZE": 1000
76
}

config/development.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
22
"AV_SCAN_SCORER_REVIEW_TYPE_ID": "68c5a381-c8ab-48af-92a7-7a869a4ee6c3",
3-
"PROVISIONAL_SCORING_COMPLETED_REVIEW_TYPE_ID": "52c91e85-745f-4e62-b592-9879a2dfe9fd",
4-
"GOOGLE_ANALYTICS_ID": "UA-161803421-1"
3+
"PROVISIONAL_SCORING_COMPLETED_REVIEW_TYPE_ID": "52c91e85-745f-4e62-b592-9879a2dfe9fd"
54
}

config/production.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
22
"AV_SCAN_SCORER_REVIEW_TYPE_ID": "55bbb17d-aac2-45a6-89c3-a8d102863d05",
3-
"PROVISIONAL_SCORING_COMPLETED_REVIEW_TYPE_ID": "df51ca7d-fb0a-4147-9569-992fcf5aae48",
4-
"GOOGLE_ANALYTICS_ID": "UA-6340959-1"
3+
"PROVISIONAL_SCORING_COMPLETED_REVIEW_TYPE_ID": "df51ca7d-fb0a-4147-9569-992fcf5aae48"
54
}

config/webpack/default.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ module.exports = {
1919
'moment-duration-format',
2020
'react',
2121
'react-dom',
22-
'react-ga',
2322
'redux',
2423
'redux-actions',
2524
'isomorphic-fetch',

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@
2222
},
2323
"scripts": {
2424
"build": "npm run clean && npm run build:dev && npm run build:prod",
25-
"build:dev": "./node_modules/.bin/webpack --env=development --progress --profile --colors --display-optimization-bailout",
25+
"build:dev": "NODE_ENV=development ./node_modules/.bin/webpack --env=development --progress --profile --colors --display-optimization-bailout",
2626
"build:dev:watch": "npm run clean && ./node_modules/.bin/webpack --env=development --progress --profile --colors --watch --display-optimization-bailout",
27-
"build:prod": "./node_modules/.bin/webpack --env=production --progress --profile --colors --display-optimization-bailout",
27+
"build:prod": "NODE_ENV=production ./node_modules/.bin/webpack --env=production --progress --profile --colors --display-optimization-bailout",
2828
"clean": "rimraf dist",
2929
"jest": "jest --no-cache --maxWorkers=4 --config config/jest/default.js",
3030
"lint": "npm run lint:js",
3131
"lint:js": "./node_modules/.bin/eslint --ext .js,.jsx .",
3232
"test": "npm run lint && npm run jest"
3333
},
34-
"version": "0.17.0",
34+
"version": "0.17.2",
3535
"dependencies": {
3636
"auth0-js": "^6.8.4",
3737
"config": "^3.2.0",
@@ -44,7 +44,6 @@
4444
"qs": "^6.5.2",
4545
"react": "^16.4.1",
4646
"react-dom": "^16.4.1",
47-
"react-ga": "^2.7.0",
4847
"react-redux": "^6.0.1",
4948
"redux": "^3.7.2",
5049
"redux-actions": "^2.4.0",

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ export { actions } from './actions';
1212
export { services } from './services';
1313

1414
export {
15-
challenge, logger, errors, tc, time, mock, submission, tracking,
15+
challenge, logger, errors, tc, time, mock, submission,
1616
} from './utils';

src/utils/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import * as mock from './mock';
88
import * as errors from './errors';
99
import * as filter from './challenge/filter';
1010
import * as submission from './submission';
11-
import * as tracking from './tracking';
1211

1312
const challenge = {
1413
filter,
@@ -22,5 +21,4 @@ export {
2221
mock,
2322
errors,
2423
submission,
25-
tracking,
2624
};

src/utils/tracking.js

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)