mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-14 10:34:48 +08:00
This CL adds titles to the actions that don't yet have them (most do) to support future custom keyboard shortcut work. Bug: 174309 Change-Id: Ic2aa408c82d863369427f13e5330530d948138b0 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2085476 Commit-Queue: Jack Lynch <jalyn@microsoft.com> Reviewed-by: Vidal Diazleal <vidorteg@microsoft.com> Reviewed-by: Jose Leal <joselea@microsoft.com> Reviewed-by: Brian Cui <brcui@microsoft.com>
235 lines
7.0 KiB
JSON
235 lines
7.0 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",
|
|
"toggleable": true,
|
|
"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",
|
|
"title": "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, 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",
|
|
"mobile_throttling",
|
|
"har_importer",
|
|
"persistence"
|
|
],
|
|
"scripts": [],
|
|
"modules": [
|
|
"network.js",
|
|
"network-legacy.js",
|
|
"BinaryResourceView.js",
|
|
"BlockedURLsPane.js",
|
|
"EventSourceMessagesView.js",
|
|
"HARWriter.js",
|
|
"NetworkConfigView.js",
|
|
"NetworkDataGridNode.js",
|
|
"NetworkItemView.js",
|
|
"NetworkTimeCalculator.js",
|
|
"NetworkLogView.js",
|
|
"NetworkLogViewColumns.js",
|
|
"NetworkFrameGrouper.js",
|
|
"NetworkManageCustomHeadersView.js",
|
|
"NetworkSearchScope.js",
|
|
"NetworkWaterfallColumn.js",
|
|
"RequestCookiesView.js",
|
|
"RequestHeadersView.js",
|
|
"RequestHTMLView.js",
|
|
"RequestInitiatorView.js",
|
|
"RequestResponseView.js",
|
|
"RequestPreviewView.js",
|
|
"RequestTimingView.js",
|
|
"ResourceWebSocketFrameView.js",
|
|
"SignedExchangeInfoView.js",
|
|
"NetworkOverview.js",
|
|
"NetworkPanel.js"
|
|
],
|
|
"resources": [
|
|
"binaryResourceView.css",
|
|
"blockedURLsPane.css",
|
|
"eventSourceMessagesView.css",
|
|
"networkConfigView.css",
|
|
"networkLogView.css",
|
|
"networkManageCustomHeadersView.css",
|
|
"networkPanel.css",
|
|
"networkTimingTable.css",
|
|
"networkWaterfallColumn.css",
|
|
"requestCookiesView.css",
|
|
"requestHeadersTree.css",
|
|
"requestHeadersView.css",
|
|
"requestHTMLView.css",
|
|
"requestInitiatorView.css",
|
|
"signedExchangeInfoTree.css",
|
|
"signedExchangeInfoView.css",
|
|
"webSocketFrameView.css"
|
|
]
|
|
}
|