mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-10 05:35:05 +08:00
This is part of a series of patches to remove Panel.handleShortcut Change-Id: I9c66fa93da4ee7a1e0a12a68f09391c1c4651f7c Reviewed-on: https://chromium-review.googlesource.com/1060513 Commit-Queue: Joel Einbinder <einbinder@chromium.org> Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#561703} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 6be8da1a013582e7949dc4f3d075a7e8a8653541
227 lines
6.8 KiB
JSON
227 lines
6.8 KiB
JSON
{
|
|
"extensions": [
|
|
{
|
|
"type": "view",
|
|
"location": "panel",
|
|
"id": "network",
|
|
"title": "Network",
|
|
"order": 40,
|
|
"className": "Network.NetworkPanel"
|
|
},
|
|
{
|
|
"type": "@UI.ContextMenu.Provider",
|
|
"contextTypes": [
|
|
"SDK.NetworkRequest",
|
|
"SDK.Resource",
|
|
"Workspace.UISourceCode"
|
|
],
|
|
"className": "Network.NetworkPanel.ContextMenuProvider"
|
|
},
|
|
{
|
|
"type": "@Common.Revealer",
|
|
"contextTypes": [
|
|
"SDK.NetworkRequest"
|
|
],
|
|
"destination": "Network panel",
|
|
"className": "Network.NetworkPanel.RequestRevealer"
|
|
},
|
|
{
|
|
"type": "@Common.Revealer",
|
|
"contextTypes": [
|
|
"Network.UIRequestLocation"
|
|
],
|
|
"className": "Network.NetworkPanel.RequestLocationRevealer"
|
|
},
|
|
{
|
|
"type": "setting",
|
|
"category": "Network",
|
|
"title": "Color-code resource types",
|
|
"settingName": "networkColorCodeResourceTypes",
|
|
"settingType": "boolean",
|
|
"defaultValue": false,
|
|
"tags": "color code, resource type",
|
|
"options": [
|
|
{
|
|
"value": true,
|
|
"title": "Color code by resource type"
|
|
},
|
|
{
|
|
"value": false,
|
|
"title": "Use default colors"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "setting",
|
|
"category": "Network",
|
|
"title": "Group network log by frame",
|
|
"settingName": "network.group-by-frame",
|
|
"settingType": "boolean",
|
|
"defaultValue": false,
|
|
"tags": "network, frame, group",
|
|
"options": [
|
|
{
|
|
"value": true,
|
|
"title": "Group network log items by frame"
|
|
},
|
|
{
|
|
"value": false,
|
|
"title": "Don't group network log items by frame"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "action",
|
|
"actionId": "network.toggle-recording",
|
|
"iconClass": "largeicon-start-recording",
|
|
"toggledIconClass": "largeicon-stop-recording",
|
|
"toggleWithRedColor": true,
|
|
"contextTypes": [
|
|
"Network.NetworkPanel"
|
|
],
|
|
"className": "Network.NetworkPanel.ActionDelegate",
|
|
"options": [
|
|
{
|
|
"value": true,
|
|
"title": "Record network log"
|
|
},
|
|
{
|
|
"value": false,
|
|
"title": "Stop recording network log"
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"platform": "windows,linux",
|
|
"shortcut": "Ctrl+E"
|
|
},
|
|
{
|
|
"platform": "mac",
|
|
"shortcut": "Meta+E"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "action",
|
|
"actionId": "network.hide-request-details",
|
|
"contextTypes": [
|
|
"Network.NetworkPanel"
|
|
],
|
|
"className": "Network.NetworkPanel.ActionDelegate",
|
|
"bindings": [
|
|
{
|
|
"shortcut": "Esc"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "view",
|
|
"location": "drawer-view",
|
|
"id": "network.blocked-urls",
|
|
"title": "Request blocking",
|
|
"persistence": "closeable",
|
|
"order": 60,
|
|
"className": "Network.BlockedURLsPane"
|
|
},
|
|
{
|
|
"type": "view",
|
|
"location": "drawer-view",
|
|
"id": "network.config",
|
|
"title": "Network conditions",
|
|
"persistence": "closeable",
|
|
"order": 40,
|
|
"className": "Network.NetworkConfigView",
|
|
"tags": "disk cache, network throttling, useragent, user agent"
|
|
},
|
|
{
|
|
"type": "@UI.ViewLocationResolver",
|
|
"name": "network-sidebar",
|
|
"category": "Network",
|
|
"className": "Network.NetworkPanel"
|
|
},
|
|
{
|
|
"type": "view",
|
|
"location": "network-sidebar",
|
|
"id": "network.search-network-tab",
|
|
"title": "Search",
|
|
"persistence": "permanent",
|
|
"className": "Network.SearchNetworkView"
|
|
},
|
|
{
|
|
"type": "action",
|
|
"actionId": "network.search",
|
|
"title": "Search",
|
|
"className": "Network.NetworkPanel.ActionDelegate",
|
|
"contextTypes": [
|
|
"Network.NetworkPanel"
|
|
],
|
|
"category": "DevTools",
|
|
"bindings": [
|
|
{
|
|
"platform": "mac",
|
|
"shortcut": "Meta+F"
|
|
},
|
|
{
|
|
"platform": "windows,linux",
|
|
"shortcut": "Ctrl+F"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"dependencies": [
|
|
"search",
|
|
"source_frame",
|
|
"components",
|
|
"perf_ui",
|
|
"cookie_table",
|
|
"data_grid",
|
|
"browser_sdk",
|
|
"product_registry",
|
|
"mobile_throttling",
|
|
"har_importer",
|
|
"persistence"
|
|
],
|
|
"scripts": [
|
|
"BlockedURLsPane.js",
|
|
"EventSourceMessagesView.js",
|
|
"HARWriter.js",
|
|
"NetworkConfigView.js",
|
|
"NetworkDataGridNode.js",
|
|
"NetworkItemView.js",
|
|
"NetworkTimeCalculator.js",
|
|
"NetworkLogView.js",
|
|
"NetworkLogViewColumns.js",
|
|
"NetworkFrameGrouper.js",
|
|
"NetworkManageCustomHeadersView.js",
|
|
"NetworkOverview.js",
|
|
"NetworkSearchScope.js",
|
|
"NetworkWaterfallColumn.js",
|
|
"RequestCookiesView.js",
|
|
"RequestHeadersView.js",
|
|
"RequestHTMLView.js",
|
|
"RequestResponseView.js",
|
|
"RequestPreviewView.js",
|
|
"RequestTimingView.js",
|
|
"ResourceWebSocketFrameView.js",
|
|
"SignedExchangeInfoView.js",
|
|
"NetworkPanel.js"
|
|
],
|
|
"resources": [
|
|
"blockedURLsPane.css",
|
|
"eventSourceMessagesView.css",
|
|
"networkConfigView.css",
|
|
"networkLogView.css",
|
|
"networkManageCustomHeadersView.css",
|
|
"networkPanel.css",
|
|
"networkTimingTable.css",
|
|
"networkWaterfallColumn.css",
|
|
"requestCookiesView.css",
|
|
"requestHeadersTree.css",
|
|
"requestHeadersView.css",
|
|
"requestHTMLView.css",
|
|
"signedExchangeInfoTree.css",
|
|
"signedExchangeInfoView.css",
|
|
"webSocketFrameView.css"
|
|
]
|
|
}
|