-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support Firefox Extension (#29)
* chore: add logo 64x64 * feat: support fire fox extension * Update packages/swr-devtools-extensions/package.json Co-authored-by: Toru Kobayashi <koba0004@gmail.com> * Update packages/swr-devtools-extensions/manifest.json Co-authored-by: Toru Kobayashi <koba0004@gmail.com> * revert: changelog to old format * revert: changelog to old format * Update packages/swr-devtools-extensions/src/devtools.html * Update packages/swr-devtools-extensions/src/panel.html * Update packages/swr-devtools-extensions/src/devtools.html * Update packages/swr-devtools-extensions/src/devtools.html Co-authored-by: Toru Kobayashi <koba0004@gmail.com> Co-authored-by: Toru Kobayashi <koba0004@gmail.com>
- Loading branch information
Showing
12 changed files
with
47 additions
and
18 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
# swr-devtools-extensions | ||
|
||
SWR Devtools is a chrome extension for [SWR](https://swr.vercel.app/), which inspects cache data of SWR. | ||
SWR Devtools is a chrome/firefox extension for [SWR](https://swr.vercel.app/), which inspects cache data of SWR. | ||
|
||
https://chrome.google.com/webstore/detail/swr-devtools/liidbicegefhheghhjbomajjaehnjned | ||
|
||
Firefox: TBD | ||
|
||
## LICENSE | ||
|
||
[MIT](LICENSE.md) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>SWR devtools</title> | ||
<script src="devtools.js"></script> | ||
</head> | ||
<body></body> | ||
</html> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
chrome.devtools.panels.create("SWR", "", "panel.html", () => { | ||
import { devtools } from "webextension-polyfill"; | ||
|
||
devtools.panels.create("SWR", "", "panel.html").then(() => { | ||
console.log("The DevTools panel has been created"); | ||
}); |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,8 @@ | |
background-color: rgb(39, 40, 34); | ||
} | ||
} | ||
body, div#app { | ||
body, | ||
div#app { | ||
height: 100%; | ||
margin: 0; | ||
} | ||
|
This file contains 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
27f5f0e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: