uujgii / web-to-print-scripts

Automatically exported from code.google.com/p/web-to-print-scripts
0 stars 0 forks source link

Queue image uploading on preview page #31

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
All images are uploaded at once at the moment. We need to queue them as we
do on My Images page.
No need for a centralized list. Just show the status of each image:

Uploading ...
Queued ...

Add Cancel button to stop uploading the image.

Once an image started uploading it should not be possible to select another
image for the same image field without canceling the current one.

Rename UPLOAD button to SELECT FILE. Hide the button when an image starts
uploading so there is no temptation to click on it.

Original issue reported on code.google.com by zetapri...@gmail.com on 12 May 2010 at 9:52

GoogleCodeExporter commented 9 years ago
Issue 22 has been merged into this issue.

Original comment by zetapri...@gmail.com on 12 May 2010 at 9:52

GoogleCodeExporter commented 9 years ago

Original comment by zetapri...@gmail.com on 12 May 2010 at 9:53

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by zetapri...@gmail.com on 13 May 2010 at 10:47

GoogleCodeExporter commented 9 years ago

Original comment by zetapri...@gmail.com on 13 May 2010 at 10:47

GoogleCodeExporter commented 9 years ago

Original comment by k.safro...@gmail.com on 14 May 2010 at 8:34

GoogleCodeExporter commented 9 years ago
We need to style the cancel button (design?).
I gave it a quick test. Worked fine. I'm loving it.
It needs a good bashing in different browsers.

Original comment by zetapri...@gmail.com on 14 May 2010 at 10:47

GoogleCodeExporter commented 9 years ago
Tested it in FF, IE, Chrome and Safari

In FireFox and MSIE images are queued (image_queued.png)

Google Chrome and Apple Safari have problems, they don't recognize image files 
as
images and pop up an err (chrome_err.png). I tried it with JPG and PNG images.

Cancel button preview and stripes are attached (cancel_button_preview.png and
cancel_img_btn_stripes.png)

Original comment by agur...@gmail.com on 14 May 2010 at 2:04

Attachments:

GoogleCodeExporter commented 9 years ago
Chrome and Safari fixed.

Original comment by k.safro...@gmail.com on 17 May 2010 at 6:16

GoogleCodeExporter commented 9 years ago
Styling moved out from JS to skin. Only G-skin for now. I used existing button 
stripes. 

Original comment by k.safro...@gmail.com on 17 May 2010 at 6:55

GoogleCodeExporter commented 9 years ago
The way styles are done needs to be documented in a wiki.

Original comment by zetapri...@gmail.com on 17 May 2010 at 7:47

GoogleCodeExporter commented 9 years ago
Chrome/Safari bug is fixed.
Cancel button is stylized.

Original comment by agur...@gmail.com on 17 May 2010 at 10:41

GoogleCodeExporter commented 9 years ago
Update preview button must be disabled while images are uploading.

Original comment by zetapri...@gmail.com on 17 May 2010 at 11:16

GoogleCodeExporter commented 9 years ago
All submit buttons are disabled while images are uploading

Original comment by k.safro...@gmail.com on 17 May 2010 at 11:58

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Tested it in FF, IE and Chrome here:
http://realestate.zetaprints.com/?page=template;TemplateID=B3FA83FD-EEFE-4B1F-9F
FD-AF46DCE4E269
Submit button is disabled.

Seems like IE has problems with this latest script. I get this 
(ie_script_err.png)
message when I set a few image files for uploading. Shows up (not every time) 
mostly
after a image from the queue has finished uploading. Maybe it has smth to do 
with the
submit button disabled? Only IE shows the button grayed out, it is disabled in 
all
browsers, but only IE shows it as not available (submit_btn.png).

Original comment by agur...@gmail.com on 17 May 2010 at 5:54

Attachments:

GoogleCodeExporter commented 9 years ago
Tested on MSIE 7,8 with bigger and smaller files with no luck to replicate the 
error. 
Could you please provide more details how to reproduce the error.

It's totally up to browser, how to show disabled button.

Original comment by k.safro...@gmail.com on 19 May 2010 at 7:16

GoogleCodeExporter commented 9 years ago
I just tried it again and got the same err. Here's what I did.

Login to realestate in IE (I logged in as printer, using IE8) and go to this 
template:
http://realestate.zetaprints.com/?page=template;TemplateID=B3FA83FD-EEFE-4B1F-9F
FD-AF46DCE4E269
The template has a bunch of image fields, you only need 3 images for this. 
Chose a
semi-large image for the first field, just so that it doesn't upload fast and 
you
have time to queue 2 more images for the fields under it. Chose images for the 
2nd
and 3rd image field so that they show up as "waiting" while the first image is
"Uploading". You should see the script err message at some point while the 
queue is
working. I get it as soon as the first image is uploaded and the status of the 
second
one changes to "Uploading". Wait it out, let the entire queue go through and 
see if
you get the script msg.

From what I can tell, the cause of the err is the scroll. Right after I click NO
(script_err.png), "My images" scroll gets the new image added.

Original comment by agur...@gmail.com on 19 May 2010 at 8:26

Attachments:

GoogleCodeExporter commented 9 years ago
Can this be replicated reliably?

Original comment by zetapri...@gmail.com on 24 May 2010 at 6:48

GoogleCodeExporter commented 9 years ago
Does it every time for me. I just tried it again, same template, same scenario 
as explained in my previous comment. IE throws up the "Stop running this 
script?" err as soon as the first image in the queue finishes uploading.

Original comment by agur...@gmail.com on 15 Jun 2010 at 11:08

GoogleCodeExporter commented 9 years ago
Is this computer slow on it's own?

Original comment by zetapri...@gmail.com on 15 Jun 2010 at 7:53

GoogleCodeExporter commented 9 years ago

Original comment by zetapri...@gmail.com on 16 Jun 2010 at 3:02

GoogleCodeExporter commented 9 years ago

Original comment by zetapri...@gmail.com on 9 Jul 2010 at 9:50

GoogleCodeExporter commented 9 years ago
Tested image queue again. Same template, same browser. Didn't get an err.
Tested it with small and large images.

Seems ok. Was it me or did someone fix/change smth?

Original comment by agur...@gmail.com on 20 Oct 2010 at 12:20