github-wc-polyfill: Network graph no longer works

example: https://github.com/JustOff/github-wc-polyfill/network

inside the html is a canvas element which contains the text:

Sorry, your browser doesn’t support the <canvas> element.

Please upgrade to the latest Internet Explorer, Chrome or Firefox.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 20

Most upvoted comments

1.2.15b6 generally works, only sometimes

Timestamp: 2022-03-06 16:55:26
Error: TypeError: t is undefined
Source File: https://github.githubassets.com/assets/chunk-network-graph-element-cb39f08c.js
Line: 1

Piggybacking this issue to mention that GH is broken again, just like it a couple weeks ago, before all the workarounds and fixes by justoff.

I just checked it out, it’s okay now (Serpent52)


click -->Network (ok) --> Forks --> Network (blank ?) --> reload page --> Network (ok)

His issue is canvas element support. And yes, the same to your test, the network graph has be overlaid. Most time the height attribute of <canvas> has been set to 20+, some time it is a little higher but still incorrect. It’s GH own issue, just works but incorrect.

With 1.2.14b2, still works. You should try a clean profile.

looks like this:

NG

doesn’t look good for me either (Serpent52)

You should try a clean profile.

Latest (UXP-based) Serpent v52.9.0 (2022-02-25) (32-bit), clean profile, with only 1.2.14b2 installed:

https://github.com/JustOff/github-wc-polyfill/network =>

NG

By placing the cursor on the Network Graph “header” and then moving it rightwards, I can reveal previous/past months of the timeline, but not able to display the graph itself… 😞

In this very machine, (besides UXP) I can only test up to a Chromium 86 fork (360EEv13) and it, too, exhibits the same behaviour; out of curiosity, I borrowed sister’s Win7 SP1 64-bit laptop and latest stable (97.0.1) Firefox 32-bit tells the exact SAME story:

Fx97

So, whatever the root cause of this issue is, doesn’t appear related to this extension per se… Perhaps it’s a GitHub CDN issue, manifested only in certain regions… @SeaHOH, are you testing within mainland China? Do Pale Moon 29.4.4 32-bit and/or official Basilisk 52.9.2022.01.27 work as expected at your end?

but it still doesn’t work

it doesn’t look good for me either (Serpent52)