Closed jerboa88 closed 2 years ago
Amazing, thanks for taking it on! I was worried wed need to do something more drastic like ship the fonts with the extension. I’ll review both PRs on monday.
On Sat, Jun 25, 2022 at 5:47 PM John Goodliff @.***> wrote:
Implemented #15 https://github.com/pamelafox/font-previewer-extension/issues/15. This probably needs more testing but it seems to work fine for the most part.
I'll have to make make another issue for the reset button not working because I fixed the CSP issues and realized it is not restoring the original fonts.
You can view, comment on, or merge this pull request online at:
https://github.com/pamelafox/font-previewer-extension/pull/17 Commit Summary
- b97f3c9 https://github.com/pamelafox/font-previewer-extension/pull/17/commits/b97f3c90908d601c999b15b4193f9f09acf7d324 Rewrite manifest according to v3 spec
- a2af08f https://github.com/pamelafox/font-previewer-extension/pull/17/commits/a2af08f22a334955efdf71017dd09901e9a2dd5f Move inline CSS from popup to external file
- 42fa8fe https://github.com/pamelafox/font-previewer-extension/pull/17/commits/42fa8fed54f8bb44c9de15c08d00d60578b573ef Replace string with named function in executeScript method
- ac9ca72 https://github.com/pamelafox/font-previewer-extension/pull/17/commits/ac9ca725545da4ec3a4012f3afc9d0e6d2b2ff59 Replace script element with fetch request to load font list
- d627abd https://github.com/pamelafox/font-previewer-extension/pull/17/commits/d627abd324700232db04ecfe166fe0258a9b5385 Remove inline event handlers from popup.html
- b79fe3b https://github.com/pamelafox/font-previewer-extension/pull/17/commits/b79fe3b0767865645682c3f75898bf7e9856e13b Remove unnecessary host permissions. Update files in dist
File Changes
(5 files https://github.com/pamelafox/font-previewer-extension/pull/17/files)
- M dist/font-previewer-extension.zip https://github.com/pamelafox/font-previewer-extension/pull/17/files#diff-606ba1caac6fb74bc529efd8efd7911292c72fe646e68cd1e286b6fe62738eb0 (0)
- M manifest.json https://github.com/pamelafox/font-previewer-extension/pull/17/files#diff-ffa5b716b5a57837f7929dfcca4b4dfdeb97210a7fd5a12d2f1978846d6f1743 (33)
- A popup.css https://github.com/pamelafox/font-previewer-extension/pull/17/files#diff-dd634a4ce8d690293e4e00c2067c5591de95a6dca78e5d94a388fbbe6201dd5b (89)
- M popup.html https://github.com/pamelafox/font-previewer-extension/pull/17/files#diff-28d0d8f0960f87f8d291caace058de871b8145e54d727271b564eba832123ec8 (92)
- M popup.js https://github.com/pamelafox/font-previewer-extension/pull/17/files#diff-3df6958c77d615b266b54fcf12fadf313e7c1e4b168f0c61ea8c3424eb39eb8c (69)
Patch Links:
- https://github.com/pamelafox/font-previewer-extension/pull/17.patch
- https://github.com/pamelafox/font-previewer-extension/pull/17.diff
— Reply to this email directly, view it on GitHub https://github.com/pamelafox/font-previewer-extension/pull/17, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACIQUUR4AQW2VAVXVVBIMLVQ6SD3ANCNFSM5Z3C5WMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Amazing, thanks for taking it on! I was worried wed need to do something more drastic like ship the fonts with the extension. I’ll review both PRs on monday.
For sure and no rush! I looked it up and the entire Google Font archive is around 600MB so shipping fonts with the extension probably isn't even feasible.
I made some updates and have updated the extension on the Chrome store. The new version should be live once it's approved. Can you merge with master? This PR currently has conflicts due to the changes.
I've fixed the merge conflicts but I still need to:
Commented out that event listener and fixed another issue. Everything seems to work fine now as far as I can tell. I'll let you take care of bumping the version and updating the dist before release.
Looks good, merging!
Implemented #15. This probably needs more testing but it seems to work fine for the most part.
I'll have to make make another issue for the reset button not working because I fixed the CSP issues and realized it is not restoring the original fonts.