Skip to content

[feat] Chrome extension: queue captures while the backend is unavailable #21

Backlog

Description

@ThePyProgrammer

Problem statement

A local backend may be stopped while the user is browsing, forcing users to return later to capture the item. Lost responses can also leave an import's outcome uncertain.

Proposed solution

Store explicit unsent captures in a visible local queue and let users submit them when the intended backend is available. Add backend idempotency or reconciliation before automatic write retries.

Acceptance criteria

  • Queue only user-requested captures with the identifier, type, target server, and destination library.
  • Distinguish unsent captures, successful imports, and writes with uncertain outcomes.
  • Allow inspection, editing, removal, and explicit submission of queued captures.
  • Isolate queues by server, revalidate destination libraries, and persist across popup/worker/browser restarts.
  • Never blindly replay an uncertain POST: use a persisted idempotency key or reconcile its outcome first.
  • Make automatic submission opt-in only after safe replay or reconciliation is implemented.
  • Test downtime, deleted libraries, server switching, restart recovery, and disconnect-after-commit.

Alternatives considered

A manual queue for unsent captures can ship first. Existing duplicate detection alone is not a replacement for idempotency when retrying a request whose outcome is unknown.

Relevant context

Potential post-v1 enhancement following #16; not a requirement for merging that PR.

Spans extension persistence/UI and backend retry semantics. Long-running import jobs may be useful supporting work, but are not part of the current implementation.

Additional context

Extension capabilities and roadmap.

Activity

  1. added
    enhancement
    on Nov 29, 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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions