urql-devtools icon indicating copy to clipboard operation
urql-devtools copied to clipboard

fix: chrome support + manifest browser based split

Open giacomocerquone opened this issue 5 months ago • 3 comments

Hello there.

Following #408, and noticing how even building the extension from source, it wasn't getting picked up by chrome because the support for v2 manifests is expired, I worked to upgrade it.

In doing so, I've noticed how there are a few properties required by chrome but not supported by firefox. Hence I decided to split the two manifests.

  1. To do so, I've split the dist/extension in dist/extension/chrome .. /firefox
  2. the zip are now bundled into chrome-extension.zip and firefox-extension.zip
  3. I also upgraded chrome extension d.ts dependency to support the switch from pageAction to action. In doing so, I minimized the changes as much as possible to the lockfile to be able to merge this pr confidently.

Screencast on chrome

https://github.com/user-attachments/assets/680e709d-4eab-4182-9492-be9a3c7979d7

giacomocerquone avatar Jul 20 '25 22:07 giacomocerquone

hello there @kitten are you maintaining this package or know someone who is able to review this?

giacomocerquone avatar Jul 28 '25 08:07 giacomocerquone

It would be lovely if someone could merge this.

trcoffman avatar Aug 12 '25 15:08 trcoffman

Thanks for updating this. I was able to build this, but first I had to pin the minor version of graphql.

"graphql": "~16.11.0"

It looks like something changed recently in 16.12.

Otherwise, I was able to build and install the extension in Chrome.

harishtella avatar Dec 12 '25 05:12 harishtella