Show item previews in collapsed QA report severity groups - #1214
Open
pfbyjy wants to merge 1 commit into
Open
Conversation
A collapsed group spent its whole header line on a static per-tier sentence — "The defect can decide trials", "Does not change the verdict" — which the MUST FIX / SHOULD FIX / OPTIONAL badge next to it already says. Nothing on the row described the defects, so the only way to learn what a group held was to open it. Collapsed, the line now carries the items' own titles, joined and truncated to one line, with the full list in the tooltip. Open, the items are on screen, so the tier effect takes the line back. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AWVwKFa9EGQMtwWrZbmDyU
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Oddish previewCommit:
Vercel deployment URL: https://oddish-qznizs03r.oddish.app Plan:
This comment is updated by the PR Preview workflow. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.


Summary
Improves the QA report UI by displaying previews of action items in the collapsed state of severity group headers, while showing the tier effect when expanded.
Changes
findingPreview()function to extract and format a single-line preview from a finding's title, detail, or recommendation (flattened whitespace, capped at 120 characters)SeverityGroupscomponent to compute previews for each tier's items and include them in the group data structuregroup-open:CSS selector)Implementation details
text-prettyfor better line breaking when space allowsgroup-open:modifier to toggle visibility based on<details>open statehttps://claude.ai/code/session_01AWVwKFa9EGQMtwWrZbmDyU
Note
Low Risk
Presentation-only change in
action-items.tsxwith no API or data handling impact.Overview
Collapsed QA severity groups now show a one-line glimpse of what’s inside instead of only the tier effect text.
SeverityGroupsbuilds per-item previews via newfindingPreview()(title, then detail/recommendation; whitespace flattened, max 120 chars). When a tier has previews, the<summary>shows them joined with·while collapsed (group-open:hidden, truncated, full list intitle). When expanded, that line hides and the existing tier effect line returns (hidden group-open:block). Groups with no previewable text keep the tier effect in both states.Reviewed by Cursor Bugbot for commit ed87844. Bugbot is set up for automated code reviews on this repo. Configure here.