Skip to content

Commit

Permalink
Added when conditions on views and command to limit visibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
danzelbel committed Jul 30, 2020
1 parent a46c453 commit 33ade4b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ This extension contributes the following settings:

## Release Notes

### 2020.7.1
### 2020.7.3

Initial release of Xray Beams extension
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "xray-beams",
"displayName": "Xray Beams",
"description": "Xray test management integration for vscode",
"version": "2020.7.2",
"version": "2020.7.3",
"publisher": "danzelbel",
"author": {
"name": "danzelbel"
Expand Down Expand Up @@ -38,11 +38,13 @@
"explorer": [
{
"id": "orphansView",
"name": "XrayBeams Orphans"
"name": "XrayBeams Orphans",
"when": "workbenchState == workspace"
},
{
"id": "preConditionsView",
"name": "XrayBeams Pre-Conditions"
"name": "XrayBeams Pre-Conditions",
"when": "workbenchState == workspace"
}
]
},
Expand Down Expand Up @@ -110,7 +112,7 @@
"commandPalette": [
{
"command": "xrayBeams.workspaceInit",
"when": "workbenchState != workspace"
"when": "workbenchState != workspace && workspaceFolderCount == 0"
},
{
"command": "xrayBeams.refresh",
Expand Down

0 comments on commit 33ade4b

Please sign in to comment.