Skip to content

Commit

Permalink
Merge pull request #3 from snyk/assets-update
Browse files Browse the repository at this point in the history
Assets update
  • Loading branch information
Arvi3d authored Apr 1, 2021
2 parents 25571ad + b0fe5b4 commit 90f7d87
Show file tree
Hide file tree
Showing 26 changed files with 89 additions and 46 deletions.
Binary file added .DS_Store
Binary file not shown.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ Whenever Snyk encounters an unseen project, you will be asked to provide consent

![Snyk Consent](images/readme/consent.png)

Snyk will then bundle the files and run an analysis. From Extension Version 3.x on, you can find a Snyk Icon in the sidebar ![Snyk Sidebar Icon](images/readme/snyk_extension_icon.png). It provides all the suggestions in a concise and clean view containing all information that is available on the online dashboard.
Snyk will then bundle the files and run an analysis. From Extension Version 3.x on, you can find a Snyk Icon in the sidebar ![Snyk Sidebar Icon](images/readme/snyk_extension_icon-mini.png) . It provides all the suggestions in a concise and clean view containing all information that is available on the online dashboard.

![snyk problem](images/readme/problem.png)
![snyk problem](images/readme/problem-new.png)

On the top left, you can see some statistics plus a list of files with the suggestions found for them. The icons here mean:
- ![Critical Icon](images/readme/icon-critical.png) Critical suggestion which should be addressed
- ![Warning Icon](images/readme/icon-warning.png) Warning suggestion which seems to be a coding error
- ![Information Icon](images/readme/icon-info.png) Information suggestion which points to style glitches or logical issues
- ![High Icon](images/readme/icon-high.png) High suggestion which should be addressed
- ![Medium Icon](images/readme/icon-medium.png) Medium suggestion which seems to be a coding error
- ![Low Icon](images/readme/icon-low.png) Low suggestion which points to style glitches or logical issues

Below, on the bottom left, you see a collection of helpful links about Snyk.

Expand Down
7 changes: 7 additions & 0 deletions images/dark-high-severity.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
4 changes: 4 additions & 0 deletions images/dark-low-severity.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions images/dark-medium-severity.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions images/icon-external.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 1 addition & 3 deletions images/icon-github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion images/icon-lines.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion images/icon-newwindow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added images/readme/icon-high.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/readme/icon-low.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/readme/icon-medium.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/readme/problem-new.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/readme/snyk_extension_icon-mini.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/readme/snyk_extension_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/readme/snyk_extension_icon_old.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions images/snyk_extension_icon_new.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
{
"id": "snyk",
"title": "Snyk",
"icon": "images/snyk_extension_icon.svg"
"icon": "images/snyk_extension_icon_new.svg"
}
]
},
Expand Down
12 changes: 6 additions & 6 deletions src/snyk/view/Node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ export interface INodeIcon {

export const NODE_ICONS: {[key: string]: INodeIcon} = {
critical: {
light: path.join(__filename, '..', '..', '..', '..', 'images', 'light-icon-critical.svg'),
dark: path.join(__filename, '..', '..', '..', '..', 'images', 'dark-icon-critical.svg'),
light: path.join(__filename, '..', '..', '..', '..', 'images', 'dark-high-severity.svg'),
dark: path.join(__filename, '..', '..', '..', '..', 'images', 'dark-high-severity.svg'),
},
warning: {
light: path.join(__filename, '..', '..', '..', '..', 'images', 'light-icon-warning.svg'),
dark: path.join(__filename, '..', '..', '..', '..', 'images', 'dark-icon-warning.svg'),
light: path.join(__filename, '..', '..', '..', '..', 'images', 'dark-medium-severity.svg'),
dark: path.join(__filename, '..', '..', '..', '..', 'images', 'dark-medium-severity.svg'),
},
info: {
light: path.join(__filename, '..', '..', '..', '..', 'images', 'light-icon-info.svg'),
dark: path.join(__filename, '..', '..', '..', '..', 'images', 'dark-icon-info.svg'),
light: path.join(__filename, '..', '..', '..', '..', 'images', 'dark-low-severity.svg'),
dark: path.join(__filename, '..', '..', '..', '..', 'images', 'dark-low-severity.svg'),
},
};

Expand Down
Loading

0 comments on commit 90f7d87

Please sign in to comment.