Skip to content

Improve batch result report and error summary UX #24

@saidutt46

Description

@saidutt46

Summary

The batch mode output (especially with --all checking 1,300+ TLDs) can produce very long, hard-to-scan result lists. The current output is functional but could benefit from better organization and visual hierarchy.

Current Behavior

When running large checks like domain-check mybrand --all --pretty --batch, the output can show hundreds of domains in flat lists under Available/Taken/Unknown sections, with a compact error summary at the bottom:

── Unknown (434) ──────────────────────────────────────
    mybrand.aaa                   (error)
    mybrand.abc                   (network error)
    ... (434 lines)

1201 domains in 4.9s  |  720 available  |  2 taken  |  479 unknown

  Some domains could not be checked:
  • 196 network errors: mybrand.circle, mybrand.loan, ...
  • 283 other errors: mybrand.chintai, mybrand.lgbt, ...

Desired Improvements

  • Collapsible/paginated sections — for sections with many entries, show first N with a "... and X more" summary
  • Error categorization in grouped output — group unknowns by error type (network, timeout, unknown TLD) instead of a flat list
  • Summary-first layout — show the summary bar at the top for quick scan, then details below
  • Available-domain focus — for large scans, consider showing only available domains by default (like tldx's --only-available)
  • TLD grouping — group results by TLD category or alphabetically by TLD for better scanning
  • Column alignment — ensure domain names and status align cleanly even with very long domain names

Context

With universal TLD coverage (1,300+ TLDs via IANA bootstrap), --all mode now produces much larger result sets than the original 32 TLDs. The display logic needs to scale better for these larger outputs.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions