Skip to content

Commit

Permalink
feat: Display preview for AI Fix (#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelAquilina authored Apr 19, 2024
1 parent 89cbe8f commit b866d3c
Show file tree
Hide file tree
Showing 21 changed files with 1,413 additions and 236 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Snyk Security Changelog
## [2.6.0]
- Improve UX of AI fixes by adding previews and options

## [2.4.1]
- updated the language server protocol version to 11 to support global ignores
Expand Down
6 changes: 3 additions & 3 deletions media/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.
19 changes: 14 additions & 5 deletions media/views/common/vscode.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
--input-padding-horizontal: 4px;
--input-margin-vertical: 4px;
--input-margin-horizontal: 0;
--button-padding-horizontal: 16px;
--button-padding-vertical: 6px;
}

body {
Expand All @@ -25,8 +27,8 @@ ul {
padding-left: var(--container-paddding);
}

body > *,
form > * {
body>*,
form>* {
margin-block-start: var(--input-margin-vertical);
margin-block-end: var(--input-margin-vertical);
}
Expand All @@ -35,8 +37,16 @@ form > * {
outline-color: var(--vscode-focusBorder) !important;
}

a {
p {
margin-top: 0;
margin-bottom: 2rem;
}

a,
.link {
cursor: pointer;
color: var(--vscode-textLink-foreground);
fill: currentColor;
}

a:hover,
Expand All @@ -51,8 +61,7 @@ code {

button {
border: none;
padding: var(--input-padding-vertical) var(--input-padding-horizontal);
width: 100%;
padding: var(--button-padding-vertical) var(--button-padding-horizontal);
text-align: center;
outline: 1px solid transparent;
outline-offset: 2px !important;
Expand Down
Loading

0 comments on commit b866d3c

Please sign in to comment.