-
Notifications
You must be signed in to change notification settings - Fork 35
Description
Contribution guidelines
- I've read the contribution guidelines and wholeheartedly agree
Description
Description: There are two issues to address in the Crypto Assets section of the CBOM graph:
-
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. -
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
- The current ordering of crypto asset types is misleading, as types with fewer entries (like "ECDH") appear first
despite having a lower count. - Improved discoverability of the remaining assets and a better user experience through a cleaner, interactive
display (e.g., a popup).
Expected behaviour
- Asset types should be sorted so that those with higher counts appear first.
- 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.