I just tried to edit a post in stackoverflow and got the following message:
There is a pending suggested edit in the queue, try again in a few minutes.
First of all, I understand the message. However, I don't think the way it is displayed is the most appropriate one. Actually, once I clicked on the "edit" link I got a webpage which ONLY content was the one I mentioned before. I mean, that was the source code of the page... there are not even HTML tags there!
There are many ways to provide this information without making the user hit the back button of the browser. I think some options that wouldn't require to reinvent the wheel are:
- Showing a message similar like the one when you click on "flag"
- Showing a message in a similar way like the one you get when clicking on "link"
To make it a bit clearer, this are the steps I followed and the result I got:
Opened a question
Clicked on edit
Expected result: Being able to edit the post OR having a friendly message explaining why I can not edit the post
Real result: I got redirected to the URL "https://stackoverflow.com/posts/[post_id]/edit" which only contained the text mentioned before. To put it in PHP terms, the webpage displayed the result of an
echoof the message, just that. So, after seeing an almost-white page, the user has to click on the back button of the browser to go back to the question.