Repository navigation
fix(website): collapse long affected range event lists - #6102
Conversation
The previous workflow runs expired while awaiting maintainer approval. Recreate the pull request checks without changing the source tree.
|
Could a maintainer review this PR for #6064, approve the pending GitHub Actions workflows, and post I reran Thanks! |
|
@ZedingZhang sorry for the late reply I have added the team as reviewer for this PR. |
|
Thanks @cuixq , no worries. I appreciate you adding the team as reviewers! I checked the CI failure. The OSV-Scanner rerun is using an older PR merge snapshot, and the flagged dependencies have since been updated on |
|
/gcbrun |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6102 +/- ##
==========================================
+ Coverage 55.83% 56.15% +0.32%
==========================================
Files 223 223
Lines 23001 23001
==========================================
+ Hits 12842 12917 +75
+ Misses 10156 10081 -75
Partials 3 3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
michaelkedar
left a comment
There was a problem hiding this comment.
This looks fine to me. Happy to merge.
Sorry again for dropping this
Overview
Affected range event lists can dominate vulnerability pages when a record contains hundreds of events. Show the first six events by default and provide an independent expand/collapse control for the rest of each range.
Fixes #6064.
Details
details/summarycontrols with the remaining event count, a collapse label, and a visible keyboard focus indicator. The control requires no JavaScript.Screenshots
The same package in
ROOT-APP-MAVEN-CVE-2026-5795, rendered by the local Go development server with current OSV data:Testing
go test ./internal/websitepassed, including new full-template rendering cases for 0, 1, 6, 7, and 20 events in both package layouts, multiple ranges, commit links, and tooltips.golangci-lint run --new-from-rev=HEAD ./internal/websitepassed with 0 issues before committing. A full package lint reported existing formatting issues in unchanged files.pnpm run buildandpnpm run build:prodpassed (Sass deprecation warnings; production build also reports bundle-size warnings).