|  | 
| 1 | 1 | { | 
| 2 | 2 |   "name": "cycode", | 
| 3 | 3 |   "displayName": "Cycode", | 
| 4 |  | -  "version": "1.10.1", | 
|  | 4 | +  "version": "1.11.0", | 
| 5 | 5 |   "publisher": "cycode", | 
| 6 | 6 |   "description": "Boost security in your dev lifecycle via SAST, SCA, Secrets & IaC scanning.", | 
| 7 | 7 |   "repository": { | 
|  | 
| 38 | 38 |       "view/title": [ | 
| 39 | 39 |         { | 
| 40 | 40 |           "command": "cycode.runAllScans", | 
| 41 |  | -          "when": "view =~ /^cycode./", | 
|  | 41 | +          "when": "view == cycode.view.tree", | 
| 42 | 42 |           "group": "navigation@0" | 
| 43 | 43 |         }, | 
| 44 | 44 |         { | 
|  | 
| 52 | 52 |           "group": "navigation@1" | 
| 53 | 53 |         }, | 
| 54 | 54 |         { | 
| 55 |  | -          "command": "cycode.openMainMenu", | 
|  | 55 | +          "command": "cycode.clearAllScanResults", | 
| 56 | 56 |           "when": "view == cycode.view.tree", | 
| 57 |  | -          "group": "navigation@1" | 
|  | 57 | +          "group": "navigation@2" | 
| 58 | 58 |         }, | 
| 59 | 59 |         { | 
| 60 | 60 |           "command": "cycode.openSettings", | 
| 61 |  | -          "when": "view =~ /^cycode./", | 
| 62 |  | -          "group": "navigation@2" | 
|  | 61 | +          "when": "view == cycode.view.tree", | 
|  | 62 | +          "group": "navigation@3" | 
| 63 | 63 |         } | 
| 64 | 64 |       ], | 
| 65 | 65 |       "view/item/context": [ | 
|  | 
| 172 | 172 |         "icon": "$(gear)" | 
| 173 | 173 |       }, | 
| 174 | 174 |       { | 
| 175 |  | -        "command": "cycode.openMainMenu", | 
|  | 175 | +        "command": "cycode.clearAllScanResults", | 
| 176 | 176 |         "category": "Cycode", | 
| 177 |  | -        "title": "Return to Home Screen", | 
| 178 |  | -        "icon": "$(arrow-left)" | 
|  | 177 | +        "title": "Clear all scan results", | 
|  | 178 | +        "icon": "$(trash)" | 
| 179 | 179 |       }, | 
| 180 | 180 |       { | 
| 181 | 181 |         "command": "cycode.runAllScans", | 
|  | 
| 219 | 219 |     "views": { | 
| 220 | 220 |       "cycode": [ | 
| 221 | 221 |         { | 
| 222 |  | -          "type": "webview", | 
| 223 |  | -          "id": "cycode.view.login", | 
| 224 |  | -          "name": "login", | 
| 225 |  | -          "when": "!cycode:auth.isAuthed && !cycode:auth.isAuthenticating" | 
|  | 222 | +          "type": "tree", | 
|  | 223 | +          "id": "cycode.view.tree", | 
|  | 224 | +          "name": "Scan Results", | 
|  | 225 | +          "when": "true" | 
| 226 | 226 |         }, | 
| 227 | 227 |         { | 
| 228 | 228 |           "type": "webview", | 
| 229 |  | -          "id": "cycode.view.authenticating", | 
| 230 |  | -          "name": "login", | 
| 231 |  | -          "when": "cycode:auth.isAuthenticating" | 
|  | 229 | +          "id": "cycode.view.loading", | 
|  | 230 | +          "name": "Loading", | 
|  | 231 | +          "when": "!cycode:cli.isInstalled" | 
| 232 | 232 |         }, | 
| 233 | 233 |         { | 
| 234 | 234 |           "type": "webview", | 
| 235 |  | -          "id": "cycode.view.main", | 
| 236 |  | -          "name": "scan", | 
| 237 |  | -          "when": "cycode:auth.isAuthed && (!cycode:scan.hasAnyDetections || !cycode:treeView.isShowed)" | 
|  | 235 | +          "id": "cycode.view.auth", | 
|  | 236 | +          "name": "Login", | 
|  | 237 | +          "when": "cycode:cli.isInstalled && !cycode:auth.isAuthed" | 
| 238 | 238 |         }, | 
| 239 | 239 |         { | 
| 240 |  | -          "type": "tree", | 
| 241 |  | -          "id": "cycode.view.tree", | 
| 242 |  | -          "name": "Scan Results", | 
| 243 |  | -          "when": "cycode:scan.hasAnyDetections && cycode:treeView.isShowed" | 
|  | 240 | +          "type": "webview", | 
|  | 241 | +          "id": "cycode.view.scan", | 
|  | 242 | +          "name": "Scan", | 
|  | 243 | +          "when": "cycode:cli.isInstalled && cycode:auth.isAuthed" | 
| 244 | 244 |         } | 
| 245 | 245 |       ] | 
| 246 | 246 |     }, | 
|  | 
0 commit comments