mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-09 21:28:43 +08:00
The SettingsScreen has a preference for the ordering of the setting sections of the various modules. This list was previously hardcoded with the english terms of the various categories. After the module.json migration, the category names used the translated names, causing a mismatch if a locale other then english was used. For non-english locales, no settings would show up, as the different sections did not exist. This CL fixes this by using the previously introduced SettingCategory enum to define the preferred ordering. R=andoli@chromium.org, tvanderlippe@chromium.org Bug: None Change-Id: I18448b6cfe6338fb55e327644707b4999c99cd47 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2696328 Commit-Queue: Simon Zünd <szuend@chromium.org> Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
17 lines
266 B
JSON
17 lines
266 B
JSON
{
|
|
"extensions": [
|
|
{
|
|
"type": "@UI.SettingUI",
|
|
"category": "EXTENSIONS",
|
|
"className": "Components.Linkifier.LinkHandlerSettingUI"
|
|
}
|
|
],
|
|
"dependencies": [
|
|
"extensions",
|
|
"persistence"
|
|
],
|
|
"modules": [
|
|
"main-legacy.js"
|
|
]
|
|
}
|