Show imports/moves in summary table; hide zero-count rows#649
Open
Show imports/moves in summary table; hide zero-count rows#649
Conversation
SNAPSHOT_UPDATE_OK: Summary table now includes Import/Move rows when those operations occur and omits any rows whose count is 0. When all rows are zero, the table is replaced with "No changes". Snapshots regenerated to reflect the new layout. Agent-Logs-Url: https://github.com/oocx/tfplan2md/sessions/1c705acd-8ce3-4e94-9262-f8d50ef0987a Co-authored-by: oocx <584396+oocx@users.noreply.github.com>
Agent-Logs-Url: https://github.com/oocx/tfplan2md/sessions/1c705acd-8ce3-4e94-9262-f8d50ef0987a Co-authored-by: oocx <584396+oocx@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
oocx
April 23, 2026 18:42
View session
Owner
|
@copilot release notes are missing |
Agent-Logs-Url: https://github.com/oocx/tfplan2md/sessions/56ab5ba2-659e-470f-a9dc-d0906eed729c Co-authored-by: oocx <584396+oocx@users.noreply.github.com>
Contributor
Author
oocx
approved these changes
Apr 23, 2026
Contributor
Test Results1 254 tests 1 254 ✅ 1m 46s ⏱️ Results for commit 435b1f8. |
Contributor
Code Coverage Summary
|
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
The Summary table now includes
📥 Importand🔀 Moverows alongside the existing action rows, hides any row whose count is0, and falls back to a "No changes" message when every row would be empty.Changes
SummaryModel: addedImportsandMovesActionSummaryproperties.SummaryEnrichmentStage: counts changes whoseImportId/MovedFromAddressis set (orthogonal to action buckets — a single change can appear in both an action row and an import/move row).SummaryRenderer: builds the row list, filtersCount == 0, emits Import/Move rows, and renders the existing "No changes" paragraph when no row remains.SummaryModelconstructions in 4 test files updated for the new required properties.Render_SummaryTable_ShowsEmptyCellWhenNoActionResourceswithRender_SummaryTable_OmitsRowsWithZeroCountto lock in the new behavior.SNAPSHOT_UPDATE_OK);refactoring-comprehensive.mdandcomprehensive-demo.mdnow expose the new rows.docs/features.md: replaced the "No-Changes Summary" section with a "Concise Summary Table" section covering both behaviors.docs/issues/121-summary-table-imports-moves/release-notes.md.Example (plan with adds, imports, and moves)
Totalsemantics are unchanged (add + change + destroy + replace), soProgramEntry'stfplan2md_haschangespipeline variable is unaffected.Checklist
Merge method: Use Rebase and merge to maintain a linear history. The repository enforces rebase-only merges by default.
Create & merge guidance: Use
scripts/pr-github.sh createto create PRs, andscripts/pr-github.sh create-and-mergeto perform the merge (this script is the authoritative, repo-preferred tool for PR creation and merges). If you need to inspect/check the PR, use GitHub chat tools (github/*) as needed.