feat(cg-actions): expandable action rows with per-version breakdown#8
Closed
tylerpaxton wants to merge 1 commit into
Closed
feat(cg-actions): expandable action rows with per-version breakdown#8tylerpaxton wants to merge 1 commit into
tylerpaxton wants to merge 1 commit into
Conversation
Each row in the HTML inventory table is now clickable (caret) to expand an inline per-version breakdown: for each distinct version in use, its own status and hardened target, plus the exact workflow:line locations that pin it. This is especially useful for mixed actions (e.g. checkout@v4 gap vs @v6 available), whose summary row shows "—" for the ref — the detail now shows each version's target. - New _action_detail() renders the nested per-version subtable. - Rows toggle open/closed; clicking a copy button doesn't toggle. - Changing a status filter collapses expansions so an open detail row can't outlive a filtered-out parent. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
Author
|
Superseded by #9, which consolidates this into a single reviewable PR (one commit per change, single VERSION bump). |
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.
What
Each row in the HTML inventory table is now clickable to expand an inline per-version breakdown — granular detail without leaving the table. For each distinct version an action is used at, the expansion shows:
chainguard-actions/actions-setup-node@v6.4.0chainguard-actions/actions-setup-node@v6.4.0Why
The summary row shows one status and (for mixed actions)
—for the ref, since it varies. Expanding gives the per-version status, the exact hardened target for each, and where each version is pinned — the detail that previously required scrolling to the separate "By workflow" section.Details
actions_table(main inventory + per-repo cards).Verified against
tylerpaxton/cg-actions-test: 23 rows, each expands to its per-version subtable; mixed actions show v4→gap and v6→available separately.🤖 Generated with Claude Code