Skip to content

Add Structured Diagnostic JSON Output#26

Open
sjquant wants to merge 3 commits into
mainfrom
icarus-forgot-the-password-ae0
Open

Add Structured Diagnostic JSON Output#26
sjquant wants to merge 3 commits into
mainfrom
icarus-forgot-the-password-ae0

Conversation

@sjquant

@sjquant sjquant commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Why

Make quickthumb diagnostics machine-readable so lint output can feed automated repair loops while keeping the existing human-readable lint output intact.

Changes

  • Add optional structured diagnostic fields for layer identity, bbox, related layers, measured values, and suggestions.
  • Populate structured fields for current off-canvas, tiny text, text overflow, and low-contrast diagnostics from measured layer data.
  • Make off-canvas suggestions account for oversized layers and aligned layer position semantics.
  • Add quickthumb lint --format json with summary counts and structured diagnostics.
  • Document the structured diagnostic fields and JSON lint payload.
  • Cover structured diagnostics, JSON lint output, invalid lint formats, and suggestion edge cases with integration tests.

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