Skip to content

feat: Collapse related/upstream/downstream list prefixes - #6035

Merged
another-rex merged 5 commits into
google:masterfrom
another-rex:collapse_related_list_prefixes
Sep 21, 2026
Merged

another-rex merged 5 commits into
google:masterfrom
another-rex:collapse_related_list_prefixes

Conversation

@another-rex

@another-rex another-rex commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Collapse related/upstream/downstream lists when there's multiple entries from the same prefix. This makes it much easier to read for many CVE entries, which has a vast list of downstream records.

Implementation wise, I created a VulnTree map type, which is just a recursively nested map to represent this grouping, and then a simple function to turn this map into HTML.

Screenshot 2026-09-21 12 58 17 PM image

@jess-lowe

Copy link
Copy Markdown
Contributor

any screenshots? :)

@another-rex

Copy link
Copy Markdown
Contributor Author

Added screenshots! @jess-lowe

@jess-lowe

Copy link
Copy Markdown
Contributor

do you have any examples when it's two layers deep? like CVE -> DEBIAN -> DSA?

@another-rex

Copy link
Copy Markdown
Contributor Author

It handles those fine, there's no collapsing of the sub entries:

Screenshot 2026-09-21 1 05 39 PM Screenshot 2026-09-21 1 06 16 PM

@jess-lowe

Copy link
Copy Markdown
Contributor

It handles those fine, there's no collapsing of the sub entries:

Screenshot 2026-09-21 1 05 39 PM Screenshot 2026-09-21 1 06 16 PM

Nice!

jess-lowe
jess-lowe previously approved these changes Sep 21, 2026

@jess-lowe jess-lowe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM just need to fix checks failing

@another-rex
another-rex merged commit 7dca30c into google:master Sep 21, 2026
37 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants