Skip to content

Client Side Media: Show upload progress (take 2) #77241

@adamsilverstein

Description

@adamsilverstein

What problem does this address?

When uploading an image or a group of images in the editor, there is currently no clear, centralized indication of overall upload progress. Users can see individual spinners on block placeholders, but there is no single place that summarizes how many uploads are in flight, how many have completed, or which file is currently being processed.

The Media Library already solves this nicely with a compact "Uploading" panel that shows a progress bar, a count (e.g. 6 / 10), and the name of the file currently being uploaded. We should bring a similar lightweight indicator into the editor's post panel area so users get feedback on client-side media uploads without leaving the editor.

Proposed solution

Add a small, unobtrusive upload progress indicator to the post (sidebar) panel that appears while one or more image uploads are in progress and disappears when the queue is empty.

The indicator should include:

  • An UPLOADING label
  • A single progress bar reflecting approximate overall progress across the current batch
  • A count of completed vs. total uploads (e.g. 6 / 10)
  • Optionally, the filename of the currently processing image

Keep it minimal — no per-file list, no detailed stages. Just enough information for the user to know that uploads are happening and roughly how far along they are.

Reference

The Media Library already displays this pattern in its sidebar while uploads are in progress:

  • UPLOADING heading
  • Progress bar
  • 6 / 10 — IMG_0425.jpg

We should mirror that visual language in the post panel for consistency.

Post panel screenshot

Image

Media Library screenshot

Image

Acceptance Criteria

  • A progress indicator appears in the post panel while media uploads are in progress (if the panel is open)
  • The indicator shows a progress bar reflecting approximate overall progress
  • The indicator shows a high level completed / total count (e.g. 6 / 10) when uploading a batch of images
  • The indicator is hidden when no uploads are in progress
  • The UI is accessible (appropriate ARIA roles/labels, and ideally an wp.a11y.speak announcement on start/completion)
  • Works with both single and batch uploads
  • Visual style is consistent with existing Gutenberg elements and the remainder of the post panel

Related

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

Status

📋 Iteration/Tracking Issues

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions