{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":725900139,"defaultBranch":"main","name":"excalibur-extension","ownerLogin":"excaliburjs","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-12-01T05:22:20.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/6165683?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1708359674.0","currentOid":""},"activityList":{"items":[{"before":"924d1480b5cac0a666646d4d45ed9d33723faf05","after":"b95b3f7f2efcfd1653c8ad1be13d3a2f509f5360","ref":"refs/heads/main","pushedAt":"2024-06-09T22:00:10.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"eonarheim","name":"Erik Onarheim","path":"/eonarheim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/612071?s=80&v=4"},"commit":{"message":"fix Excalibur extension losing connection until reload (#5)\n\nSee [discord thread](https://discord.com/channels/1195771303215513671/1246432429871464579) for detailed findings.\r\n\r\nThe best way I was able to reproduce this issue was by:\r\n\r\n- loading a game with excalibur tools open\r\n - right-click -> inspect on the pane while you're at it to get the console logs\r\n- open up a new tab, say google.com\r\n- navigate to a new page\r\n\r\nthis caused both my tab & the service worker to reload, however the dev tools panel remained open and so it lost the connection to the service worker. I couldn't find any way to find out when this connection was lost (no disconnect events or anything were fired), other than attempting a `chrome.runtime.connect()` again and catching the specific error.\r\n\r\nIf the error is caught, it simply does a `window.location.reload` to reload the panel (`chrome.runtime.reload()` did not work)\r\n\r\nI suspect there may be another scenario where this connection gets lost without ever switching tabs from doing many page reloads (e.g. hot reloads from dev server), but I could not repro that as easily. For now, this connection check happens on page focus, but perhaps it's worth checking on an interval as well. I also don't know if there are any ramifications for calling `chrome.runtime.connect()` multiple times per lifecycle but it didn't seem to be an issue...","shortMessageHtmlLink":"fix Excalibur extension losing connection until reload (#5)"}},{"before":"9f53a8048bec52788f7e624d19ae851606bfa052","after":"924d1480b5cac0a666646d4d45ed9d33723faf05","ref":"refs/heads/main","pushedAt":"2024-02-19T16:19:37.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eonarheim","name":"Erik Onarheim","path":"/eonarheim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/612071?s=80&v=4"},"commit":{"message":"Add developing locally","shortMessageHtmlLink":"Add developing locally"}},{"before":"1e8e5c78fae3f05902f7fa2dec2320874b12d1a5","after":"9f53a8048bec52788f7e624d19ae851606bfa052","ref":"refs/heads/main","pushedAt":"2024-02-19T16:14:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eonarheim","name":"Erik Onarheim","path":"/eonarheim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/612071?s=80&v=4"},"commit":{"message":"update readme for release","shortMessageHtmlLink":"update readme for release"}},{"before":"9c74683cee6c1fdba2dcb072f088722aac4121e8","after":"1e8e5c78fae3f05902f7fa2dec2320874b12d1a5","ref":"refs/heads/main","pushedAt":"2024-02-19T15:59:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eonarheim","name":"Erik Onarheim","path":"/eonarheim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/612071?s=80&v=4"},"commit":{"message":"update to v1","shortMessageHtmlLink":"update to v1"}},{"before":"32cf987c65ede1fad31be4586bf0a0625d380892","after":"9c74683cee6c1fdba2dcb072f088722aac4121e8","ref":"refs/heads/main","pushedAt":"2024-02-19T04:11:29.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eonarheim","name":"Erik Onarheim","path":"/eonarheim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/612071?s=80&v=4"},"commit":{"message":"remove tabs permission","shortMessageHtmlLink":"remove tabs permission"}},{"before":"2cae5442cd46407c890fe6f86d72fdfe1be49235","after":"32cf987c65ede1fad31be4586bf0a0625d380892","ref":"refs/heads/main","pushedAt":"2024-02-19T03:10:48.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eonarheim","name":"Erik Onarheim","path":"/eonarheim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/612071?s=80&v=4"},"commit":{"message":"fix with latest alpha","shortMessageHtmlLink":"fix with latest alpha"}},{"before":"55d7cadd5a2efb8fa21518db6f7e1836baa4d4d6","after":"2cae5442cd46407c890fe6f86d72fdfe1be49235","ref":"refs/heads/main","pushedAt":"2023-12-10T17:18:17.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eonarheim","name":"Erik Onarheim","path":"/eonarheim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/612071?s=80&v=4"},"commit":{"message":"Fix some missing bits","shortMessageHtmlLink":"Fix some missing bits"}},{"before":"b47d7a7196025dd4670d75f754dfad5c91fda14a","after":"55d7cadd5a2efb8fa21518db6f7e1836baa4d4d6","ref":"refs/heads/main","pushedAt":"2023-12-10T17:04:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eonarheim","name":"Erik Onarheim","path":"/eonarheim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/612071?s=80&v=4"},"commit":{"message":"Migrate all the way to lit","shortMessageHtmlLink":"Migrate all the way to lit"}},{"before":"265cb182deeb88f34d8370dfae4b79adec1d227e","after":"b47d7a7196025dd4670d75f754dfad5c91fda14a","ref":"refs/heads/main","pushedAt":"2023-12-10T05:57:48.000Z","pushType":"push","commitsCount":5,"pusher":{"login":"eonarheim","name":"Erik Onarheim","path":"/eonarheim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/612071?s=80&v=4"},"commit":{"message":"Mostly factored into lit","shortMessageHtmlLink":"Mostly factored into lit"}},{"before":"50284d0c1a2b8afc012a310a54448c7ba020dbff","after":"265cb182deeb88f34d8370dfae4b79adec1d227e","ref":"refs/heads/main","pushedAt":"2023-12-09T17:00:36.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eonarheim","name":"Erik Onarheim","path":"/eonarheim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/612071?s=80&v=4"},"commit":{"message":"Switch flame graphs","shortMessageHtmlLink":"Switch flame graphs"}},{"before":"1d8685e997ef2aca8f307de537f1657af483b336","after":"50284d0c1a2b8afc012a310a54448c7ba020dbff","ref":"refs/heads/main","pushedAt":"2023-12-06T23:51:53.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eonarheim","name":"Erik Onarheim","path":"/eonarheim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/612071?s=80&v=4"},"commit":{"message":"Add constructors!","shortMessageHtmlLink":"Add constructors!"}},{"before":"e3255238b93ff5ed865d794673bc9b6c803b7fbb","after":"1d8685e997ef2aca8f307de537f1657af483b336","ref":"refs/heads/main","pushedAt":"2023-12-03T18:17:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eonarheim","name":"Erik Onarheim","path":"/eonarheim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/612071?s=80&v=4"},"commit":{"message":"fix flicker","shortMessageHtmlLink":"fix flicker"}},{"before":"401e1606398c57b57ffb5a4ddceea018aa1ed007","after":"e3255238b93ff5ed865d794673bc9b6c803b7fbb","ref":"refs/heads/main","pushedAt":"2023-12-03T18:15:23.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eonarheim","name":"Erik Onarheim","path":"/eonarheim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/612071?s=80&v=4"},"commit":{"message":"Add missing icon sizes","shortMessageHtmlLink":"Add missing icon sizes"}},{"before":"c999af6975869af843065e1d8a027e8e83c5205a","after":"401e1606398c57b57ffb5a4ddceea018aa1ed007","ref":"refs/heads/main","pushedAt":"2023-12-03T17:31:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eonarheim","name":"Erik Onarheim","path":"/eonarheim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/612071?s=80&v=4"},"commit":{"message":"Clean up manifest a bit","shortMessageHtmlLink":"Clean up manifest a bit"}},{"before":"402be106f9ab25997310f98bb9cdf125dde7d502","after":"c999af6975869af843065e1d8a027e8e83c5205a","ref":"refs/heads/main","pushedAt":"2023-12-03T17:27:18.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eonarheim","name":"Erik Onarheim","path":"/eonarheim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/612071?s=80&v=4"},"commit":{"message":"Fix random errors","shortMessageHtmlLink":"Fix random errors"}},{"before":"0aabac0924942321ad37976433a55ba13d1a62e9","after":"402be106f9ab25997310f98bb9cdf125dde7d502","ref":"refs/heads/main","pushedAt":"2023-12-03T17:17:56.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eonarheim","name":"Erik Onarheim","path":"/eonarheim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/612071?s=80&v=4"},"commit":{"message":"Tweak layout","shortMessageHtmlLink":"Tweak layout"}},{"before":"c89323eb8616773c15d6d78bb69a5f3f0f26cf06","after":"0aabac0924942321ad37976433a55ba13d1a62e9","ref":"refs/heads/main","pushedAt":"2023-12-03T17:03:46.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"eonarheim","name":"Erik Onarheim","path":"/eonarheim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/612071?s=80&v=4"},"commit":{"message":"Add filtering","shortMessageHtmlLink":"Add filtering"}},{"before":"ee2e22f247348afee13e0994501b4b512d44cc60","after":"c89323eb8616773c15d6d78bb69a5f3f0f26cf06","ref":"refs/heads/main","pushedAt":"2023-12-03T15:16:32.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"eonarheim","name":"Erik Onarheim","path":"/eonarheim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/612071?s=80&v=4"},"commit":{"message":"Add excalibur version, pointer","shortMessageHtmlLink":"Add excalibur version, pointer"}},{"before":"b57e44f148bcbdb06f12e0c71d6b8849afab3801","after":"ee2e22f247348afee13e0994501b4b512d44cc60","ref":"refs/heads/main","pushedAt":"2023-12-03T05:37:57.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"eonarheim","name":"Erik Onarheim","path":"/eonarheim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/612071?s=80&v=4"},"commit":{"message":"Add some sweet graphs","shortMessageHtmlLink":"Add some sweet graphs"}},{"before":"1c7e4cb2d8d0f88e712715e4877ef1284e3bea39","after":"b57e44f148bcbdb06f12e0c71d6b8849afab3801","ref":"refs/heads/main","pushedAt":"2023-12-01T05:33:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eonarheim","name":"Erik Onarheim","path":"/eonarheim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/612071?s=80&v=4"},"commit":{"message":"Add excalibur CoC, license, and contributing","shortMessageHtmlLink":"Add excalibur CoC, license, and contributing"}},{"before":null,"after":"1c7e4cb2d8d0f88e712715e4877ef1284e3bea39","ref":"refs/heads/main","pushedAt":"2023-12-01T05:25:49.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"eonarheim","name":"Erik Onarheim","path":"/eonarheim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/612071?s=80&v=4"},"commit":{"message":"rename to readme","shortMessageHtmlLink":"rename to readme"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNi0wOVQyMjowMDoxMC4wMDAwMDBazwAAAARgjzdz","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNi0wOVQyMjowMDoxMC4wMDAwMDBazwAAAARgjzdz","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0xMi0wMVQwNToyNTo0OS4wMDAwMDBazwAAAAO83jHo"}},"title":"Activity ยท excaliburjs/excalibur-extension"}