MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Uploading items to wall  (MonoX Roadmap )

Viewed 33902 time(s), 4 post(s) 11/12/2012 8:04:30 PMby GeorgeBirbilis13

Related topics

GeorgeBirbilis13

GeorgeBirbilis13

11/12/2012 8:04:30 PM
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)
This content has not been rated yet. 
211 Reputation 26 Total posts
GeorgeBirbilis13

GeorgeBirbilis13

11/12/2012 8:08:38 PM
regarding [1] and the page closing event, I think Mozilla won't fire it at all if you close the whole browser window
This content has not been rated yet. 
211 Reputation 26 Total posts
GeorgeBirbilis13

GeorgeBirbilis13

11/12/2012 8:10:16 PM
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
This content has not been rated yet. 
211 Reputation 26 Total posts
khorvat

khorvat

11/13/2012 8:39:02 AM
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
This content has not been rated yet. 
15993 Reputation 2214 Total posts