Show active IMAP imports in mailbox rows #294

Closed
opened 2026-12-04 03:14:39 +01:00 by parkel · 0 comments
Owner

Problem

The Email Accounts list keeps showing Import mail while an IMAP copy is already running. The link opens the existing progress view, but its label and the mailbox's normal Configured status do not tell users that an import is active.

Expected result

  • Show a compact Import in progress status on the affected mailbox row, separate from the mailbox's provisioning state. Treat queued work, continuation between batches, and automatic retries as active. Do not display unrelated mailboxes as importing.
  • While an import is active, replace Import mail with View import progress, linking to the existing details and statistics. Opening the link must not start a new job. Do not ask for credentials to view progress.
  • Use the existing live status pattern where practical so the row can reflect changes without a manual page refresh. Once the job finishes, stop showing an active badge and retain a clear route to the result or resume workflow.
  • Start with Email Accounts and keep other mailbox lists that expose the same import action consistent. Reuse shared compact status and action components, and update the panel design guidelines with the inline background-job pattern if it is generalized. Keep existing mailbox and import permissions.

Verification

Check mailboxes with no import, a queued or running import, an import waiting between batches, a retry, and a completed or failed import. Verify the affected row links to the right job, no duplicate job is created, and the status and action remain readable on mobile and desktop. Related work: #258 (IMAP import) and #286 (preflight).

## Problem The **Email Accounts** list keeps showing **Import mail** while an IMAP copy is already running. The link opens the existing progress view, but its label and the mailbox's normal **Configured** status do not tell users that an import is active. ## Expected result - Show a compact **Import in progress** status on the affected mailbox row, separate from the mailbox's provisioning state. Treat queued work, continuation between batches, and automatic retries as active. Do not display unrelated mailboxes as importing. - While an import is active, replace **Import mail** with **View import progress**, linking to the existing details and statistics. Opening the link must not start a new job. Do not ask for credentials to view progress. - Use the existing live status pattern where practical so the row can reflect changes without a manual page refresh. Once the job finishes, stop showing an active badge and retain a clear route to the result or resume workflow. - Start with **Email Accounts** and keep other mailbox lists that expose the same import action consistent. Reuse shared compact status and action components, and update the panel design guidelines with the inline background-job pattern if it is generalized. Keep existing mailbox and import permissions. ## Verification Check mailboxes with no import, a queued or running import, an import waiting between batches, a retry, and a completed or failed import. Verify the affected row links to the right job, no duplicate job is created, and the status and action remain readable on mobile and desktop. Related work: #258 (IMAP import) and #286 (preflight).
parkel added the
kind
feature
area/panelarea/mail
labels 2026-12-04 03:14:39 +01:00
parkel added this to the v1.7.0 - Panel design and usability milestone 2026-12-04 03:26:31 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hippogrief/coulobre#294