mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-10 21:54:47 +08:00
This CL removes the Settings entrypoint from the More tools menu, as it receives very little usage (<5%) relative to the top level Settings gear icon. This CL also deprecates related Settings entrypoint telemetry. Bug: 1121312 Change-Id: Ia07de5b2e220246dc800c5fb282cfd820e5b1ae3 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2375593 Commit-Queue: Brian Cui <brcui@microsoft.com> Reviewed-by: Jack Lynch <jalyn@microsoft.com> Reviewed-by: Patrick Brosset <patrick.brosset@microsoft.com>
140 lines
3.2 KiB
JSON
140 lines
3.2 KiB
JSON
{
|
|
"extensions": [
|
|
{
|
|
"type": "action",
|
|
"category": "Settings",
|
|
"actionId": "settings.show",
|
|
"title": "Settings",
|
|
"className": "Settings.SettingsScreen.ActionDelegate",
|
|
"iconClass": "largeicon-settings-gear",
|
|
"bindings": [
|
|
{
|
|
"shortcut": "F1",
|
|
"keybindSets": [
|
|
"devToolsDefault"
|
|
]
|
|
},
|
|
{
|
|
"shortcut": "Shift+?"
|
|
},
|
|
{
|
|
"platform": "windows,linux",
|
|
"shortcut": "Ctrl+,",
|
|
"keybindSets": [
|
|
"vsCode"
|
|
]
|
|
},
|
|
{
|
|
"platform": "mac",
|
|
"shortcut": "Meta+,",
|
|
"keybindSets": [
|
|
"vsCode"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "action",
|
|
"category": "Settings",
|
|
"actionId": "settings.documentation",
|
|
"title": "Documentation",
|
|
"className": "Settings.SettingsScreen.ActionDelegate"
|
|
},
|
|
{
|
|
"type": "action",
|
|
"category": "Settings",
|
|
"actionId": "settings.shortcuts",
|
|
"title": "Shortcuts",
|
|
"className": "Settings.SettingsScreen.ActionDelegate",
|
|
"bindings": [
|
|
{
|
|
"platform": "windows,linux",
|
|
"shortcut": "Ctrl+K Ctrl+S",
|
|
"keybindSets": [
|
|
"vsCode"
|
|
]
|
|
},
|
|
{
|
|
"platform": "mac",
|
|
"shortcut": "Meta+K Meta+S",
|
|
"keybindSets": [
|
|
"vsCode"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "@Common.Revealer",
|
|
"contextTypes": [
|
|
"Common.Setting"
|
|
],
|
|
"className": "Settings.SettingsScreen.Revealer"
|
|
},
|
|
{
|
|
"type": "context-menu-item",
|
|
"location": "mainMenu/footer",
|
|
"actionId": "settings.shortcuts"
|
|
},
|
|
{
|
|
"type": "context-menu-item",
|
|
"location": "mainMenuHelp/default",
|
|
"actionId": "settings.documentation"
|
|
},
|
|
{
|
|
"type": "view",
|
|
"location": "settings-view",
|
|
"id": "preferences",
|
|
"title": "Preferences",
|
|
"order": 0,
|
|
"className": "Settings.GenericSettingsTab"
|
|
},
|
|
{
|
|
"type": "view",
|
|
"location": "settings-view",
|
|
"id": "experiments",
|
|
"title": "Experiments",
|
|
"order": 3,
|
|
"experiment": "*",
|
|
"className": "Settings.ExperimentsSettingsTab"
|
|
},
|
|
{
|
|
"type": "view",
|
|
"location": "settings-view",
|
|
"id": "blackbox",
|
|
"title": "Blackboxing",
|
|
"order": 4,
|
|
"className": "Settings.FrameworkBlackboxSettingsTab"
|
|
},
|
|
{
|
|
"type": "view",
|
|
"location": "settings-view",
|
|
"id": "keybinds",
|
|
"title": "Shortcuts",
|
|
"order": 100,
|
|
"experiment": "customKeyboardShortcuts",
|
|
"className": "Settings.KeybindsSettingsTab"
|
|
},
|
|
{
|
|
"type": "@UI.ViewLocationResolver",
|
|
"name": "settings-view",
|
|
"category": "Settings",
|
|
"className": "Settings.SettingsScreen"
|
|
}
|
|
],
|
|
"dependencies": [
|
|
"components"
|
|
],
|
|
"modules": [
|
|
"settings.js",
|
|
"settings-legacy.js",
|
|
"SettingsScreen.js",
|
|
"FrameworkBlackboxSettingsTab.js",
|
|
"KeybindsSettingsTab.js"
|
|
],
|
|
"resources": [
|
|
"frameworkBlackboxSettingsTab.css",
|
|
"settingsScreen.css",
|
|
"keybindsSettingsTab.css"
|
|
],
|
|
"skip_rollup": true
|
|
} |