Skip to content
This repository has been archived by the owner on Sep 18, 2020. It is now read-only.

Add telemetry #179

Open
wants to merge 7 commits into
base: sync-profile
Choose a base branch
from
Open

Add telemetry #179

wants to merge 7 commits into from

Conversation

leventdem
Copy link
Collaborator

No description provided.

@@ -1,11 +1,36 @@

import Compressor from 'compressorjs'
import * as common from 'masq-common'
import fetch from 'node-fetch'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we are in browser's context, we can use window.fetch

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, done.

@@ -112,6 +112,9 @@ class Login extends Component {
}

handleOpenSignup () {
const { addLog } = this.props
console.log('click .....handleOpenSignup')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rm console.log

@@ -6,6 +6,30 @@ const { encrypt, decrypt } = common.crypto

const MAX_IMAGE_SIZE = 100000 // 100 KB

const postLog = async (log) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants