Skip to content

Web UI: live scan progress via the existing /api/scan/events SSE endpoint #152

Done

Description

@falbany

Idea

The server already streams scan status every second over SSE (GET /api/scan/events, routes/scan.py:175-194 — {in_progress, count, directory}), but no client consumes it (it's currently flagged as dead surface in #143). Instead of removing it, wire it up: big scans on network shares currently show only a spinner.

Suggested implementation

  • A small useScanProgress() hook: one EventSource("/api/scan/events"), opened while a scan is in flight, closed when in_progress flips false.
  • Feed live "N files so far" into the existing ScanStatusStrip (currently a static label in ActionBar.tsx:79).
  • No server changes needed.

Nice synergy: either this issue or #143's "remove it" resolves the dead-endpoint finding — implementing this one turns dead code into a feature.

Activity

  1. added
    enhancement
    frontend
    on Nov 5, 2026
  2. added this to the v1.0.0 milestone on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementfrontend

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions