File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed
plugin/src/main/java/io/snyk/eclipse/plugin Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,7 @@ public String getInitHtml() {
149
149
return replaceCssVariables (html );
150
150
}
151
151
152
+ //TODO update this when we got new design from Andy
152
153
public String getSummaryInitHtml () {
153
154
var html = """
154
155
<!DOCTYPE html>
Original file line number Diff line number Diff line change @@ -24,9 +24,6 @@ public Object function(Object[] arguments) {
24
24
Preferences .getInstance ().store (Preferences .ENABLE_DELTA , Boolean .FALSE .toString ());
25
25
updateConfiguration ();
26
26
27
- // TODO remove this when we get the HTML from Snyk Language Server
28
- browser .execute ("document.body.innerHTML += '<p>All issues tab clicked</p>';" );
29
-
30
27
return null ;
31
28
}
32
29
};
@@ -37,9 +34,6 @@ public Object function(Object[] arguments) {
37
34
Preferences .getInstance ().store (Preferences .ENABLE_DELTA , Boolean .TRUE .toString ());
38
35
updateConfiguration ();
39
36
40
- // TODO remove this when we get the HTML from Snyk Language Server
41
- browser .execute ("document.body.innerHTML += '<p>Delta issues tab clicked</p>';" );
42
-
43
37
return null ;
44
38
}
45
39
@@ -53,14 +47,11 @@ private void updateConfiguration() {
53
47
// Update the Snyk Language Server configuration.
54
48
final var lc = SnykExtendedLanguageClient .getInstance ();
55
49
lc .updateConfiguration ();
56
-
57
- // TODO do we want to start scan here?
58
- lc .triggerScan (null );
59
50
});
60
51
}
61
52
62
53
public void setDefaultBrowserText () {
63
- browser .setText (StaticPageHtmlProvider .getInstance ().getSummaryInitHtml2 ());
54
+ browser .setText (StaticPageHtmlProvider .getInstance ().getSummaryInitHtml ());
64
55
}
65
56
66
57
public void setBrowserText (String summary ) {
You can’t perform that action at this time.
0 commit comments