Page MenuHomePhabricator

After uploading files, cannot go back or cancel uploads
Closed, DuplicatePublic


Here is my scenario:

  1. I choose many files - all of them are named P39283982.jpg
  2. I upload them (not seeing thumbnails).
  3. I release all rights.
  4. OMG! I just remembered I cannot upload this one! Where is the back button!

At a very least the user should be able to remove the file or cancel the whole process. Currently you are left alone and don't even know where the files are and how to remove them.

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 12:04 AM
bzimport added a project: UploadWizard.
bzimport set Reference to bz32247.
bzimport added a subscriber: Unknown Object (MLST).

neilk wrote:

Good point, we don't have a way to do that now. We should have a way to delete the file on any page, up to the final upload.

The "available" solution is to close the window but yes, this is suboptimal.

drecodeam wrote:

added navigation support to navigate through various steps

Bind click handlers to step titles, to navigate to any step from any step. Click handler in turn invokes the moveToStep('<step name>') with the respective step.

attachment 32247.diff ignored as obsolete

drecodeam wrote:

added .patch file for the previous .diff file

added patch file for the 10256. No changes.


sumanah wrote:

Thanks for the patch, drecodeam. I've added some keywords so people know that your patch awaits review, as you can read about in , and I've given you permissions to add those keywords in the future yourself. :-)

sumanah wrote:

Also, drecodeam, you can request a Git/Gerrit account

and submit your patch as a merge request to get it reviewed faster:


drecodeam wrote:

The patch i submitted earlier has some issues with it, as the navigation works but the step divs are not ready right now for navigation. This patch needs more work, and hence is not suitable right now.

  • Bug 30687 has been marked as a duplicate of this bug. ***
  • Bug 36583 has been marked as a duplicate of this bug. ***

drecodeam, I'm not sure if you're still working on this, but I'm starting to think that it might be better to just add in remove controls on every page until "thanks", serving exactly the same purpose with exactly none of the complications of reverse-navigation. I really can't see a need for moving back to the upload step, since moving *forward* from it would necessarily involve re-uploading the files, which is not a good result. Also, trying to navigate backwards from "thanks" might be complicated, since by that point the files have been fully uploaded and any backwards navigation would involve deleting them from the server and then re-uploading them.

Does anyone have any thoughts on this? Maybe I'm blowing these complications out of proportion?

I have whipped up a quick patch that adds in "remove" functionality at the details step, which is really the only other place that makes sense (excluding the "upload" step which is obvious). It works really well, it's a very minor change, and I'd appreciate review.

Here it is:

  • Bug 34191 has been marked as a duplicate of this bug. ***

[Offtopic] Mark: Can somebody tell me where the keyword "patch-in-gerrit" was discussed (archives URL?) before it was introduced?

About ten minutes ago in MediaWiki-General :)

I had marked a bunch of bugs as patch-need-review, but the description (something like "patch attached, needs review") didn't match what I meant. So Chad added it for me.

Change 9549 had a related patch set uploaded by MarkTraceur:
(bug 32247) Add "remove file" in the details step

(In reply to Gerrit Notification Bot from comment #15)

Change 9549 had a related patch set uploaded by MarkTraceur:

Patch has been awaiting review for nine months...

Open for too long, [ Please rebase your change and upload a new patchset.]

Gilles lowered the priority of this task from High to Medium.Nov 24 2014, 2:18 PM
Gilles subscribed.