On SO when helping with a question, if you were working on an answer when the question was closed by others, an orange banner would appear at the top of the browser window telling you the question was closed and is no longer accepting answers. This prevented the continued waste of time working on an answer for a question that was closed by others.
This is no longer happening. You do not receive an indication that a question was closed until you attempt to submit an answer and find the answer button non-responsive or otherwise do something to cause the page to reload. (especially if there is already an answer that prevents you from seeing the question) This seems like a counterpart question to why the timestamp in user comments no longer updates updates unless a page is reloaded. I don't know exactly when it stopped being presented, but I don't recall seeing one since the dark mode beta came out (related?) It may have been since then I cannot be totally sure.
It would be nice to get the functional banner back as it did save a great deal of wasted effort. I don't know if this change was intentional or a bug, but it isn't working anymore. I was working on a CS50 answer yesterday data argument not used by format string for cs50 [closed] and after 20 minutes of work on an answer explaining the differences between field-width and precision using the "%s"
specifier, I found the question closed when I went to submit. No banner was displayed even though the question had been closed 10 minutes earlier. If it was intentionally deleted -- can we get it back?
/posts/{id}/editor-heartbeat/answer
(which is the POST which gets the response that produces the user visible notification; there should be a call to this endpoint every 45 seconds), but was making the scheduled POST calls to/posts/validate-body
. My other attempts appeared to function normally.editor-heartbeat/answer
endpoint stopped being called and did not resume being called if editing was resumed some time later (calling thevalidate-body
endpoint was resumed). So, the problem you're experiencing could also happen after you started answering, then paused for some time, and resumed again. Overall, it appears that this notification should be based on the WebSocket (which does indicate question closure), either in addition to or instead of the call to theeditor-heartbeat/answer
endpoint.