Add docs and help/support actions

Signed-off-by: Sanjula Ganepola <sanjulagane@gmail.com>
This commit is contained in:
Sanjula Ganepola
2024-11-16 20:43:16 -05:00
parent 28ee724678
commit 72d9888ac3
2 changed files with 48 additions and 2 deletions

View File

@@ -241,6 +241,23 @@
"command": "githubLocalActions.editSetting",
"title": "Edit",
"icon": "$(edit)"
},
{
"category": "GitHub Local Actions",
"command": "githubLocalActions.viewDocumentation",
"title": "View Documentation"
},
{
"category": "GitHub Local Actions",
"command": "githubLocalActions.helpAndSupport",
"title": "Help and Support"
}
],
"submenus": [
{
"id": "githubLocalActions.moreActions",
"label": "More Actions...",
"icon": "$(ellipsis)"
}
],
"menus": {
@@ -316,6 +333,14 @@
{
"command": "githubLocalActions.editSetting",
"when": "never"
},
{
"command": "githubLocalActions.viewDocumentation",
"when": "never"
},
{
"command": "githubLocalActions.helpAndSupport",
"when": "never"
}
],
"view/title": [
@@ -353,6 +378,21 @@
"command": "githubLocalActions.refreshSettings",
"when": "view == settings",
"group": "navigation@0"
},
{
"submenu": "githubLocalActions.moreActions",
"when": "view =~ /^(components|workflows|history|settings)$/",
"group": "navigation@99"
}
],
"githubLocalActions.moreActions": [
{
"command": "githubLocalActions.viewDocumentation",
"group": "0_more@0"
},
{
"command": "githubLocalActions.helpAndSupport",
"group": "0_more@1"
}
],
"view/item/context": [