Pipelines table: Stop polling when user interacts with the table
When the user clicks on an action (stop or retry) it often happens that after the request is receive we still show the previous state in the action buttons.
The reason for this is we are not stoping the poll function when the user clicks, and we update the table with the request made before.
Solution:
If we stop poling when the user clicks the action or compare the received result with the last request made we would avoid this state.
With Vuex we can now manage this state in 1 place, without passing events up and tons of props down. But we can also do it without vuex tho.
If we would follow this pattern: https://redux.js.org/advanced/example-reddit-api state management in this app would be a lot easier to handle and we'd have a better UX.