Page MenuHomePhabricator

[web] Remove `LoadingIndicator` from `EditUserAvatar`
ClosedPublic

Authored by atul on Jun 21 2023, 3:39 PM.
Tags
None
Referenced Files
F3529958: D8286.diff
Tue, Dec 24, 10:31 PM
Unknown Object (File)
Sat, Dec 14, 2:25 AM
Unknown Object (File)
Nov 23 2024, 1:52 PM
Unknown Object (File)
Nov 23 2024, 1:12 PM
Unknown Object (File)
Nov 23 2024, 1:12 PM
Unknown Object (File)
Nov 23 2024, 1:11 PM
Unknown Object (File)
Nov 23 2024, 1:11 PM
Unknown Object (File)
Nov 9 2024, 5:43 PM
Subscribers

Details

Summary

In D8285 we introduced a showSpinner prop to the Avatar component. In this diff we remove the LoadingIndicator from EditUserAvatar component and instead pass showSpinner down to Avatar to take advantage of that.

This deduplicates redundant spinner code. Now that we have a "toggleable" spinner in Avatar, components derived from it can use that spinner "for free."


Depends on D8285

Test Plan

Things continue to look as expected:

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul published this revision for review.Jun 21 2023, 3:40 PM
atul edited the test plan for this revision. (Show Details)
atul edited the summary of this revision. (Show Details)
atul edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Jun 22 2023, 6:29 AM
This revision was landed with ongoing or failed builds.Jun 23 2023, 2:07 PM
This revision was automatically updated to reflect the committed changes.