Page MenuHomePhabricator

[web] Display `loadingSpinner` over `EditUserAvatar` when change in progress
ClosedPublic

Authored by atul on Jun 20 2023, 10:49 AM.
Tags
None
Referenced Files
F2108635: D8261.id28007.diff
Tue, Jun 25, 1:42 PM
F2105276: D8261.id28009.diff
Tue, Jun 25, 6:46 AM
Unknown Object (File)
Fri, Jun 21, 11:57 PM
Unknown Object (File)
Sat, Jun 15, 2:13 PM
Unknown Object (File)
Thu, Jun 13, 3:13 PM
Unknown Object (File)
Thu, Jun 13, 11:53 AM
Unknown Object (File)
May 19 2024, 12:08 AM
Unknown Object (File)
Apr 24 2024, 8:44 AM
Subscribers

Details

Summary

Show a loading spinner over EditUserAvatar when a save is in progress. Pretty straightforward. In next diff I'll quickly "disable" the edit button as well.


Depends on D8260

Test Plan

Looks as expected:

21c58a.png (1×996 px, 92 KB)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul published this revision for review.Jun 20 2023, 10:49 AM
atul edited the test plan for this revision. (Show Details)
atul added inline comments.
web/avatars/edit-user-avatar.react.js
25–28 ↗(On Diff #27905)

Ah, let me pull this out.

pull out loadingSpinner from component

This revision is now accepted and ready to land.Jun 22 2023, 4:41 AM
This revision was landed with ongoing or failed builds.Jun 22 2023, 10:56 AM
This revision was automatically updated to reflect the committed changes.