Skip to content

Add a Cancel button while ingesting #7

Done

Description

@francescobianco

IngestionManager.cancel() exists in the core, but the UI has no way to call it.

Where to look: gknowledge/ui/window.py, _build_sources_pane() and _on_ingest().

Done when: a Cancel button appears next to the progress bar during ingestion, stops after the current source, and the queue can be resumed later.


New here? Run make start to open a demo project that restarts on every save, and make test for the core tests. See CONTRIBUTING.md. Comment below to claim the issue.

Activity

  1. added
    good first issue
    area: ui
    and removed on Oct 13, 2026
  2. jonxsong commented on Nov 30, 2026

    @jonxsong
    Contributor

    Hey @francescobianco, I'd like to take this one. I've prepared a small GTK change that puts Cancel beside the progress bar and uses the existing cancellation behavior. I verified on Ubuntu and GNOME 51 Flatpak that the active source finishes, the rest stay queued, and ingestion can resume.

  3. francescobianco commented on Dec 4, 2026

    @francescobianco
    MemberAuthor

    Thanks a lot @jonxsong for taking this on, and sorry for the slow reply here! 🙏 The issue is yours. I've reviewed your PR #64: Cancel beside the progress bar, reusing the existing cancellation, is exactly what I had in mind, and the "Stopping…" state is a nice touch. It will be merged right after #63 once CI is green.

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

    area: uigood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions