Skip to content

[Enhancement]: CBOM Graph Labels Order Incorrect and Request for "+50 other crypto assets" Clickable Functionality #713

@NeerajK007

Description

@NeerajK007

Contribution guidelines

Description

Description: There are two issues to address in the Crypto Assets section of the CBOM graph:

  1. Labels Order in Crypto Assets(& other 2 graphs as well):

    The display order of crypto asset types in the CBOM graph should be descending based on their count.
    Currently, the order is not correct. For example, although the "ECDH" asset type only has one entry, it
    appears as the first element in the list.
    The expected behavior is that asset types with higher counts should appear first, followed by those with
    lower counts.

  2. Clickable "+50 other crypto assets" Label:

    The "+50 other crypto assets" label should be interactive.
    When clicked, it should display the remaining assets
    (i.e., those not shown in the main list) in a popup or similar modal interface.

Steps to Reproduce:

> Navigate to the Crypto Assets section in the CBOM graph.
> Observe that the assets are not ordered by count in descending order.
>  Note that the "+50 other crypto assets" label is not clickable.

Motivation

  1. The current ordering of crypto asset types is misleading, as types with fewer entries (like "ECDH") appear first
    despite having a lower count.
  2. Improved discoverability of the remaining assets and a better user experience through a cleaner, interactive
    display (e.g., a popup).

Expected behaviour

  1. Asset types should be sorted so that those with higher counts appear first.
  2. The "+50 other crypto assets" label should be clickable and, when activated, display a popup showing the
    additional crypto assets.

Additional context

1. Please refer to the current rendering order where "ECDH" (with only 1 entry) is 
   incorrectly prioritized over other asset types with higher counts.
2. Implementation of the popup/modal for showing the extra assets would be an excellent 
   enhancement to improve usability.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions