twenty
twenty copied to clipboard
Concurrency issue when updating view filters
Not sure if it's something we want to solve, but just logging it to discuss it quickly. The way we update view filter is not idempotent ; if we click twice quickly it generates an error.
### Tasks
Il we click twice on what?
@Bonapara On "update view" (in my case, as can be seen in screenshot it's "deleteViewFilter" in particular that caused the issue)
On my side, the filter appears multiple times on the filter bar when I click on "update view" even once. Do you think it's related @FelixMalfait?
Switch to createMany, updateMany, deleteMany
We could probably add a debounce on the "update view" button as a first step / good enough quickfix
Tested today. Issue is still there.
@FelixMalfait solved in v0.3.3!