WordPress.org

Make WordPress Core

Opened 19 months ago

Closed 17 months ago

Last modified 17 months ago

#22083 closed enhancement (fixed)

Improve the media-new.php screen

Reported by: ocean90 Owned by: helenyhou
Milestone: 3.5 Priority: high
Severity: normal Version: 3.5
Component: Media Keywords: ui-feedback ux-feedback needs-patch
Focuses: Cc:

Description

With #21391 we have the new screen for attachment edits.

nacin:

media-new.php shows the old form. (Keep in mind it allows for multiple uploads at once.) What should this workflow be? I don't know yet.

(ticket:21391#comment:37)

So ideas are welcome. How can we improve it?

See also http://wordpress.org/support/topic/suggestion-for-media-add-new-screen-upload?replies=1

Attachments (1)

22083.diff (471 bytes) - added by helenyhou 17 months ago.

Download all attachments as: .zip

Change History (14)

comment:1 follow-up: helenyhou18 months ago

Tempted to say change the "show" link to "edit" and just link to the new edit screen, even though that removes the convenience of uploading and editing the details of a batch at once.

comment:2 in reply to: ↑ 1 nacin18 months ago

Replying to helenyhou:

Tempted to say change the "show" link to "edit" and just link to the new edit screen, even though that removes the convenience of uploading and editing the details of a batch at once.

Let's do it.

comment:3 nacin18 months ago

  • Priority changed from normal to high

comment:4 nacin17 months ago

  • Owner set to helenyhou
  • Status changed from new to assigned

comment:5 DrewAPicture17 months ago

The show/hide links only show if you upload multiple files. So is it possible to detect if you've only uploaded a single file, and if so, redirect to the edit UI for that item?

comment:6 DrewAPicture17 months ago

What I tried to say in comment:5 was, when you upload a single file, the show/hide box is already expanded, correct? And if you upload multiple files you get a list of collapsed items. If we change 'Show' to an edit link, we also need to account for what happens when single items are uploaded. Do we just leave it collapsed and replace 'Show' with 'Edit'? Or perhaps redirect them directly to the edit screen?

comment:7 JerrySarcastic17 months ago

  • Cc fittingsites@… added

comment:8 nacin17 months ago

In 22751:

Split media-new.php and media-upload.php into distinct files.

  • media-new.php will remain the entry point for uploading isolated files, and for using the browser-based uploader (versus Plupload).
  • media-upload.php is the legacy (pre-3.5) media uploader.

see #22083.

comment:9 nacin17 months ago

In 22752:

Remove cruft from media-new.php. No need to keep extra parameters around (including post ID, which is always 0 here). see #22083.

comment:10 nacin17 months ago

In 22755:

Have media-new.php return simple rows of basic attachment data, with an 'Edit' link next to each taking them to post.php (in a new window). Not ideal, but this is largely a fallback screen at this point.

This is bolted on to existing code, the vast majority of which is destined to be ripped out in 3.6 once things settle.

see #22083.

helenyhou17 months ago

comment:11 nacin17 months ago

In 22759:

Revert accidental changes to admin/includes/media.php in [22755]. see #22083.

comment:12 nacin17 months ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 22764:

media-new.php: Remove unused scripts, strings, error handling, save handling, and save button. fixes #22083.

comment:13 nacin17 months ago

In 22777:

Redirect post-new.php?post_type=attachment to media-new.php. see #22491, #22083, #21391.

Note: See TracTickets for help on using tickets.