Repository navigation
Show each GUI row's current reason and clear stale icons - #139
Merged
Merged
Conversation
Rows survive between runs. A file that failed or was previewed as "would convert" and was then left unchanged or skipped kept the earlier icon, and the reason a file failed, was refused or was left unchanged went only to debug output. A row left unchanged or skipped now has its icon cleared, and every row shows its current reason as a tooltip, set on each run and emptied when the run gives none. No column was added; exported formats are unchanged. Tests cover cleared icons after a failed and a previewed run, the tooltip following each result, and a real window showing a scanned row's reason; four mutations fail them. Backlog: BL-41. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Problem
GUI result rows survive between runs.
Debug.WriteLine. The CSV export was the only place to read it; for example, "ASCII is already valid UTF-8 without a BOM." never appeared in the window.Change
UpdateResultItemclears the icon of a row left unchanged or skipped (ResultIconNone = -1).ToolTipTextis its entry's currentDiagnostic, set on each run and emptied when the run gives none, both for rows added by a scan and for rows updated by a conversion.lstResults.ShowItemToolTips = true.Tests
In
PreviewResultPresentationTests:MainFormhas row tooltips on, and a scanned Validate row shows its reason with no icon.Mutation checks (each restored byte-for-byte afterwards)
Verification
docs/Test-DefectBacklog.ps1passes.OutcomePassed, managed assembly13f752e2…matching the built DLL (evidence20260928_211804). The smoke suite does not read icons or tooltips, so it confirms nothing else broke; no one has looked at the tooltip in a live window.🤖 Generated with Claude Code