Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to react-router v4 #967

Merged
merged 153 commits into from
May 13, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
153 commits
Select commit Hold shift + click to select a range
c76a674
add bull
mattkrick Mar 29, 2017
3282268
Merge remote-tracking branch 'origin/master' into add-bull
mattkrick Mar 29, 2017
4c706dc
subscribe and add integrations
mattkrick Apr 3, 2017
1506150
fix update/remove messages sent to exchange
mattkrick Apr 3, 2017
9f5bb62
Added REDIS_HOST configuration
jordanh Apr 4, 2017
d0e6823
refactor integrations as a feature flag
mattkrick Apr 5, 2017
93bd1b0
Merge remote-tracking branch 'origin/master' into add-bull
mattkrick Apr 5, 2017
dd34a39
add addFeatureFlag
mattkrick Apr 5, 2017
53a907b
begin crafting async menu
mattkrick Apr 5, 2017
d3e3617
finish async menu hooked up to github
mattkrick Apr 6, 2017
2a05720
add removeIntegration
mattkrick Apr 6, 2017
cdd6580
migrate actions to projects
mattkrick Apr 7, 2017
2555e56
switch to plain textarea not auto-resize
mattkrick Apr 8, 2017
e414489
remove autosize
mattkrick Apr 8, 2017
ed66214
add super basic mentions
mattkrick Apr 11, 2017
0656950
add pretty mentions
mattkrick Apr 11, 2017
f83ce05
move to markdown-it fix #900
mattkrick Apr 11, 2017
e25be28
private tag turns card yellow
mattkrick Apr 12, 2017
249576e
nuke actions in everything except meeting summary
mattkrick Apr 12, 2017
6ea58fc
Webpack config for dll vendors
ackernaut Apr 12, 2017
8ec218a
fix project subscription
mattkrick Apr 12, 2017
089e915
Merge remote-tracking branch 'origin/add-tags' into add-tags
mattkrick Apr 12, 2017
9ecbe9f
fix project subscription with better filter
mattkrick Apr 12, 2017
2b03599
begin removing actions from summaries
mattkrick Apr 12, 2017
091e5f2
remove all traces of actions (untested)
mattkrick Apr 12, 2017
3a19254
Restores yellow card theme styles for private projects
ackernaut Apr 12, 2017
bdc15d5
Yank card min-height, set at agenda round?
ackernaut Apr 12, 2017
0624d9c
refactor isArchived to #archived
mattkrick Apr 12, 2017
60e06ce
Yank comment
ackernaut Apr 12, 2017
7ebef71
Merge remote-tracking branch 'origin/add-tags' into add-tags
mattkrick Apr 12, 2017
1fc362b
fix #896 sorting first agenda item
mattkrick Apr 12, 2017
743e3eb
Merge branch 'agenda-updates' into add-tags
mattkrick Apr 12, 2017
93b76a5
remove actions from endMeeting mutation
mattkrick Apr 12, 2017
ecd0ea9
only add agenda item if it is there
mattkrick Apr 13, 2017
760b564
lint
mattkrick Apr 13, 2017
75de323
fix 2 snapshots, but CI isn't failing
mattkrick Apr 13, 2017
f9ff394
Merge remote-tracking branch 'origin/master' into add-tags
mattkrick Apr 13, 2017
ea43fb2
fix more snapshots
mattkrick Apr 13, 2017
948259d
fixes #681
ackernaut Apr 13, 2017
6c267bc
Some tweaks to mention menu styles
ackernaut Apr 13, 2017
5e9af54
Let’s try 3 rows as a default?
ackernaut Apr 13, 2017
4c959e3
Card min heights updated
ackernaut Apr 13, 2017
25fa438
add clickHandler and Enter support to autocomplete
mattkrick Apr 14, 2017
4b6c05a
Merge remote-tracking branch 'origin/add-tags' into add-tags
mattkrick Apr 14, 2017
769b43f
add emoji markdown support
mattkrick Apr 14, 2017
d2b0321
lint
mattkrick Apr 14, 2017
7ab4246
add emoji support
mattkrick Apr 14, 2017
43b05ad
add slack tokens
mattkrick Apr 14, 2017
3c8455b
remove action remnants from meetingAgendaCards fix #916
mattkrick Apr 14, 2017
d9603a8
Merge branch 'add-tags' into add-bull
mattkrick Apr 14, 2017
980f5f4
Updated MeetingAgendaItems user docs for #private
jordanh Apr 15, 2017
14de505
init slack integration
mattkrick Apr 15, 2017
063cda8
Bull now uses REDIS_URL, reuses connections
jordanh Apr 15, 2017
714c5db
Fix undefined logo vars
jordanh Apr 15, 2017
d92c445
use new integratron pattern
mattkrick Apr 18, 2017
bf49eb5
use new integratron pattern
mattkrick Apr 18, 2017
3ff9a3a
Merge remote-tracking branch 'origin/add-bull' into add-bull
mattkrick Apr 18, 2017
15ba867
get backend working for IntegrationSync
mattkrick Apr 18, 2017
5ce8e9c
add notifySlack for startMeeting
mattkrick Apr 18, 2017
d6e205d
broken syncs but better than before
mattkrick Apr 18, 2017
435fa58
Merge branch 'master' into add-tags
mattkrick Apr 18, 2017
73230b9
Merge branch 'add-tags' into add-bull
mattkrick Apr 18, 2017
fc88e2f
Merge branch 'master' into add-tags
mattkrick Apr 18, 2017
52a4e4d
lint from bottom up
mattkrick Apr 18, 2017
22b39ac
lint
jordanh Apr 18, 2017
5dc06f8
lint part 2
mattkrick Apr 18, 2017
d4dc608
add redis to circle.yml
jordanh Apr 18, 2017
de9ffd8
thunked redis connection
jordanh Apr 18, 2017
cce5e4b
naive channel name lookup for slack syncs
mattkrick Apr 18, 2017
4924bb9
Merge remote-tracking branch 'origin/add-bull' into add-bull
mattkrick Apr 18, 2017
008f32e
cache the integratron
mattkrick Apr 19, 2017
b35fe1c
upgrade react
mattkrick Apr 19, 2017
a68d0e8
lint
mattkrick Apr 19, 2017
f2d488b
plug dat leak
mattkrick Apr 19, 2017
7ea6e61
lint >:-(
mattkrick Apr 19, 2017
89617b2
Remove build from .gitignore
jordanh Apr 18, 2017
aa1a3bc
finally fix the infinite rerenders
mattkrick Apr 19, 2017
88a882a
Merge branch 'add-bull' into staging
mattkrick Apr 19, 2017
70e5506
use internal state for project cards
mattkrick Apr 24, 2017
8585cf5
fix down migration
mattkrick Apr 24, 2017
f7fe104
add isArchived to all projects in down migration
mattkrick Apr 24, 2017
ff712fb
remove console logs
mattkrick Apr 24, 2017
8e2232e
refactor id to accessToken for slack
mattkrick Apr 24, 2017
ec64c91
fix redis bugs
mattkrick Apr 24, 2017
63c30e6
lint
mattkrick Apr 25, 2017
4b15ad2
Merge branch 'add-bull' into staging
mattkrick Apr 25, 2017
2b6e832
small performance bump
mattkrick Apr 25, 2017
e7782da
mark completed action as archived in migration
mattkrick Apr 25, 2017
c210b69
Merge branch 'add-bull' into staging
mattkrick Apr 25, 2017
3139d5d
remove private projects from meeting fix #916
mattkrick Apr 26, 2017
a0fb6bd
Merge branch 'master' into add-bull
mattkrick Apr 26, 2017
589b6ed
lint
mattkrick Apr 26, 2017
3c06722
update endMeeting test snapshots
mattkrick Apr 26, 2017
8317382
fix dragging
mattkrick Apr 26, 2017
6d2b6a8
REDIS_HOST -> REDIS_URL (.env.example)
jordanh Apr 26, 2017
e9008ed
fix #950 fix #947
mattkrick Apr 26, 2017
0a1d9a2
Merge remote-tracking branch 'origin/add-tags' into add-tags
mattkrick Apr 26, 2017
49e2674
lint
mattkrick Apr 26, 2017
184d20d
allow for arbitrary tags on projects
mattkrick Apr 26, 2017
88b707c
fixes #954 menu max-height
ackernaut Apr 26, 2017
3d16a28
Updates card widths when being dragged in different areas
ackernaut Apr 26, 2017
c9c6a13
less LOC
ackernaut Apr 26, 2017
be9a2c2
fix #952
mattkrick Apr 27, 2017
0f56150
Merge remote-tracking branch 'origin/add-tags' into add-tags
mattkrick Apr 27, 2017
7860049
fix #952
mattkrick Apr 27, 2017
7162705
Merge branch 'add-tags' into staging
mattkrick Apr 27, 2017
cf1c189
Merge remote-tracking branch 'origin/staging' into staging
mattkrick Apr 27, 2017
90bf026
Re-adds teamMembers query to OutcomeCardContainer
jordanh Apr 27, 2017
34be7f1
fix #955 reset card state beteween agenda items
mattkrick Apr 27, 2017
13f8aef
fix #956
mattkrick Apr 27, 2017
c7be0d2
Merge branch 'add-tags' into staging
mattkrick Apr 27, 2017
c3fb8f1
fix updatedAt EditingStatus
mattkrick Apr 28, 2017
678032f
Merge branch 'add-tags' into staging
mattkrick Apr 28, 2017
6b006fa
add endSlackMeeting
mattkrick Apr 29, 2017
933d887
lint
mattkrick Apr 29, 2017
a8f8c29
Merge branch 'add-tags' into staging
mattkrick May 1, 2017
765e7fb
save card content before changing status
mattkrick May 1, 2017
b254615
Merge branch 'add-tags' into staging
mattkrick May 1, 2017
052f540
lint
mattkrick May 1, 2017
7412db0
Merge branch 'add-tags' into staging
mattkrick May 1, 2017
5c39857
add styles to login for invitation route fix #957
mattkrick May 1, 2017
c5d120f
import proptypes from distinct package
mattkrick May 1, 2017
64f7b87
switch landing page over to react-router v4 to prepare for react 16
mattkrick May 2, 2017
a176abc
add welcome route
mattkrick May 2, 2017
c140284
add signout route
mattkrick May 2, 2017
4cf5654
add 404 and user route
mattkrick May 3, 2017
37fa92a
add team routes
mattkrick May 3, 2017
19029d1
add rest of routes
mattkrick May 3, 2017
fefe703
fix DashNavItem
mattkrick May 3, 2017
9842a8d
replace router.push with history.push
mattkrick May 3, 2017
0f09105
remove params from mixpanel because they are already captured in the …
mattkrick May 3, 2017
07dccd6
replace params with match.params
mattkrick May 3, 2017
f62b9b3
group dashboard route peers under 1 wrapper
mattkrick May 3, 2017
2c24084
add SSR
mattkrick May 3, 2017
b809f77
Remove actions, add tags, add integrator (#902)
mattkrick May 4, 2017
57f71a1
override react-hot-loader stale version
mattkrick May 4, 2017
b1efb9f
Calendar invites #619 (#907)
mattkrick May 4, 2017
8af064a
Fix #957 css styles for login in invitation route (#960)
mattkrick May 4, 2017
944515d
Merge branch 'master' into proptypes-codemod
mattkrick May 4, 2017
19561df
cleanup merge
mattkrick May 4, 2017
1d80f5c
bump changelog
mattkrick May 4, 2017
dfa7fe2
0.18.0
mattkrick May 4, 2017
df44255
re-add build/ to .gitignore (not sure why it was removed?)
mattkrick May 4, 2017
0940c92
remove first addTags
mattkrick May 4, 2017
026ee47
replace react-router with react-router-dom for withRouter
mattkrick May 4, 2017
ce95460
force add build directory (#968)
mattkrick May 4, 2017
dbd8895
Merge branch 'master' into proptypes-codemod
mattkrick May 4, 2017
ac2ee93
refactor Bundle pattern to reduce file count. user query still broken
mattkrick May 6, 2017
4a53a18
fix user info
mattkrick May 10, 2017
94faf21
lint
mattkrick May 10, 2017
db458b4
fix summary route
mattkrick May 11, 2017
ec6f875
allow for debugging without redis or integrator running
mattkrick May 12, 2017
9b36fd0
bump node version in circleCI
mattkrick May 13, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 9 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,16 @@
]
},
"development": {
"presets": ["es2015", "stage-0", "react"],
"presets": ["react"],
"plugins": [
["transform-decorators-legacy"]
["transform-decorators-legacy"],
["transform-class-properties"],
["transform-export-extensions"],
["transform-object-rest-spread"],
["transform-class-properties"],
["transform-es2015-modules-commonjs"],
["transform-es2015-destructuring"],
["transform-es2015-classes"]
]
},
"test": {
Expand Down
8 changes: 8 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ GRAPHQL_PROTOCOL=http
#MAILGUN_DOMAIN="mail.parabol.co"
#MAILGUN_FROM="action@mail.parabol.co"

REDIS_URL="redis://localhost:6379"

RETHINKDB_URL=rethinkdb://localhost:28015/actionDevelopment
RETHINKDB_SSL=false

Expand All @@ -47,3 +49,9 @@ STRIPE_PUBLISHABLE_KEY="pk_test_DaMeLaLlAvE"
ULTRAHOOK_API_KEY="sourApplesAndSweetCarrots"

INTRANET_JWT_SECRET="ZG9udHlvdWxvb2thdG1leW91d2VpcmRv"

#INTEGRATIONS
GITHUB_CLIENT_ID="smellslikemeat"
GITHUB_CLIENT_SECRET="rottenmeat"
SLACK_CLIENT_ID="iWaNnAKiSsYoUAlLOvAh"
SLACK_CLIENT_SECRET="aNdOvAhAnDAgAiNTiLThEnIgHTClOsEsIn"
4 changes: 2 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": 0,
"import/no-named-as-default": 0,
"comma-dangle": 0,
"comma-dangle": ["error", "never"],
"id-length": 0,
"indent": [
2,
Expand All @@ -60,7 +60,7 @@
"no-underscore-dangle": 0,
"max-len": [
1,
140,
140
],
"object-curly-spacing": 0,
"react/forbid-prop-types": 0,
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
.DS_Store
.env
.idea/
build/
coverage/
dll/
dump.rdb
node_modules/
npm-debug.log
yarn-error.log
Expand Down
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,23 @@ This project adheres to [Semantic Versioning](http://semver.org/).

This CHANGELOG follows conventions [outlined here](http://keepachangelog.com/).

## v0.18.0 - 04-May-2017
### Added
- Tags (#archive, #private)
- Calendar invites on first meeting Email Summary
- Integrator Microservice (Bull Job Queue, action-integrator)
- Slack integration (Naive meeting alerts)
- react-githubish-mentions
- emoji support in markdown

### Fixed
- CSS For auth0 modal on invitation route
- sorting first agenda item bug #896

### Removed
- Actions (in favor of private projects)
- redux-form from projects

## v0.17.6 - 25-Apr-2017
### Added
- Hello lang tooltips, we'll now tell you which language is saying
Expand Down
5 changes: 3 additions & 2 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
version: 2
executorType: docker
containerInfo:
- image: node:7.6.0
- image: node:7.10.0
- image: rethinkdb:2.3.5
- image: redis:3.2.8
stages:
build:
workDir: /home/ubuntu/action
Expand Down Expand Up @@ -87,7 +88,7 @@ stages:
echo ${BASH_REMATCH[1]})"
git config --global user.name "Parabol CircleCI"
git config --global user.email "admin+circleci@parabol.co"
git add build
git add build -f
git commit -m "build $ACTION_VERSION" build
fi

Expand Down
35 changes: 21 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "An open-source app for building smarter, more agile teams.",
"author": "Parabol Inc. <love@parabol.com> (http://github.com/ParabolInc)",
"license": "AGPL-3.0",
"version": "0.17.6",
"version": "0.18.0",
"repository": {
"type": "git",
"url": "https://github.com/ParabolInc/action"
Expand Down Expand Up @@ -68,7 +68,7 @@
"codecov": "^1.0.1",
"concurrently": "3.4.0",
"dynamic-serializer": "^0.1.0",
"eslint": "^3.17.1",
"eslint": "^3.19.0",
"eslint-config-airbnb": "^14.1.0",
"eslint-import-resolver-webpack": "^0.8.1",
"eslint-plugin-import": "^2.2.0",
Expand All @@ -86,7 +86,7 @@
"react-hot-loader": "^3.0.0-beta.6",
"react-transform-catch-errors": "1.0.2",
"react-transform-hmr": "1.0.4",
"redbox-react": "1.3.4",
"redbox-react": "^1.3.6",
"rimraf": "2.6.1",
"snyk": "^1.25.2",
"stats-webpack-plugin": "0.5.0",
Expand All @@ -110,7 +110,8 @@
"babel-runtime": "6.23.0",
"bcrypt": "^1.0.2",
"body-parser": "1.17.1",
"cashay": "^0.22.8",
"bull": "^2.2.5",
"cashay": "^0.22.9",
"cheerio": "^0.22.0",
"compression": "1.6.2",
"cors": "2.8.1",
Expand All @@ -124,33 +125,39 @@
"graphiql": "^0.9.3",
"graphql": "^0.9.1",
"graphql-custom-datetype": "^0.3.0",
"ioredis": "^2.5.0",
"isomorphic-fetch": "2.2.1",
"jsonwebtoken": "^7.3.0",
"jwt-decode": "^2.1.0",
"mailcomposer": "^4.0.1",
"mailgun-js": "^0.8.2",
"markdown-it": "^8.3.1",
"markdown-it-emoji": "^1.3.0",
"migrate-rethinkdb": "^1.5.0",
"mime-types": "^2.1.14",
"ms": "^0.7.3",
"node-env-flag": "0.1.0",
"node-fetch": "^1.6.3",
"oy-vey": "^1.0.0-alpha",
"prop-types": "^15.5.8",
"raven": "^1.1.4",
"raven-js": "^3.12.1",
"react": "^15.4.2",
"react": "^15.5.4",
"react-addons-css-transition-group": "^15.4.2",
"react-async-hoc": "0.2.0",
"react-copy-to-clipboard": "^4.2.3",
"react-dnd": "^2.2.4",
"react-dnd": "^2.3.0",
"react-dnd-html5-backend": "^2.2.4",
"react-dom": "^15.4.2",
"react-dom": "^15.5.4",
"react-fontawesome": "^1.5.0",
"react-githubish-mentions": "^1.0.3",
"react-helmet": "^4.0.0",
"react-hotkey-hoc": "^0.2.1",
"react-markdown": "^2.4.5",
"react-notification-system": "^0.2.12",
"react-portal-hoc": "^0.3.2",
"react-notification-system": "^0.2.14",
"react-portal-hoc": "^0.4.0",
"react-redux": "^5.0.3",
"react-router": "2.8.1",
"react-textarea-autosize": "^4.0.5",
"react-router": "^4.1.1",
"react-router-dom": "^4.1.1",
"redux": "3.6.0",
"redux-form": "^6.5.0",
"redux-logger": "2.8.2",
Expand All @@ -163,10 +170,10 @@
"rethinkdbdash": "2.3.28",
"serve-favicon": "^2.4.1",
"shortid": "^2.2.8",
"socketcluster": "^5.9.0",
"socketcluster": "^5.9.1",
"socketcluster-client": "^5.3.0",
"string-score": "^1.0.1",
"stripe": "^4.15.1",
"tap-xunit": "^1.7.0",
"tinycolor2": "^1.4.1",
"webpack-s3-plugin": "^0.9.2"
},
Expand Down
14 changes: 9 additions & 5 deletions src/client/Root.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
import PropTypes from 'prop-types';
import React from 'react';
import {Router, browserHistory} from 'react-router';
import {BrowserRouter as Router} from 'react-router-dom';
import {Provider} from 'react-redux';
import routesFactory from 'universal/routes/index';
// import routesFactory from 'universal/routes/index';
import ActionContainer from 'universal/containers/Action/ActionContainer';

export default function Root({store}) {
const routes = routesFactory(store);
// const routes = routesFactory(store);
return (
<Provider store={store}>
<div>
<Router history={browserHistory} routes={routes} />
<Router>
<ActionContainer />
</Router>
</div>
</Provider>
);
}

Root.propTypes = {
store: React.PropTypes.object.isRequired
store: PropTypes.object.isRequired
};
8 changes: 0 additions & 8 deletions src/client/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,12 @@ const initialState = {};
httpTransport: new ActionHTTPTransport(persistedToken)
});
if (__PRODUCTION__) {
/*
* During the production client bundle build, the server will need to be
* stopped.
*/
StyleSheet.rehydrate(window.__APHRODITE__);
render(
<Root store={store} />,
document.getElementById('root')
);
} else {
/*
* Hey! We're the server. No need to stop rethink. The server will
* take care of that when it wants to exit.
*/
// eslint-disable-next-line global-require
const {AppContainer} = require('react-hot-loader'); // eslint-disable-line import/no-extraneous-dependencies
// ENABLE THIS FOR EXPLORING FRONT END PERFORMANCE
Expand Down
30 changes: 13 additions & 17 deletions src/server/Html.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/* eslint react/no-danger:0 */
import React, {PropTypes} from 'react';
import PropTypes from 'prop-types';
import React from 'react';
import {Provider} from 'react-redux';
import {RouterContext} from 'react-router';
import {renderToString} from 'react-dom/server';
import makeSegmentSnippet from '@segment/snippet';
import {auth0, stripeKey} from 'universal/utils/clientOptions';
import getWebpackPublicPath from 'server/utils/getWebpackPublicPath';
import {StaticRouter} from 'react-router';

const webpackPublicPath = getWebpackPublicPath();
const segKey = process.env.SEGMENT_WRITE_KEY;
Expand All @@ -15,16 +15,21 @@ const segmentSnippet = segKey && makeSegmentSnippet.min({
});

// Injects the server rendered state and app into a basic html template
export default function Html({store, assets, StyleSheetServer, renderProps}) {
export default function Html({store, assets, clientKeyLoader}) {
// const ActionContainer = require('../../build/prerender');
const {default: ActionContainer, StyleSheetServer} = require('../../build/prerender');
const {manifest, app, vendor} = assets;
// TURN ON WHEN WE SEND STATE TO CLIENT
// const initialState = `window.__INITIAL_STATE__ = ${JSON.stringify(store.getState())}`;
// <script dangerouslySetInnerHTML={{__html: initialState}}/>
const context = {};
const {html, css} = StyleSheetServer.renderStatic(() => {
try {
return renderToString(
<Provider store={store}>
<RouterContext {...renderProps} />
<StaticRouter location={'/'} context={context}>
<ActionContainer />
</StaticRouter>
</Provider>
);
} catch (e) {
Expand All @@ -34,14 +39,6 @@ export default function Html({store, assets, StyleSheetServer, renderProps}) {
}
});
const dehydratedStyles = `window.__APHRODITE__ = ${JSON.stringify(css.renderedClassNames)}`;
const clientOptions = `
window.__ACTION__ = {
auth0: ${JSON.stringify(auth0)},
cdn: ${JSON.stringify(webpackPublicPath)},
sentry: ${JSON.stringify(process.env.SENTRY_DSN_PUBLIC)},
stripe: ${JSON.stringify(stripeKey)}
};
`;
const fontAwesomeUrl = 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css';
return (
<html>
Expand All @@ -53,7 +50,7 @@ export default function Html({store, assets, StyleSheetServer, renderProps}) {
</head>
<body>
<script dangerouslySetInnerHTML={{__html: dehydratedStyles}} />
<script dangerouslySetInnerHTML={{__html: clientOptions}} />
<script dangerouslySetInnerHTML={{__html: clientKeyLoader}} />
<div id="root" dangerouslySetInnerHTML={{__html: html}} />
<script dangerouslySetInnerHTML={{__html: manifest.text}} />
<script src={`${webpackPublicPath}${vendor.js}`} />
Expand All @@ -64,8 +61,7 @@ export default function Html({store, assets, StyleSheetServer, renderProps}) {
}

Html.propTypes = {
StyleSheetServer: PropTypes.object,
clientKeyLoader: PropTypes.string.isRequired,
store: PropTypes.object.isRequired,
assets: PropTypes.object,
renderProps: PropTypes.object
assets: PropTypes.object
};
6 changes: 3 additions & 3 deletions src/server/__tests__/Organization/data/org1.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const ORG1_OTHER_TEAM_MEMBERS = [
id: 'test|bruceBanner',
email: 'bruce.banner@avengers.org',
name: 'Bruce Banner',
nickname: 'Hulk',
nickname: 'Hulk'
}),
testOrgMember({
id: 'test|natashaRomanova',
Expand All @@ -43,13 +43,13 @@ export const ORG1_OTHER_TEAM_MEMBERS = [
id: 'test|kyleRichmond',
email: 'kyle.richmond@avengers.org',
name: 'Kyle Richmond',
nickname: 'Nighthawk',
nickname: 'Nighthawk'
}),
testOrgMember({
id: 'test|thorOdinson',
email: 'thor@avengers.org',
name: 'Thor Odinson',
nickname: 'Thor',
nickname: 'Thor'
})
];

Expand Down
2 changes: 1 addition & 1 deletion src/server/__tests__/Organization/data/testOrgMember.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default function ({
email,
name,
nickname,
picture = null,
picture = null
} = {}) {
const now = new Date();

Expand Down
Loading