-
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.
- Firefox support - Move search invocation into panel page - Toolbar UI changes --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information
1 parent
94cc2a3
commit 19a3b3b
Showing
53 changed files
with
1,807 additions
and
1,078 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,4 +1,3 @@ | ||
/bundle/js | ||
.ts-built | ||
*.min.js | ||
pnpm-lock.yaml |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
@startuml Design | ||
skinparam style strictuml | ||
|
||
box "Devtools" | ||
actor "User" as User | ||
end box | ||
|
||
box "Firefox Runtime Context" | ||
participant Console [ | ||
=Console | ||
---- | ||
content script | ||
] | ||
participant Proxy [ | ||
=Proxy | ||
---- | ||
content script | ||
] | ||
participant Background [ | ||
=Background | ||
] | ||
database Storage | ||
participant Panel [ | ||
=Panel | ||
---- | ||
DevTools View | ||
] | ||
end box | ||
|
||
[-> User: Open Devtools | ||
|
||
Background <- Panel: jsdiff-devtools-page-connect | ||
activate Background | ||
Background <-- Panel: keep alive | ||
|
||
=== Invoke API == | ||
User -> Console: jsdiff.diff(...) | ||
activate Console | ||
Console -> Proxy: jsdiff-console-\nto-proxy-inprogress | ||
activate Proxy | ||
Proxy -> Background: jsdiff-proxy-to-panel-inprogress | ||
deactivate Proxy | ||
Console o->o Console: clone arguments | ||
Console -> Proxy: jsdiff-console-\nto-proxy-compare | ||
deactivate Console | ||
|
||
activate Proxy | ||
Proxy o<->o Proxy: arrange payload | ||
Proxy -> Storage: write payload | ||
Proxy --> Background: jsdiff-proxy-to-panel-error | ||
Proxy -> Background: jsdiff-proxy-to-panel-compare | ||
deactivate Proxy | ||
Background -> Panel: relay all messages | ||
|
||
deactivate Background | ||
|
||
activate Panel | ||
Storage -> Panel: read payload | ||
Panel -> Panel: Compare objects | ||
Panel ->o]: Display result | ||
deactivate Panel | ||
|
||
=== Search in DevTools Panel == | ||
User -> Panel: ^+F\n⌘+F | ||
|
||
activate Panel | ||
Panel -> Panel: search in DOM | ||
Panel ->o]: Display result | ||
deactivate Panel | ||
|
||
@enduml |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"manifest_version": 3, | ||
"name": "jsdiff.diff(...)", | ||
"version": "3.0.5", | ||
"description": "Compare objects in memory with jsdiff.diff(old, new) devtools function", | ||
"minimum_chrome_version": "100.0", | ||
"browser_specific_settings": { | ||
"gecko": { | ||
"id": "calexblock@gmail.com", | ||
"strict_min_version": "120.0" | ||
} | ||
}, | ||
"homepage_url": "https://github.com/zendive/jsdiff", | ||
"author": "calexblock@gmail.com", | ||
"permissions": ["storage", "devtools", "activeTab"], | ||
"host_permissions": ["<all_urls>"], | ||
"background": { | ||
"scripts": ["bundle/js/firefox/jsdiff-background.js"] | ||
}, | ||
"devtools_page": "bundle/jsdiff-devtools.html", | ||
"icons": { | ||
"28": "bundle/img/panel-icon28.png", | ||
"64": "bundle/img/panel-icon64.png", | ||
"128": "bundle/img/panel-icon128.png" | ||
}, | ||
"content_scripts": [ | ||
{ | ||
"js": ["bundle/js/jsdiff-console.js", "bundle/js/jsdiff-proxy.js"], | ||
"matches": ["*://*/*"], | ||
"all_frames": true, | ||
"run_at": "document_start" | ||
} | ||
] | ||
} |
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
Oops, something went wrong.