NERSC / jupyterlab-slurm

BSD 3-Clause "New" or "Revised" License
92 stars 22 forks source link

More responsive rows on action request #15

Closed JonjonHays closed 5 years ago

JonjonHays commented 5 years ago

As of now, after a user requests an action, nothing happens until the action completes and the success/error message is displayed. The time this takes varies enormously; the response could appear instantaneously, or it could take several seconds in more extreme cases. Either way, it is not uncommon for response time to be greater than 2 seconds. For this reason, it is imperative that the user receives some instantaneous acknowledgment that the requested action on their job is being processed. This will include immediately de-selecting the row, making the row non-selectable, changing the rows appearance, and possibly displaying some sort of animated indicator that the job is still processing (spinner). After the job has completed, we restore the rows image, and make it restorable once again (or it disappears if it was successfully killed).

JonjonHays commented 5 years ago

This has mostly been implemented; everything mentioned here except for some sort of indication that a job submission is pending has been put in place.

krinsman commented 5 years ago

OK, I made the indication of job submission a separate issue: https://github.com/NERSC/jupyterlab-slurm/issues/31