-
-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #347 from oslabs-beta/dev
merging dev into master branch
- Loading branch information
Showing
77 changed files
with
196,816 additions
and
294 deletions.
There are no files selected for viewing
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.
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.
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.
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.
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.
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.
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.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<script src="./rbuild/main.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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"manifest_version": 2, | ||
"name": "React Developer Tools", | ||
"description": "Adds React debugging tools to the Firefox Developer Tools.\n\nCreated from revision f7d56173f on 1/27/2023.", | ||
"version": "4.27.1", | ||
"version_name": "4.27.1 (1/27/2023)", | ||
"minimum_chrome_version": "60", | ||
"icons": { | ||
"16": "icons/16-production.png", | ||
"32": "icons/32-production.png", | ||
"48": "icons/48-production.png", | ||
"128": "icons/128-production.png" | ||
}, | ||
"browser_action": { | ||
"default_icon": { | ||
"16": "icons/16-disabled.png", | ||
"32": "icons/32-disabled.png", | ||
"48": "icons/48-disabled.png", | ||
"128": "icons/128-disabled.png" | ||
}, | ||
"default_popup": "popups/disabled.html", | ||
"browser_style": true | ||
}, | ||
"devtools_page": "main.html", | ||
"content_security_policy": "script-src 'self' 'unsafe-eval' blob:; object-src 'self'", | ||
"web_accessible_resources": [ | ||
"main.html", | ||
"panel.html", | ||
"rbuild/react_devtools_backend.js", | ||
"rbuild/proxy.js", | ||
"rbuild/renderer.js", | ||
"rbuild/installHook.js" | ||
], | ||
"background": { | ||
"scripts": [ | ||
"rbuild/background.js" | ||
] | ||
}, | ||
"permissions": [ | ||
"file:///*", | ||
"http://*/*", | ||
"https://*/*" | ||
], | ||
"content_scripts": [ | ||
{ | ||
"matches": [ | ||
"<all_urls>" | ||
], | ||
"js": [ | ||
"rbuild/prepareInjection.js" | ||
], | ||
"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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<!doctype html> | ||
<html style="display: flex"> | ||
<head> | ||
<meta charset="utf8"> | ||
<style> | ||
html { | ||
display: flex; | ||
} | ||
body { | ||
margin: 0; | ||
padding: 0; | ||
flex: 1; | ||
display: flex; | ||
} | ||
#container { | ||
display: flex; | ||
flex: 1; | ||
width: 100%; | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
right: 0; | ||
bottom: 0; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<!-- main react mount point --> | ||
<div id="container">Unable to find React on the page.</div> | ||
<script src="./rbuild/panel.js"></script> | ||
</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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<script src="shared.js"></script> | ||
<link rel="stylesheet" href="shared.css" /> | ||
<style> | ||
html, body { | ||
min-width: 460px; | ||
min-height: 133px; | ||
} | ||
|
||
hr { | ||
width: 100%; | ||
} | ||
</style> | ||
<p> | ||
<b>This page includes an extra development build of React. 🚧</b> | ||
</p> | ||
<p> | ||
The React build on this page includes both development and production versions because dead code elimination has not been applied correctly. | ||
<br /> | ||
<br /> | ||
This makes its size larger, and causes React to run slower. | ||
<br /> | ||
<br /> | ||
Make sure to <a href="https://reactjs.org/docs/optimizing-performance.html#use-the-production-build">set up dead code elimination</a> before deployment. | ||
</p> | ||
<hr /> | ||
<p> | ||
Open the developer tools, and "Components" and "Profiler" tabs will appear to the right. | ||
</p> |
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,24 @@ | ||
<script src="shared.js"></script> | ||
<link rel="stylesheet" href="shared.css" /> | ||
<style> | ||
html, body { | ||
min-width: 460px; | ||
min-height: 101px; | ||
} | ||
|
||
hr { | ||
width: 100%; | ||
} | ||
</style> | ||
<p> | ||
<b>This page is using the development build of React. 🚧</b> | ||
</p> | ||
<p> | ||
Note that the development build is not suitable for production. | ||
<br /> | ||
Make sure to <a href="https://reactjs.org/docs/optimizing-performance.html#use-the-production-build">use the production build</a> before deployment. | ||
</p> | ||
<hr /> | ||
<p> | ||
Open the developer tools, and "Components" and "Profiler" tabs will appear to the right. | ||
</p> |
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,17 @@ | ||
<script src="shared.js"></script> | ||
<link rel="stylesheet" href="shared.css" /> | ||
<style> | ||
html, body { | ||
min-width: 410px; | ||
min-height: 33px; | ||
} | ||
|
||
hr { | ||
width: 100%; | ||
} | ||
</style> | ||
<p> | ||
<b>This page doesn’t appear to be using React.</b> | ||
<br /> | ||
If this seems wrong, follow the <a href="https://github.com/facebook/react/tree/main/packages/react-devtools#the-react-tab-doesnt-show-up">troubleshooting instructions</a>. | ||
</p> |
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,25 @@ | ||
<script src="shared.js"></script> | ||
<link rel="stylesheet" href="shared.css" /> | ||
<style> | ||
html, body { | ||
min-width: 460px; | ||
min-height: 117px; | ||
} | ||
|
||
hr { | ||
width: 100%; | ||
} | ||
</style> | ||
<p> | ||
<b>This page is using an outdated version of React. ⌛</b> | ||
</p> | ||
<p> | ||
We recommend updating React to ensure that you receive important bugfixes and performance improvements. | ||
<br /> | ||
<br /> | ||
You can find the upgrade instructions on the <a href="https://reactjs.org/blog/">React blog</a>. | ||
</p> | ||
<hr /> | ||
<p> | ||
Open the developer tools, and "Components" and "Profiler" tabs will appear to the right. | ||
</p> |
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,17 @@ | ||
<script src="shared.js"></script> | ||
<link rel="stylesheet" href="shared.css" /> | ||
<style> | ||
html, body { | ||
min-width: 460px; | ||
min-height: 39px; | ||
} | ||
|
||
hr { | ||
width: 100%; | ||
} | ||
</style> | ||
<p> | ||
<b>This page is using the production build of React. ✅</b> | ||
<br /> | ||
Open the developer tools, and "Components" and "Profiler" tabs will appear to the right. | ||
</p> |
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,14 @@ | ||
<script src="shared.js"></script> | ||
<link rel="stylesheet" href="shared.css" /> | ||
<style> | ||
html, body { | ||
min-width: 286px; | ||
min-height: 33px; | ||
} | ||
|
||
</style> | ||
<p> | ||
<b>This is a restricted browser page.</b> | ||
<br /> | ||
React devtools cannot access this page. | ||
</p> |
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,7 @@ | ||
html, body { | ||
font-size: 14px; | ||
} | ||
|
||
body { | ||
margin: 8px; | ||
} |
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,25 @@ | ||
/* globals chrome */ | ||
|
||
'use strict'; | ||
|
||
document.addEventListener('DOMContentLoaded', function() { | ||
// Make links work | ||
const links = document.getElementsByTagName('a'); | ||
for (let i = 0; i < links.length; i++) { | ||
(function() { | ||
const ln = links[i]; | ||
const location = ln.href; | ||
ln.onclick = function() { | ||
chrome.tabs.create({active: true, url: location}); | ||
return false; | ||
}; | ||
})(); | ||
} | ||
|
||
// Work around https://bugs.chromium.org/p/chromium/issues/detail?id=428044 | ||
document.body.style.opacity = 0; | ||
document.body.style.transition = 'opacity ease-out .4s'; | ||
requestAnimationFrame(function() { | ||
document.body.style.opacity = 1; | ||
}); | ||
}); |
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,31 @@ | ||
<script src="shared.js"></script> | ||
<style> | ||
html, body { | ||
font-size: 14px; | ||
min-width: 460px; | ||
min-height: 133px; | ||
} | ||
|
||
body { | ||
margin: 8px; | ||
} | ||
|
||
hr { | ||
width: 100%; | ||
} | ||
</style> | ||
<p> | ||
<b>This page is using an unminified build of React. 🚧</b> | ||
</p> | ||
<p> | ||
The React build on this page appears to be unminified. | ||
<br /> | ||
This makes its size larger, and causes React to run slower. | ||
<br /> | ||
<br /> | ||
Make sure to <a href="https://reactjs.org/docs/optimizing-performance.html#use-the-production-build">set up minification</a> before deployment. | ||
</p> | ||
<hr /> | ||
<p> | ||
Open the developer tools, and "Components" and "Profiler" tabs will appear to the right. | ||
</p> |
Oops, something went wrong.