This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| commit bb192af76183bfcce029aaa969e3e959a108cc8f | |
| Author: Jason Laster <jason.laster.11@gmail.com> | |
| Date: Fri Sep 11 20:14:35 2020 -0700 | |
| tweaks | |
| diff --git a/src/ui/actions/app.js b/src/ui/actions/app.js | |
| index 26f76009..52f63f44 100644 | |
| --- a/src/ui/actions/app.js | |
| +++ b/src/ui/actions/app.js |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/package.json b/package.json | |
| index 4e5163a..f0c5673 100644 | |
| --- a/package.json | |
| +++ b/package.json | |
| @@ -22,7 +22,13 @@ | |
| }, | |
| "homepage": "https://github.com/bhackett1024/ReplayLinker#readme", | |
| "dependencies": { | |
| + "@apollo/client": "^3.1.5", | |
| "@octokit/rest": "^18.0.4", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/dispatch/apollo.js b/src/dispatch/apollo.js | |
| new file mode 100644 | |
| index 0000000..9237d70 | |
| --- /dev/null | |
| +++ b/src/dispatch/apollo.js | |
| @@ -0,0 +1,48 @@ | |
| +const { gql, ApolloClient, InMemoryCache } = require("@apollo/client"); | |
| +const { HttpLink } = require("apollo-link-http"); | |
| + | |
| +const createHttpLink = (headers) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/dispatch/main.js b/src/dispatch/main.js | |
| index 085ada5..c95c5b5 100644 | |
| --- a/src/dispatch/main.js | |
| +++ b/src/dispatch/main.js | |
| @@ -18,46 +18,55 @@ const { | |
| resourcesDirectory, | |
| } = require("../shared/config"); | |
| const { ProtocolSocket } = require("../protocol/socket"); | |
| -const { loadTypes } = require("../protocol/typeCheck"); | |
| +// const { loadTypes } = require("../protocol/typeCheck"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ControlReplayer replayer-655418551.log 2020-09-03T18:00:30.541Z | |
| [Control 0.067] ControlChannelInitialize 00959b8c-98b1-401c-aa8d-4ee2709fd54b Address ws://dispatch.replay.io:8001 | |
| [Control 0.075] SendManifest #1 Index 1 Manifest {"kind":"fork","id":1} | |
| [Control 0.081] ControlChannelOpen | |
| [Control 0.083] RecordingId 3cf17135-b669-4d2c-a4b7-d0ee1866ba8d | |
| [Control 0.083] ReceivedResources | |
| [Control 0.097] HandleMessage Start 5 00959b8c-98b1-401c-aa8d-4ee2709fd54b/56b879d1-86c8-452d-b8fe-148bb6a96252 undefined Session.getEndpoint | |
| [Control 0.097] HandleMessage Start 6 00959b8c-98b1-401c-aa8d-4ee2709fd54b/56b879d1-86c8-452d-b8fe-148bb6a96252 undefined Graphics.findPaints | |
| [Control 0.097] HandleMessage Start 7 00959b8c-98b1-401c-aa8d-4ee2709fd54b/56b879d1-86c8-452d-b8fe-148bb6a96252 undefined Session.findMouseEvents | |
| [Control 0.097] HandleMessage Start 8 00959b8c-98b1-401c-aa8d-4ee2709fd54b/56b879d1-86c8-452d-b8fe-148bb6a96252 undefined Graphics.getDevicePixelRatio |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js | |
| index 2c1a547dce87..9e0f0b38a36c 100644 | |
| --- a/browser/app/profile/firefox.js | |
| +++ b/browser/app/profile/firefox.js | |
| @@ -221,7 +221,7 @@ pref("browser.defaultbrowser.notificationbar", false); | |
| // 0 = blank, 1 = home (browser.startup.homepage), 2 = last visited page, 3 = resume previous browser session | |
| // The behavior of option 3 is detailed at: http://wiki.mozilla.org/Session_Restore | |
| pref("browser.startup.page", 1); | |
| -pref("browser.startup.homepage", "http://google.com"); | |
| +pref("browser.startup.homepage", "http://localhost:3000"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/devtools/startup/DevToolsStartup.jsm b/devtools/startup/DevToolsStartup.jsm | |
| index 01fceea4165e..c5e37c65a86c 100644 | |
| --- a/devtools/startup/DevToolsStartup.jsm | |
| +++ b/devtools/startup/DevToolsStartup.jsm | |
| @@ -620,6 +620,7 @@ DevToolsStartup.prototype = { | |
| return; | |
| } | |
| this.recordingButtonCreated = true; | |
| + this.initializeRecordingWebChannel(); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/lib/user.tsx b/lib/user.tsx | |
| index a576a75..954f03d 100755 | |
| --- a/lib/user.tsx | |
| +++ b/lib/user.tsx | |
| @@ -6,6 +6,19 @@ import { UserState, UserType, UserProviderProps } from '../types/user'; | |
| // Use a global to save the user, so we don't have to fetch it again after page navigations | |
| let userState: UserType; | |
| +function sendUserToBrowser(user) { | |
| + if (typeof window == 'object') { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js | |
| index 2c1a547dce87..9e0f0b38a36c 100644 | |
| --- a/browser/app/profile/firefox.js | |
| +++ b/browser/app/profile/firefox.js | |
| @@ -221,7 +221,7 @@ pref("browser.defaultbrowser.notificationbar", false); | |
| // 0 = blank, 1 = home (browser.startup.homepage), 2 = last visited page, 3 = resume previous browser session | |
| // The behavior of option 3 is detailed at: http://wiki.mozilla.org/Session_Restore | |
| pref("browser.startup.page", 1); | |
| -pref("browser.startup.homepage", "http://google.com"); | |
| +pref("browser.startup.homepage", "http://localhost:3000"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/devtools/startup/DevToolsStartup.jsm b/devtools/startup/DevToolsStartup.jsm | |
| index 01fceea4165e..1b727d124fc8 100644 | |
| --- a/devtools/startup/DevToolsStartup.jsm | |
| +++ b/devtools/startup/DevToolsStartup.jsm | |
| @@ -620,6 +620,7 @@ DevToolsStartup.prototype = { | |
| return; | |
| } | |
| this.recordingButtonCreated = true; | |
| + this.initializeRecordingWebChannel(); | |