File tree Expand file tree Collapse file tree
plugin/src/main/java/io/snyk/eclipse/plugin Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -149,6 +149,7 @@ public String getInitHtml() {
149149 return replaceCssVariables (html );
150150 }
151151
152+ //TODO update this when we got new design from Andy
152153 public String getSummaryInitHtml () {
153154 var html = """
154155 <!DOCTYPE html>
Original file line number Diff line number Diff line change @@ -24,9 +24,6 @@ public Object function(Object[] arguments) {
2424 Preferences .getInstance ().store (Preferences .ENABLE_DELTA , Boolean .FALSE .toString ());
2525 updateConfiguration ();
2626
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-
3027 return null ;
3128 }
3229 };
@@ -37,9 +34,6 @@ public Object function(Object[] arguments) {
3734 Preferences .getInstance ().store (Preferences .ENABLE_DELTA , Boolean .TRUE .toString ());
3835 updateConfiguration ();
3936
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-
4337 return null ;
4438 }
4539
@@ -53,14 +47,11 @@ private void updateConfiguration() {
5347 // Update the Snyk Language Server configuration.
5448 final var lc = SnykExtendedLanguageClient .getInstance ();
5549 lc .updateConfiguration ();
56-
57- // TODO do we want to start scan here?
58- lc .triggerScan (null );
5950 });
6051 }
6152
6253 public void setDefaultBrowserText () {
63- browser .setText (StaticPageHtmlProvider .getInstance ().getSummaryInitHtml2 ());
54+ browser .setText (StaticPageHtmlProvider .getInstance ().getSummaryInitHtml ());
6455 }
6556
6657 public void setBrowserText (String summary ) {
You can’t perform that action at this time.
0 commit comments