mumuki-laboratory
mumuki-laboratory copied to clipboard
The 'I'll take care of it' discussion button desyncs if 45 minutes have passed
When a moderator clicks on the button, it changes from Yo me ocupo
to Mejor no me ocupo
. However, since there's a time limit (currently set on Domain at 45 minutes), the button will still show Mejor no me ocupo
even if more time has passed. Then, when clicking on Mejor no me ocupo
, it'll show the Te vas a ocupar de esta consulta
toast, because the backend is updated but the view isn't. The button stays desynced untill the page is refreshed.
A possible solution is not allowing any actions if 45 minutes have passed since the page was loaded (this would have to be done on JS). In any case it's probably a good idea since after such amount of time there might be new comments, the discussion could have changed status, someone else might be in charge now anyway, etc.
This is not urgent and probably won't happen very often, but I thought I'd leave it documented.