Page MenuHomePhabricator

[web] Introduce barebones `EditThreadAvatar` component
ClosedPublic

Authored by atul on Aug 14 2023, 1:49 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 12, 2:29 PM
Unknown Object (File)
Tue, Nov 12, 2:29 PM
Unknown Object (File)
Tue, Nov 12, 12:04 PM
Unknown Object (File)
Tue, Nov 12, 11:59 AM
Unknown Object (File)
Tue, Nov 12, 10:00 AM
Unknown Object (File)
Oct 10 2024, 9:25 AM
Unknown Object (File)
Oct 10 2024, 9:25 AM
Unknown Object (File)
Oct 10 2024, 9:25 AM
Subscribers

Details

Summary

Introduce barebones EditThreadAvatar component. For now just shows spinner if threadAvatarSaveInProgress.

EditThreadAvatarMenu will be introduced in next diff.

Depends on D8801

Test Plan

Appears as expected in ThreadSettingsGeneralTab when editingAvatarsOnWebEnabled is true.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul published this revision for review.Aug 14 2023, 1:50 AM

code looks good, but could we also get a screenshot of what ThreadSettingsGeneralTab looks like with editingAvatarsOnWebEnabled set to true

This revision is now accepted and ready to land.Aug 14 2023, 7:48 PM
In D8802#259870, @ginsu wrote:

code looks good, but could we also get a screenshot of what ThreadSettingsGeneralTab looks like with editingAvatarsOnWebEnabled set to true

4cc7d1.png (1×856 px, 109 KB)

It's just placed at the top for now. Layout/styling will be handled in subsequent diff.