If you click into a workflow from the workflow list and try to go back to the list by either clicking "back" or pressing delete/backspace in your browser, you must execute that "back" action 3 times to actually get back.
This is probably because sometimes (for reasons?) we call updateSearchParams a few times while loading a complex page with many possible param, but many of the updates are no-ops!
If we compare, and return early, hopefully this won't happen anymore.
Version v2.16.6 (1.5.86)
Video of bug
https://www.loom.com/share/9c45aa33db714c4daa982417e1cba6e7
Video of fix with diff above applied
https://www.loom.com/share/17f8c56f0d8d41a58fc71df6960e2732
If you click into a workflow from the workflow list and try to go back to the list by either clicking "back" or pressing delete/backspace in your browser, you must execute that "back" action 3 times to actually get back.
This is probably because sometimes (for reasons?) we call
updateSearchParamsa few times while loading a complex page with many possible param, but many of the updates are no-ops!If we compare, and return early, hopefully this won't happen anymore.
Version
v2.16.6 (1.5.86)Video of bug
https://www.loom.com/share/9c45aa33db714c4daa982417e1cba6e7
Video of fix with diff above applied
https://www.loom.com/share/17f8c56f0d8d41a58fc71df6960e2732