Skip to content

feat(scripting): add severity-aware Problems panel - #246

Merged
fuzzzerd merged 1 commit into
masterfrom
fuzzz/parse-problems-panel
Jul 14, 2026
Merged

feat(scripting): add severity-aware Problems panel#246
fuzzzerd merged 1 commit into
masterfrom
fuzzz/parse-problems-panel

Conversation

@fuzzzerd

Copy link
Copy Markdown
Owner

Summary

  • The status bar only ever showed an aggregate parse-fidelity count ("Parsed with 3 issues: ...") with no way to see each individual issue's message or location — this adds a VS Code-style bottom-docked Problems panel (View menu, Ctrl+Shift+M, or click the status-bar summary) listing every diagnostic for the selected clip, with an inline XML snippet for the selected row
  • The tree-node and status-bar "!" indicators were severity-blind (ClipParseReport.IsLossless is just "any diagnostics at all"), so a harmless Info-level note looked as alarming as a real Error. Both now show a severity-appropriate glyph/color (gray "i" / orange "!" / red "✕"), and the panel itself sorts worst-severity-first with a breakdown header like Problems (1 warning, 1 info)

Test plan

  • dotnet test SharpFM.sln passes (2275 tests)
  • Manual smoke-launch of the app; no binding errors in the log

Lists every parse-fidelity diagnostic for the selected clip in a
bottom-docked panel instead of the status bar's aggregate-only
summary, with an inline XML snippet at the diagnostic's location.

- Add ClipParseLocationResolver to resolve a diagnostic's XPath-style
  location back to XML for the panel's detail pane.
- Add ClipParseReport.HighestSeverity and wire severity-aware
  glyphs/colors into the panel rows, the clip-tree badge, and the
  status bar summary (previously a flat orange "!" regardless of
  severity).
- Sort panel rows worst-severity-first and show a per-severity count
  breakdown in the header instead of a flat total.
@github-actions

Copy link
Copy Markdown

Test Results

✔️ Tests 2320 / 2320 - passed in 15.4s
✔️ Coverage 80.02% - passed with 70% threshold
📏 11535 / 13600 lines covered 🌿 3573 / 5280 branches covered
🔍 click here for more details

✏️ updated for commit b2eb01e

@fuzzzerd
fuzzzerd merged commit a137c53 into master Jul 14, 2026
6 checks passed
@fuzzzerd
fuzzzerd deleted the fuzzz/parse-problems-panel branch July 14, 2026 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant