From 85d79a8d7fbe77f3327ca18b1229ce2614a480e4 Mon Sep 17 00:00:00 2001 From: Patrick Fic <> Date: Wed, 29 Sep 2021 12:03:21 -0700 Subject: [PATCH 1/2] Remove extra console logs. --- client/src/firebase/firebase.utils.js | 12 ++++++------ client/src/utils/GraphQLClient.js | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/client/src/firebase/firebase.utils.js b/client/src/firebase/firebase.utils.js index 30828c71a..dac0fc8ca 100644 --- a/client/src/firebase/firebase.utils.js +++ b/client/src/firebase/firebase.utils.js @@ -63,12 +63,12 @@ export const logImEXEvent = (eventName, additionalParams, stateProp = null) => { null, ...additionalParams, }; - console.log( - "%c[Analytics]", - "background-color: green ;font-weight:bold;", - eventName, - eventParams - ); + // console.log( + // "%c[Analytics]", + // "background-color: green ;font-weight:bold;", + // eventName, + // eventParams + // ); logEvent(analytics, eventName, eventParams); //Log event to OpenReplay server. diff --git a/client/src/utils/GraphQLClient.js b/client/src/utils/GraphQLClient.js index 5c5223107..d0fa29461 100644 --- a/client/src/utils/GraphQLClient.js +++ b/client/src/utils/GraphQLClient.js @@ -38,9 +38,9 @@ const roundTripLink = new ApolloLink((operation, forward) => { return forward(operation).map((data) => { // Called after server responds const time = new Date() - operation.getContext().start; - console.log( - `Operation ${operation.operationName} took ${time} to complete` - ); + // console.log( + // `Operation ${operation.operationName} took ${time} to complete` + // ); TrackExecutionTime(operation.operationName, time); return data; }); From 8bb8eee384f406ea2d6cc6b067f1f70eaf489616 Mon Sep 17 00:00:00 2001 From: Patrick Fic <> Date: Wed, 29 Sep 2021 14:38:40 -0700 Subject: [PATCH 2/2] Remove open replay tracker. --- client/src/App/App.container.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/App/App.container.jsx b/client/src/App/App.container.jsx index 2f05560ef..335700af3 100644 --- a/client/src/App/App.container.jsx +++ b/client/src/App/App.container.jsx @@ -11,7 +11,7 @@ import App from "./App"; import trackerGraphQL from "@openreplay/tracker-graphql"; //import trackerRedux from "@openreplay/tracker-redux"; import Tracker from "@openreplay/tracker"; -import trackerAssist from "@openreplay/tracker-assist"; +//import trackerAssist from "@openreplay/tracker-assist"; import { getCurrentUser } from "../firebase/firebase.utils"; moment.locale("en-US"); @@ -29,9 +29,9 @@ export const tracker = new Tracker({ }, }); -tracker.use( - trackerAssist({ confirmText: "Technical support is about to assist you." }) -); // check the list of available options below +// tracker.use( +// trackerAssist({ confirmText: "Technical support is about to assist you." }) +// ); // check the list of available options below export const recordGraphQL = tracker.use(trackerGraphQL()); tracker.start(); if (process.env.NODE_ENV === "production") LogRocket.init("gvfvfw/bodyshopapp");