MonoX Roadmap Uploading items to wall 

Viewed 36366 time(s), 4 post(s), 11/12/2012 8:04:30 PM - by GeorgeBirbilis13
11/12/2012 8:04:30 PM
211 Reputation 26 Total posts

1) On the wall when you use Upload it is used as an attachment to your post - so if you upload and then just go to other page without posting a message, the image is not posted on the wall and you then may wonder why it didn't. My suggestion is to have a closing event handler for the page that shows a warning message (see what facebook shows) only if the post has attachments or has a non-zero length (some text is entered in the post textarea)

don't remember if the event handler for page closing is supported (or supported in exact the same semantics) by all browser btw, but it's nice to have

2) Also, it seems that when user uploads an image to such a post it immediately appears in the activity stream. If they delete the post attachment it also gets removed from the activity stream. Then if they decide to not post or accidentally don't post (see [1] above) by going to other page, the image remains at the activity stream. So its two issues for [2]:
2a) the image attached to the post should only appear in the activity stream AFTER the post has been sent (user may have uploaded some sensitive image by accident and decided to remove it or not post at all, but in the mean time someone may have seen the image from the activity stream without the user expecting it may have happened)
2b) if user doesn't post the message the image shouldn't stay in the activity stream (solving [2a] will solve this too)

1
11/12/2012 8:08:38 PM
211 Reputation 26 Total posts

regarding [1] and the page closing event, I think Mozilla won't fire it at all if you close the whole browser window

2
11/12/2012 8:10:16 PM
211 Reputation 26 Total posts

and of course if you use page postbacks you have to make sure it distinguishes from closing/leaving the page. Maybe ASP.net is clever enough to check it if it has such event handlers for the Page

3
11/13/2012 8:39:02 AM
15993 Reputation 2214 Total posts

I see your point, we will see what can we do about it. I'll update the post as soon as we fix or add something.

Thanks

4
This is a demo site for MonoX. Please visit Mono Software for more info.