jfrog / jfrog-cli-core

Apache License 2.0
34 stars 58 forks source link

Command Summary - Separate Module Table View from Artifacts Tree #1257

Closed EyalDelarea closed 1 month ago

EyalDelarea commented 2 months ago

Summary:

This PR separates the logic for generating markdown related to modules.

Details:

The module display is now divided into two subsections:

Modules with scan results (currently, this applies only to Docker images). Modules without scan results (e.g., an npm module that is packaged into a tar file and then deleted, which we currently cannot scan easily with a JF command). Introduced refactoring to improve code maintainability for the future.

Made minor adjustments to titles and UI elements for a better user experience.

Before - Npm modules is displayed on a table

image

After - Generic module is displayed without table:

image

github-actions[bot] commented 1 month ago
[![👍 Frogbot scanned this pull request and did not find any new security issues.](https://raw.githubusercontent.com/jfrog/frogbot/master/resources/v2/noVulnerabilityBannerPR.png)](https://docs.jfrog-applications.jfrog.io/jfrog-applications/frogbot)

[🐸 JFrog Frogbot](https://docs.jfrog-applications.jfrog.io/jfrog-applications/frogbot)