We should close the modal only after successful update. We can consider keeping the modal open and closing the tags, but we definitely must not close the modal before the response is received.
Depends on D4314
Differential D4315
[web] Handle relationship update errors tomek on Jun 21 2022, 10:38 AM. Authored by Tags None Referenced Files
Details
We should close the modal only after successful update. We can consider keeping the modal open and closing the tags, but we definitely must not close the modal before the response is received. Depends on D4314 Modify relationship responder so that every second request succeeds. Select a user and click confirm button - the modal should remain open and the button should be disabled until the response is received. After the response, click the button again - the modal should get closed and the user should appear on friends list.
Diff Detail
Event TimelineComment Actions (Reading through action-utils right now to better understand what's going on with dispatchActionPromise(...) and co ... adding @ashoat as a reviewer in the meanwhile if he gets to it first + it's probably good to get a second pair of eyes on it) Comment Actions Looks good!
|