Closed williamstein closed 2 months ago
The colored stop button doesn't exist anymore... however, the exact same issue I'm complaining about here happens with the cpu indicator:
That said, this is low priority. In any case:
import time
time.sleep(10000)
The cpu indicator goes green, then yellow, then red. Split the frame -- boom indicator is back to green. That's just dumb. If nothing else, use state in the store rather than the component to easily fix this.
Removing the easy label -- this is difficult because the jupyter usage info isn't implemented in development mode, which makes doing development related to this functionality much more painful.
We should not add new functionality to cocalc that doesn't work in dev mode, unless there is a really good reason.
I'm just closing this.
This is obviously caused by just doing something simple with state in react at the level of the button. It's definitely a bug though, to do this. This is a serious bug, because it sends the message to the user: "Your running computation just got reset!" which is NOT what happened, and is potentially really disturbing.
(There is a basically identical state bug with the "ChatGPT is responding" progress bar.)