diff --git a/.env.example b/.env.example
index 3995433e..de94f2ee 100644
--- a/.env.example
+++ b/.env.example
@@ -1,11 +1,5 @@
-FILEPICKER_API_KEY=
-MIXPANEL_TOKEN=
-INTERCOM_APP_ID=
-PROXY_HOST=http://hylo-landing.surge.sh
-REDIRECT_TO_APP_STORE=
-
# Holochain
-HOLOCHAIN_WEBSOCKET_URI=ws://localhost:3400
+HOLOCHAIN_WEBSOCKET_URI=ws://localhost:14202
COMMUNITY_DNA_INSTANCE_ID=__communities
HOLOCHAIN_GRAPHQL_PATH=community/graphql/graphql
# HOLOCHAIN_BUILD_PATH=/path/to/hylo-holo-dnas/hylo-ui
diff --git a/.gitignore b/.gitignore
index 3caf4ee7..00ee5854 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,7 +10,6 @@ coverage
build
build-hc
es5
-storybook-static
# misc
.DS_Store
diff --git a/.storybook/config.js b/.storybook/config.js
deleted file mode 100644
index 473ad506..00000000
--- a/.storybook/config.js
+++ /dev/null
@@ -1,17 +0,0 @@
-import { configure, addDecorator } from '@storybook/react'
-import { withInfo } from '@storybook/addon-info'
-
-const req = require.context("../src", true, /.(stories).(tsx|ts|js|jsx)$/)
-function loadStories() {
- req.keys().forEach(filename => req(filename))
-}
-
-// * would be really nice if this showed-up in the addOns viewport
-// https://github.com/storybooks/storybook/issues/1147
-addDecorator(
- withInfo({
- header: false // Global configuration for the info addon across all of your stories.
- })
-)
-
-configure(loadStories, module);
diff --git a/.storybook/webpack.config.js b/.storybook/webpack.config.js
deleted file mode 100644
index 7b4d83e5..00000000
--- a/.storybook/webpack.config.js
+++ /dev/null
@@ -1,29 +0,0 @@
-const path = require('path');
-const hyloWebpackConfig = require('../config/webpack.config.dev')
-
-// Building using dev webpack config, but may need to make work with prod config
-module.exports = async ({ config }) => {
- const mergedConfig = {
- ...config,
- resolve: {
- ...config.resolve,
- modules: [
- ...hyloWebpackConfig.resolve.modules,
- ...config.resolve.modules
- ]
- },
- module: {
- ...config.module,
- rules: [
- // import Markdown raw
- {
- test: /\.md$/,
- use: 'raw-loader'
- },
- ...hyloWebpackConfig.module.rules
- ]
- }
- }
-
- return mergedConfig
-}
diff --git a/app.json b/app.json
index 67bfe3eb..2e2fb8f8 100644
--- a/app.json
+++ b/app.json
@@ -6,9 +6,6 @@
"API_HOST": {
"required": true
},
- "FILEPICKER_API_KEY": {
- "required": true
- },
"NODE_MODULES_CACHE": {
"required": true
},
@@ -27,15 +24,6 @@
"ROLLBAR_ENV": {
"required": true
},
- "MIXPANEL_TOKEN": {
- "required": true
- },
- "INTERCOM_APP_ID": {
- "required": true
- },
- "REDIRECT_TO_APP_STORE": {
- "required": true
- },
"HOLOCHAIN_WEBSOCKET_URI": {
"required": true
},
diff --git a/package.json b/package.json
index 4255d35b..2a279505 100644
--- a/package.json
+++ b/package.json
@@ -9,9 +9,7 @@
"test": "node scripts/test.js",
"lint": "yarn exec standard",
"lint:fix": "yarn exec standard --fix",
- "server": "./node_modules/.bin/babel-node --config-file ./config/babel.config.js scripts/serveUniversal.js",
- "storybook": "start-storybook -p 6006",
- "storybook:build": "build-storybook"
+ "server": "./node_modules/.bin/babel-node --config-file ./config/babel.config.js scripts/serveUniversal.js"
},
"dependencies": {
"@apollo/react-hooks": "^3.1.3",
@@ -24,24 +22,19 @@
"@babel/preset-react": "^7.0.0",
"@holochain/client": "0.6.0",
"@msgpack/msgpack": "^2.7.2",
- "@storybook/addon-actions": "^v5.0.10",
- "@storybook/addon-info": "^5.0.10",
- "@storybook/addon-links": "^v5.0.10",
- "@storybook/addons": "^v5.0.10",
- "@storybook/react": "^v5.0.10",
"@svgr/webpack": "4.1.0",
"@types/react": "^16.8.14",
- "@types/react-css-modules": "^4.6.2",
+ "@types/react-css-modules": "^4.6.4",
"ansi-styles": "^3.2.1",
- "apollo-cache": "^1.3.2",
- "apollo-cache-inmemory": "^1.6.3",
- "apollo-client": "^2.6.4",
- "apollo-link": "^1.2.13",
- "apollo-link-context": "^1.0.19",
+ "apollo-cache": "^1.3.5",
+ "apollo-cache-inmemory": "^1.6.6",
+ "apollo-client": "^2.6.10",
+ "apollo-link": "^1.2.14",
+ "apollo-link-context": "^1.0.20",
"apollo-link-logger": "^1.2.3",
- "apollo-link-retry": "^2.2.15",
- "apollo-link-schema": "^1.2.4",
- "apollo-utilities": "^1.3.2",
+ "apollo-link-retry": "^2.2.16",
+ "apollo-link-schema": "^1.2.5",
+ "apollo-utilities": "^1.3.4",
"app-module-path": "^2.2.0",
"autoproxy": "^1.0.1",
"babel-core": "7.0.0-bridge.0",
@@ -109,7 +102,6 @@
"immutable": "^3.8.1",
"inflection": "^1.12.0",
"inquirer": "^4.0.1",
- "ismobilejs": "^0.4.1",
"jest": "23.6.0",
"jest-pnp-resolver": "1.0.2",
"jest-resolve": "23.6.0",
@@ -121,7 +113,6 @@
"lru-cache": "^4.1.1",
"mime": "^2.0.3",
"mini-css-extract-plugin": "0.5.0",
- "mixpanel-browser": "^2.22.4",
"mock-fs": "^4.2.0",
"moment": "^2.24.0",
"newrelic": "^8.15.0",
@@ -153,7 +144,6 @@
"react-dnd": "^2.5.4",
"react-dnd-html5-backend": "^2.5.4",
"react-dom": "^16.8.6",
- "react-intercom": "^1.0.14",
"react-particles-js": "^2.1.0",
"react-redux": "^6.0.0",
"react-responsive": "^8.0.1",
diff --git a/src/client/filepicker.js b/src/client/filepicker.js
deleted file mode 100644
index 83de6d2e..00000000
--- a/src/client/filepicker.js
+++ /dev/null
@@ -1,35 +0,0 @@
-import { loadScript } from './util'
-import { filepickerKey } from 'config'
-
-const services = [
- 'COMPUTER',
- 'URL',
- 'WEBCAM',
- 'FACEBOOK',
- 'INSTAGRAM',
- 'DROPBOX',
- 'GOOGLE_DRIVE',
- 'IMAGESEARCH'
-]
-
-/*
- * options:
- * success: a success callback, which receives the new file's url as an argument
- * failure: a failure callback, which receives the error as an argument
- * attachmentType: either 'image' or 'file'. Determines what file types are allowed
- */
-const uploadCore = function ({ success, failure, attachmentType }) {
- const mimetype = attachmentType === 'image' ? 'image/*' : null
- window.filepicker.setKey(filepickerKey)
- window.filepicker.pick(
- { mimetype, multiple: false, services },
- blob => success(blob.url, blob.filename),
- failure
- )
-}
-
-export function pick (opts) {
- Promise.resolve(
- window.filepicker || loadScript('//api.filepicker.io/v2/filepicker.js')
- ).then(() => uploadCore(opts))
-}
diff --git a/src/components/Avatar/Avatar.stories.js b/src/components/Avatar/Avatar.stories.js
deleted file mode 100644
index 1aea8a52..00000000
--- a/src/components/Avatar/Avatar.stories.js
+++ /dev/null
@@ -1,12 +0,0 @@
-import React from 'react'
-import { storiesOf } from '@storybook/react'
-import { MemoryRouter } from 'react-router'
-import Avatar from 'components/Avatar'
-
-storiesOf('Avatar', module)
- .addDecorator(story => (
-
- Forgot password? -
- -- Or connect with: -
-Stay connected, organized, and engaged with your community.
{this.props.error && formatError(this.props.error, 'Signup')} diff --git a/src/routes/NonAuthLayout/Signup/Signup.test.js b/src/routes/NonAuthLayout/Signup/Signup.test.js index 1774d6ad..92b8565f 100644 --- a/src/routes/NonAuthLayout/Signup/Signup.test.js +++ b/src/routes/NonAuthLayout/Signup/Signup.test.js @@ -7,9 +7,4 @@ describe('Signup', () => { const wrapper = shallow(- Stay connected, organized, and engaged with your community. -
-- Or connect with: -
-