Revert optimistic response on 400/500 #7299
Labels
for experienced contributor
scope: front
Issues that are affecting the frontend side only
size: short
type: chore
When we send a request to the server which results in an error, the frontend ignores the error and the optimistic change that was applied remains.
Instead, I believe the default behavior should be to revert the changes that when optimistically applied upon receiving a negative response from the server.
Here's an example that happened on a feature I was working on to add a unicity constraint:
Screen.Recording.2024-09-27.at.17.25.24.mov
The text was updated successfully, but these errors were encountered: