Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ivy-jh committed Dec 10, 2024
1 parent 8183fe9 commit 568e8b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,7 @@ private List<GHRepository> reposFor(String orgName) {
try {
var org = gitHub.get().getOrganization(orgName);
return List.copyOf(org.getRepositories().values()).stream()
// .filter(repo -> repo.getName().equals("am-charts-sample"))
// .limit(50)
// .limit(10)
.toList();
} catch (IOException ex) {
throw new RuntimeException(ex);
Expand Down
5 changes: 2 additions & 3 deletions src/main/java/io/ivyteam/devops/repo/ReposView.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public ReposView(RepoRepository repos, PullRequestRepository prs, BranchReposito
return null;
}
return layout;
}).setHeader("Code").setWidth("100px").setSortable(true);
}).setHeader("CodeScan").setWidth("100px").setSortable(true);

grid.addComponentColumn(repo -> {
var layout = new HorizontalLayout();
Expand All @@ -141,7 +141,7 @@ public ReposView(RepoRepository repos, PullRequestRepository prs, BranchReposito
return null;
}
return layout;
}).setHeader("Secret-Scanning").setWidth("100px").setSortable(true);
}).setHeader("SecretScan").setWidth("100px").setSortable(true);

grid.setHeightFull();

Expand Down Expand Up @@ -238,7 +238,6 @@ private Anchor createSecurityScannerAnchor(SecurityScanner ss, String link, Stri
} else {
a.getElement().getThemeList().add("badge pill small success");
icon.setIcon(VaadinIcon.CHECK);
// a.getStyle().set("display", "none");
}

return a;
Expand Down

0 comments on commit 568e8b1

Please sign in to comment.