Closed Bug 602911 Opened 14 years ago Closed 14 years ago

[Step 2] Cook up the Upload page

Categories

(addons.mozilla.org Graveyard :: Developer Pages, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED
5.12.4

People

(Reporter: clouserw, Assigned: potch)

References

Details

Current URL: https://addons.mozilla.org/en-US/developers/addon/submit (3 steps in...) New URL: https://addons.mozilla.org/en-US/developers/addon/submit/2 (we're making unique URLs now) Mockup: http://people.mozilla.com/~chowse/drop/amo/devtools/v2/Submit_02_Upload.png Step 2 in this seedy tale involves uploading files. This'll need some front end and back end work, so work together as appropriate. Some notes while it's on my brain: Backend: - We've gotta accept a file and fire off a celery task that will validate it (I think all this code exists, jbalogh/dd know) Frontend: - We have an upload progress throbber. Info on doing that is at https://developer.mozilla.org/En/Using_XMLHttpRequest#Monitoring_progress (and there are some examples online too). - "Validation in progress" has a cancel button in the mockup, but it shouldn't - The validation throbber should be hitting /upload/:hash to figure out the status (see dependent bug) - The mockup doesn't mention validation warnings - it's possible to have warnings, but that doesn't prevent an author from continuing - If validation passes, the "continue" button is activated - The mockup should include "Android" and "Maemo" platforms as well. It will once bug 506282 is done. CCing fligtar for copy
Depends on: 602910
See Also: → 602916
It's like a rabbit hole! Apparently we're boycotting spinners now in favor of bar charts. The above mockups are still appropriate, but the parts defined in this interaction mockup overrule the equivalent parts from them: http://people.mozilla.com/~chowse/drop/amo/devtools/v3/interaction/addon_upload.png
This should use the same backend code for handling uploads as bug 599042
Assignee: nobody → thepotch
intro copy: Use the fields below to upload your add-on package and select any platform restrictions. After upload, a series of automated validation tests will be run on your file. platform copy: If you have additional platform-specific files to upload, you may do so at the end of this initial submission process. Please list XPI, JAR, and XML files as .xpi, .jar, and .xml.
Blocks: 540863
Blocks: 553523
Blocks: 509211
Blocks: 570563
Target Milestone: 5.12.2 → 5.12.3
Also, you'll need to do a amo.LOG.CREATE_ADDON event.
(In reply to comment #6) > cc: dd@mozilla.comAlso, you'll need to do a amo.LOG.CREATE_ADDON event. Is this true? or do we need to wait until the entire upload process is complete?
Hrm, yes, you are correct we do need to wait...
This is like the new version page (bug 606280) but with a new add-on on top. I will return it to the loving care of potch when the backend works.
Assignee: thepotch → jbalogh
Whiteboard: [devtools][Q32010][qa-] → [devtools][Q32010][qa-][11/15 transfer to potch]
Target Milestone: 5.12.3 → 5.12.4
I saw that potch has most of the page markup going already, so the parts left for me are passing the platform through and setting up the submission steps. We can work together on the platforms once he has the page going and steps are bug 610546.
Assignee: jbalogh → thepotch
Whiteboard: [devtools][Q32010][qa-][11/15 transfer to potch]
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.