Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The 'I'll take care of it' discussion button desyncs if 45 minutes have passed #1626

Open
felipecalvo opened this issue Jun 10, 2021 · 0 comments

Comments

@felipecalvo
Copy link
Contributor

felipecalvo commented Jun 10, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant