twenty icon indicating copy to clipboard operation
twenty copied to clipboard

View is not always updated after performing actions in the serverless function and workflow pages

Open Devessier opened this issue 1 year ago • 1 comments

Bug Description

There are some out-of-sync problems in the front end. The problems don't happen every time, but there might be a race condition that we should solve to improve the app's consistency.

Here, the name of the function is empty:

https://github.com/user-attachments/assets/b6c4fea7-6c62-47eb-a95a-bbf8f14271ef

I can't delete a serverless function. After writing the function's name, I always get an error response.

https://github.com/user-attachments/assets/afca1730-b221-4b66-ac25-d67004414115

⚠️ I think it might be better to reset the state of the modal when it closes. If I filled out the function's name and closed the modal, the name would still be there when I reopened the modal.

⚠️ I think the workflow section also has these kinds of unstability. It's probably due to the low-level functions we depend on to make queries and mutations. We'll have to dive in.

We should dive deeper into this part to understand why it's sometimes unstable.

Devessier avatar Sep 27 '24 09:09 Devessier

I fixed the problem on the workflow pages in https://github.com/twentyhq/twenty/issues/7523. We should still investigate the problems on the serverless functions part.

Devessier avatar Oct 14 '24 10:10 Devessier