Skip to content

Commit f520021

Browse files
authored
Merge pull request #41165 from github/repo-sync
Repo sync
2 parents e8bccdc + 1a71c91 commit f520021

File tree

3 files changed

+231
-28
lines changed

3 files changed

+231
-28
lines changed

package-lock.json

Lines changed: 187 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@
311311
"mockdate": "^3.0.5",
312312
"nock": "^14.0.4",
313313
"nodemon": "3.1.10",
314+
"patch-package": "^8.0.1",
314315
"prettier": "^3.3.3",
315316
"rimraf": "^6.0.1",
316317
"robots-parser": "^3.0.1",

src/tools/lib/all-tools.ts

Lines changed: 43 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -5,33 +5,48 @@ export interface ToolsMapping {
55
[key: string]: string
66
}
77

8-
/**
9-
* All the tools available for the Tool Picker
10-
*/
8+
/*
9+
All the tools available for the Tool Picker
10+
11+
Ordered by usage analytics to prioritize most-used tools in the tool switcher.
12+
This ensures popular tools appear before the "More" menu in the UnderlineNav component.
13+
14+
Analytics Query (KQL):
15+
```
16+
docs_v0_preference_event
17+
| where timestamp between (ago(180d) .. now())
18+
| where context.hostname == 'docs.github.com'
19+
| where abs(totimespan(context.created - timestamp)) < 1h // bot filter
20+
| summarize Count=count() by Name=preference_name, Value=preference_value
21+
| order by Count desc
22+
```
23+
24+
Data as of 2025-11-04 (180-day window)
25+
*/
1126
export const allTools: ToolsMapping = {
12-
agents: 'Agents',
13-
api: 'API',
14-
azure_data_studio: 'Azure Data Studio',
15-
bash: 'Bash',
16-
cli: 'GitHub CLI',
17-
codespaces: 'Codespaces',
18-
copilotcli: 'Copilot CLI',
19-
curl: 'curl',
20-
desktop: 'Desktop',
21-
eclipse: 'Eclipse',
22-
github_mobile: 'GitHub Mobile',
23-
ides: 'IDEs',
24-
importer_cli: 'GitHub Enterprise Importer CLI',
25-
javascript: 'JavaScript',
26-
jetbrains: 'JetBrains IDEs',
27-
jetbrains_beta: 'JetBrains IDEs (Beta)',
28-
mobile: 'Mobile',
29-
skillsets: 'Skillsets',
30-
vimneovim: 'Vim/Neovim',
31-
powershell: 'PowerShell',
32-
visualstudio: 'Visual Studio',
33-
vscode: 'Visual Studio Code',
34-
webui: 'Web browser',
35-
windowsterminal: 'Windows Terminal',
36-
xcode: 'Xcode',
27+
vscode: 'Visual Studio Code', // 310,824
28+
jetbrains: 'JetBrains IDEs', // 306,982
29+
visualstudio: 'Visual Studio', // 232,736
30+
cli: 'GitHub CLI', // 186,254
31+
webui: 'Web browser', // 173,097
32+
eclipse: 'Eclipse', // 63,626
33+
desktop: 'Desktop', // 39,662
34+
vimneovim: 'Vim/Neovim', // 36,009
35+
azure_data_studio: 'Azure Data Studio', // 32,053
36+
xcode: 'Xcode', // 31,860
37+
curl: 'curl', // 17,798
38+
javascript: 'JavaScript', // 12,999
39+
windowsterminal: 'Windows Terminal', // 10,760
40+
codespaces: 'Codespaces', // 7,850
41+
api: 'API', // 3,248
42+
mobile: 'Mobile', // 3,186
43+
copilotcli: 'Copilot CLI', // 2,682
44+
bash: 'Bash', // 2,174
45+
powershell: 'PowerShell', // 2,002
46+
skillsets: 'Skillsets', // 1,471
47+
agents: 'Agents', // 957
48+
jetbrains_beta: 'JetBrains IDEs (Beta)', // No analytics data available
49+
github_mobile: 'GitHub Mobile', // No analytics data available
50+
ides: 'IDEs', // No analytics data available
51+
importer_cli: 'GitHub Enterprise Importer CLI', // No analytics data available
3752
}

0 commit comments

Comments
 (0)