init settings view and refresh action
Signed-off-by: Sanjula Ganepola <sanjulagane@gmail.com>
This commit is contained in:
65
package.json
65
package.json
@@ -26,7 +26,9 @@
|
||||
"engines": {
|
||||
"vscode": "^1.93.0"
|
||||
},
|
||||
"activationEvents": [],
|
||||
"activationEvents": [
|
||||
"onStartupFinished"
|
||||
],
|
||||
"main": "./dist/extension.js",
|
||||
"contributes": {
|
||||
"viewsContainers": {
|
||||
@@ -50,11 +52,6 @@
|
||||
"name": "Workflows",
|
||||
"icon": "$(remote-explorer)"
|
||||
},
|
||||
{
|
||||
"id": "events",
|
||||
"name": "Events",
|
||||
"icon": "$(rocket)"
|
||||
},
|
||||
{
|
||||
"id": "settings",
|
||||
"name": "Settings",
|
||||
@@ -62,7 +59,59 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"commands": [],
|
||||
"commands": [
|
||||
{
|
||||
"category": "GitHub Local Actions",
|
||||
"command": "githubLocalActions.refreshComponents",
|
||||
"title": "Refresh",
|
||||
"icon": "$(refresh)"
|
||||
},
|
||||
{
|
||||
"category": "GitHub Local Actions",
|
||||
"command": "githubLocalActions.refreshWorkflows",
|
||||
"title": "Refresh",
|
||||
"icon": "$(refresh)"
|
||||
},
|
||||
{
|
||||
"category": "GitHub Local Actions",
|
||||
"command": "githubLocalActions.refreshSettings",
|
||||
"title": "Refresh",
|
||||
"icon": "$(refresh)"
|
||||
}
|
||||
],
|
||||
"menus": {
|
||||
"commandPalette": [
|
||||
{
|
||||
"command": "githubLocalActions.refreshComponents",
|
||||
"when": "never"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.refreshWorkflows",
|
||||
"when": "never"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.refreshSettings",
|
||||
"when": "never"
|
||||
}
|
||||
],
|
||||
"view/title": [
|
||||
{
|
||||
"command": "githubLocalActions.refreshComponents",
|
||||
"when": "view == components",
|
||||
"group": "navigation@0"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.refreshWorkflows",
|
||||
"when": "view == workflows",
|
||||
"group": "navigation@0"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.refreshSettings",
|
||||
"when": "view == settings",
|
||||
"group": "navigation@0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"colors": [
|
||||
{
|
||||
"id": "GitHubLocalActions.enabled",
|
||||
@@ -118,4 +167,4 @@
|
||||
"webpack": "^5.94.0",
|
||||
"webpack-cli": "^5.1.4"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user