The "main" navigation items (setup, this firefox and the link to documentation) are migrated to `<moz-page-nav-button>`. In order to properly navigate, we need to listen for the custom event sent by those button to change the view, and use the `history` prop that we get from wrapping `Sidebar` in a `withRouter` call. This patch removes the `SidebarFixedItem` component that is no longer used. Note that the usb/remote runtimes items are not migrated to `<moz-page-nav-button>` yet as that requires more involved UI changes (that should be done as part of Bug 2050746) Differential Revision: https://phabricator.services.mozilla.com/D308962
43 lines
1.4 KiB
HTML
43 lines
1.4 KiB
HTML
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
|
<!doctype html>
|
|
<!-- Use force-theme="auto" to force the performance panel UI to use the default
|
|
Firefox color scheme when loaded in a popup in about:debugging -->
|
|
<html force-theme="auto">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="color-scheme" content="light dark" />
|
|
<title>Debugging</title>
|
|
<meta
|
|
http-equiv="Content-Security-Policy"
|
|
content="default-src chrome: resource:; img-src data: chrome: resource: https:; object-src 'none'"
|
|
/>
|
|
<link
|
|
rel="icon"
|
|
type="image/png"
|
|
href="chrome://global/skin/icons/developer.svg"
|
|
/>
|
|
<link
|
|
rel="stylesheet"
|
|
href="chrome://devtools/content/aboutdebugging/aboutdebugging.css"
|
|
/>
|
|
<link rel="localization" href="branding/brand.ftl" />
|
|
<link rel="localization" href="devtools/client/aboutdebugging.ftl" />
|
|
<script
|
|
async
|
|
type="module"
|
|
src="chrome://global/content/elements/moz-button.mjs"
|
|
></script>
|
|
<script
|
|
async
|
|
type="module"
|
|
src="chrome://global/content/elements/moz-page-nav.mjs"
|
|
></script>
|
|
<script src="resource://devtools/client/aboutdebugging/initializer.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="mount"></div>
|
|
</body>
|
|
</html>
|