fix(ui): Improved formatting for exploits and vulnerabilities in asset scan details #891
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Fix for #812 and #813
Change the labels for csv input types. Add component that support showing X number of lines of text with ellipses (
...
sign) at the end. Use this component to display the content of the csv. Add a show more arrow button that is only visible if there are more than X lines of text and you can also shrink it after you expanded it. (In this case X=5 but it can easily be changed if needed.)Update the duration calculation to show the text
less than 1 second
if the start time equals with the end time.Screenshot:
Type of Change
[x] Bug Fix
[ ] New Feature
[ ] Breaking Change
[ ] Refactor
[ ] Documentation
[ ] Other (please describe)
Checklist