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, Dec 17, 1:10 AM
Unknown Object (File)
Tue, Dec 17, 1:10 AM
Unknown Object (File)
Tue, Dec 17, 1:10 AM
Unknown Object (File)
Tue, Dec 17, 1:10 AM
Unknown Object (File)
Tue, Dec 17, 1:08 AM
Unknown Object (File)
Nov 23 2024, 1:00 PM
Unknown Object (File)
Nov 16 2024, 11:01 AM
Unknown Object (File)
Nov 16 2024, 11:00 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
Branch
arcpatch-D8802 (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

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.