From 10646ddad6e4ff650d161a931a3b66301b8a55b1 Mon Sep 17 00:00:00 2001 From: Jay <36286598+Theqwertypusher@users.noreply.github.com> Date: Wed, 21 Oct 2020 01:11:58 -0400 Subject: [PATCH 1/4] (updated) manifest version from 5.0.0 to 6.0.0 --- src/extension/build/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extension/build/manifest.json b/src/extension/build/manifest.json index 1c8faff50..b5189972b 100644 --- a/src/extension/build/manifest.json +++ b/src/extension/build/manifest.json @@ -1,6 +1,6 @@ { "name": "Reactime", - "version": "5.0.0", + "version": "6.0.0", "devtools_page": "devtools.html", "description": "A Chrome extension that helps debug React applications by memorizing the state of components with every render.", "manifest_version": 2, From 547369002e94355d3619fb134bf826e1a7784510 Mon Sep 17 00:00:00 2001 From: SanjayLavingia <64515025+SanjayLavingia@users.noreply.github.com> Date: Sun, 25 Oct 2020 08:51:24 -0700 Subject: [PATCH 2/4] (removed) logging in index.ts within backend. This was causing the unwanted logs while firing actions from Reactime frontend --- src/backend/index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/backend/index.ts b/src/backend/index.ts index a7714e4a8..4699cf0b2 100644 --- a/src/backend/index.ts +++ b/src/backend/index.ts @@ -44,7 +44,6 @@ function getRouteURL(node: SnapshotNode): string { // * Event listener for time-travel actions window.addEventListener('message', ({ data: { action, payload } }: MsgData) => { - console.log('payload',action) switch (action) { case 'jumpToSnap': timeJump(payload, true); // * This sets state with given payload From 9815045b82fbe97bb2c13d66a8ed26656b2befdd Mon Sep 17 00:00:00 2001 From: SanjayLavingia <64515025+SanjayLavingia@users.noreply.github.com> Date: Sun, 25 Oct 2020 08:52:38 -0700 Subject: [PATCH 3/4] (cleaned) linkFiber in preparation for adding comments for new addions --- src/backend/linkFiber.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/backend/linkFiber.ts b/src/backend/linkFiber.ts index b0230e865..424144bd3 100644 --- a/src/backend/linkFiber.ts +++ b/src/backend/linkFiber.ts @@ -288,7 +288,6 @@ function createTree( (tag === 0 || tag === 1 || tag === 2 || tag === 10) && isRecoil === true ) { - // console.log('Recoil Hooks Algo', currentFiber) if (memoizedState.queue) { // Hooks states are stored as a linked list using memoizedState.next, // so we must traverse through the list and get the states. @@ -322,7 +321,6 @@ function createTree( (tag === 0 || tag === 1 || tag === 2 || tag === 10) && isRecoil === false ) { - // console.log('Regular Hooks Algo', currentFiber) if (memoizedState.queue) { // Hooks states are stored as a linked list using memoizedState.next, // so we must traverse through the list and get the states. @@ -351,7 +349,6 @@ function createTree( // This grabs stateless components if (!componentFound && (tag === 0 || tag === 1 || tag === 2)) { - // console.log('Stateless Algo', currentFiber) newState = 'stateless'; } From c88035373fce1c711417b5647fb0943198b1e874 Mon Sep 17 00:00:00 2001 From: SanjayLavingia <64515025+SanjayLavingia@users.noreply.github.com> Date: Sun, 25 Oct 2020 08:55:07 -0700 Subject: [PATCH 4/4] (cleaned) background.js in preperation for comments --- src/extension/background.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/extension/background.js b/src/extension/background.js index d6bdfb757..03e33b6d8 100644 --- a/src/extension/background.js +++ b/src/extension/background.js @@ -341,7 +341,6 @@ chrome.runtime.onMessage.addListener((request, sender) => { default: break; } - // console.log('inside background.js, tabsObj:', tabsObj); return true; // attempt to fix close port error });