Page MenuHomePhabricator

[web] Style and disable "Save Avatar" button when `userAvatarSaveInProgress`
ClosedPublic

Authored by atul on Jun 21 2023, 12:52 PM.
Tags
None
Referenced Files
F3409226: D8279.id27977.diff
Wed, Dec 4, 3:20 PM
F3409176: D8279.id28092.diff
Wed, Dec 4, 3:11 PM
F3409067: D8279.id27979.diff
Wed, Dec 4, 2:51 PM
F3407563: D8279.diff
Wed, Dec 4, 6:43 AM
Unknown Object (File)
Thu, Nov 28, 9:25 AM
Unknown Object (File)
Sat, Nov 23, 1:47 PM
Unknown Object (File)
Sat, Nov 23, 1:11 PM
Unknown Object (File)
Sat, Nov 23, 1:11 PM
Subscribers

Details

Summary
  1. Show spinner when save avatar request is in progress.
  2. Disable button when save avatar request is in progress.
  3. Sneak in disable button change for CommunityCreationModal

Depends on D8278

Test Plan

Works as expected:

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

web/sidebar/community-creation/community-creation-modal.react.js
196 ↗(On Diff #27977)

Sorry snuck this quick change in here to keep things symmetrical

atul published this revision for review.Jun 21 2023, 12:57 PM
web/avatars/emoji-avatar-selection-modal.react.js
106–107 ↗(On Diff #27977)

The video looks good, just wondering if saveButtonContent meant to be inside of the div?

web/avatars/emoji-avatar-selection-modal.react.js
106–107 ↗(On Diff #27977)

Yeah, fixed this in next diff. I'll rebase and fix it here instead

This revision is now accepted and ready to land.Jun 22 2023, 7:25 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.