Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Sorting of vulnerability table#52

Merged
mrrajan merged 5 commits intotrustification:mainfrom
mrrajan:sort_verify
Jul 28, 2025
Merged

Sorting of vulnerability table#52
mrrajan merged 5 commits intotrustification:mainfrom
mrrajan:sort_verify

Conversation

@mrrajan
Copy link
Copy Markdown
Collaborator

@mrrajan mrrajan commented May 2, 2025

This PR refactors existing keywords for better clarity and implements a reusable sorting mechanism.

  • The sorting logic needs to be specifically adapted to handle numeric values in the CVSS column and date formats in date columns.
  • It works for Id and Affected Dependencies without any issue.

@mrrajan mrrajan added the WIP label May 2, 2025
@mrrajan mrrajan removed the WIP label Jun 9, 2025
Signed-off-by: mrrajan <86094767+mrrajan@users.noreply.github.com.>
mrrajan added 2 commits June 9, 2025 19:44
Signed-off-by: mrrajan <86094767+mrrajan@users.noreply.github.com.>
Signed-off-by: mrrajan <86094767+mrrajan@users.noreply.github.com.>
@mrrajan mrrajan marked this pull request as ready for review June 10, 2025 07:00
@mrrajan mrrajan changed the title [WIP] Sorting of vulnerability table Sorting of vulnerability table Jun 10, 2025
Copy link
Copy Markdown
Contributor

@vobratil vobratil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've left some comments and suggestions. Good job with breaking up the code in ToolbarTable.ts into methods! The only change that is, in my opinion, critical is the dedicatedSearch method header. The rest, I'd say, is for your consideration.

Copy link
Copy Markdown
Collaborator Author

@mrrajan mrrajan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your review and comments @vobratil I have replied for a couple - Please let me know in case of any concerns.

mrrajan added 2 commits June 30, 2025 17:58
Signed-off-by: mrrajan <86094767+mrrajan@users.noreply.github.com.>
Signed-off-by: mrrajan <86094767+mrrajan@users.noreply.github.com.>
@mrrajan mrrajan requested review from vobratil June 30, 2025 12:32
Copy link
Copy Markdown
Contributor

@vobratil vobratil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mrrajan All my points were addressed, so as far as I'm concerned, we can merge this.

@mrrajan mrrajan merged commit 3daf686 into trustification:main Jul 28, 2025
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants